add user input
[rtmpclient.git] / app / src / main / java / ai / suanzi / rtmpclient / Ffmpeg.java
index eb3203f..fae8409 100644 (file)
@@ -40,7 +40,7 @@ public class Ffmpeg {
     public native int close();
     public native int process(byte[] data);
     public native int play(Object surface, String fname);
-    public native int push(Object surface);
+    public native int push(Object surface, String url);
     public native int preview(Object surface);
     public native String getPerfectDevice();
     public native int test(int fd);