Package io.agora.rtc2.video
Interface IVideoEncodedFrameObserver
public interface IVideoEncodedFrameObserver
The IVideoEncodedFrameObserver interface.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanonEncodedVideoFrameReceived(ByteBuffer buffer, EncodedVideoFrameInfo info) Occurs each time the SDK receives an encoded video image.
-
Method Details
-
onEncodedVideoFrameReceived
Occurs each time the SDK receives an encoded video image.- Parameters:
buffer- The encoded image.info- The encoded video image information:EncodedVideoFrameInfo.- Returns:
- Whether or not to ignore the current video frame if the pre-processing fails: - true: Do not ignore. - false: Ignore the current video frame, and do not send it back to the SDK.
-