Package tvi.webrtc
Interface VideoSink
-
- All Known Implementing Classes:
EglRenderer
,ScreenCapturerAndroid
,SurfaceEglRenderer
,SurfaceViewRenderer
,VideoFileRenderer
,VideoTextureView
,VideoView
public interface VideoSink
Java version of rtc::VideoSinkInterface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onFrame(VideoFrame frame)
Implementations should call frame.retain() if they need to hold a reference to the frame after this function returns.
-
-
-
Method Detail
-
onFrame
void onFrame(VideoFrame frame)
Implementations should call frame.retain() if they need to hold a reference to the frame after this function returns. Each call to retain() should be followed by a call to frame.release() when the reference is no longer needed.
-
-