add log.h
[rtmpclient.git] / app / src / main / java / ai / suanzi / rtmpclient / Ffmpeg.java
index f3ec401..da3aed6 100644 (file)
@@ -16,4 +16,9 @@ public class Ffmpeg {
     }
 
     public native String getVersion();
+    public native int init(int width, int height);
+    public native int flush();
+    public native int close();
+    public native int process(byte[] data);
+    public native int play(Object surface, String fname);
 }