stream pushing ok without access permission of /dev/video0
[rtmpclient.git] / app / src / main / java / ai / suanzi / rtmpclient / UVCCamera.java
index 131c938..354cf97 100644 (file)
@@ -5,8 +5,9 @@ import android.util.Log;
 public class UVCCamera {
 
     static {
-        System.loadLibrary("usb1.0");
+        System.loadLibrary("usb100");
         System.loadLibrary("uvc");
+        System.loadLibrary("ffmpeg-jni");
         //System.loadLibrary("UVCCamera");
     }
 
@@ -15,7 +16,7 @@ public class UVCCamera {
         init();
     }
 
-    public native int open();
+    public native int open(int venderId, int prodId, int fd, int busNum, int devNum, String usbFsName);
     public native void init();
 
 }