Package tvi.webrtc
Interface VideoSink
- All Known Implementing Classes:
EglRenderer
,ScreenCapturerAndroid
,SurfaceEglRenderer
,SurfaceViewRenderer
,VideoFileRenderer
,VideoSink
,VideoTextureView
,VideoView
public interface VideoSink
Java version of rtc::VideoSinkInterface.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onFrame
(VideoFrame frame) Implementations should call frame.retain() if they need to hold a reference to the frame after this function returns.
-
Method Details
-
onFrame
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.
-