Add data accessors for USBCamera and MJPEGServer.

USBCamera: getPath()

MJPEGServer: getListenAddress() and getPort()
This commit is contained in:
Peter Johnson
2016-11-18 17:21:03 -08:00
parent 5eecbfd9bf
commit a05636d9a6
11 changed files with 133 additions and 8 deletions

View File

@@ -127,6 +127,11 @@ public class CameraServerJNI {
public static native int copySource(int source);
public static native void releaseSource(int source);
//
// USBCamera Source Functions
//
public static native String getUSBCameraPath(int source);
//
// OpenCV Source Functions
//
@@ -157,6 +162,12 @@ public class CameraServerJNI {
public static native int copySink(int sink);
public static native void releaseSink(int sink);
//
// MJPEGServer Sink Functions
//
public static native String getMJPEGServerListenAddress(int sink);
public static native int getMJPEGServerPort(int sink);
//
// OpenCV Sink Functions
//