public interface VideoCapturer
Modifier and Type | Interface and Description |
---|---|
static interface |
VideoCapturer.Listener
Interface that allows an implementation of
VideoCapturer to forward events to the
video capturer pipeline. |
Modifier and Type | Method and Description |
---|---|
List<VideoFormat> |
getSupportedFormats()
Returns list of all supported video formats this capturer supports.
|
boolean |
isScreencast()
Indicates whether the capturer is a screen cast.
|
void |
startCapture(VideoFormat captureFormat,
VideoCapturer.Listener capturerListener)
Start capturing frames.
|
void |
stopCapture()
Stop capturing.
|
List<VideoFormat> getSupportedFormats()
boolean isScreencast()
void startCapture(VideoFormat captureFormat, VideoCapturer.Listener capturerListener)
captureFormat
- format to start capturing in.capturerListener
- consumes frames upon availability.void stopCapture()