mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Remove support for multiple channels.
This commit is contained in:
@@ -23,12 +23,4 @@ public class HTTPSink extends VideoSink {
|
||||
public HTTPSink(String name, int port) {
|
||||
this(name, "", port);
|
||||
}
|
||||
|
||||
/// Set what video channel should be served.
|
||||
/// MJPEG-HTTP can only serve a single channel of video.
|
||||
/// By default, channel 0 is served.
|
||||
/// @param channel video channel to serve to clients
|
||||
public void setSourceChannel(int channel) {
|
||||
CameraServerJNI.setSinkSourceChannel(m_handle, channel);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user