◆ FileVideoCapturer()
org.webrtc.FileVideoCapturer.FileVideoCapturer |
( |
String |
inputFile | ) |
throws IOException |
|
inline |
◆ changeCaptureFormat()
void org.webrtc.FileVideoCapturer.changeCaptureFormat |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
framerate |
|
) |
| |
|
inline |
◆ dispose()
void org.webrtc.FileVideoCapturer.dispose |
( |
| ) |
|
|
inline |
◆ initialize()
This function is used to initialize the camera thread, the android application context, and the capture observer. It will be called only once and before any startCapture() request. The camera thread is guaranteed to be valid until dispose() is called. If the VideoCapturer wants to deliver texture frames, it should do this by rendering on the SurfaceTexture in |surfaceTextureHelper|, register itself as a listener, and forward the texture frames to CapturerObserver.onTextureFrameCaptured().
Implements org.webrtc.VideoCapturer.
◆ isScreencast()
boolean org.webrtc.FileVideoCapturer.isScreencast |
( |
| ) |
|
|
inline |
◆ nativeI420ToNV21()
static native void org.webrtc.FileVideoCapturer.nativeI420ToNV21 |
( |
byte [] |
src, |
|
|
int |
width, |
|
|
int |
height, |
|
|
byte [] |
dst |
|
) |
| |
|
static |
◆ startCapture()
void org.webrtc.FileVideoCapturer.startCapture |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
framerate |
|
) |
| |
|
inline |
Start capturing frames in a format that is as close as possible to |width| x |height| and |framerate|.
Implements org.webrtc.VideoCapturer.
◆ stopCapture()
void org.webrtc.FileVideoCapturer.stopCapture |
( |
| ) |
throws InterruptedException |
|
inline |
◆ tick()
void org.webrtc.FileVideoCapturer.tick |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: