Package io.antmedia.webrtc.adaptor
Class RTMPAdaptor.WebRTCVideoSink
java.lang.Object
io.antmedia.webrtc.adaptor.RTMPAdaptor.WebRTCVideoSink
- All Implemented Interfaces:
VideoSink
- Enclosing class:
- RTMPAdaptor
-
Field Summary
-
Constructor Summary
-
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.
-
Field Details
-
videoFrameLogCounter
private int videoFrameLogCounter
-
-
Constructor Details
-
WebRTCVideoSink
public WebRTCVideoSink()
-
-
Method Details
-
onFrame
Description copied from interface:VideoSink
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.
-