Revamp API again and start implementing C and Java wrapper shells.

This commit is contained in:
Peter Johnson
2016-08-25 23:13:48 -07:00
parent c25c62e0af
commit aec16a934f
13 changed files with 1720 additions and 273 deletions

View File

@@ -0,0 +1,11 @@
package edu.wpi.cameraserver;
/// A source that represents a MJPEG-over-HTTP (IP) camera.
public class HTTPCamera extends VideoSource {
/// Create a source for a MJPEG-over-HTTP (IP) camera.
/// @param name Source name (arbitrary unique identifier)
/// @param url Camera URL (e.g. "http://10.x.y.11/video/stream.mjpg")
public HTTPCamera(String name, String url) {
super(CameraServerJNI.createHTTPSource(name, url));
}
}