mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Add data accessors for USBCamera and MJPEGServer.
USBCamera: getPath() MJPEGServer: getListenAddress() and getPort()
This commit is contained in:
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user