Package io.agora.rtc2.video
Interface IVideoEncodedFrameObserver
public interface IVideoEncodedFrameObserver
The IVideoEncodedFrameObserver interface.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanonEncodedVideoFrameReceived(String channelId, int remoteUid, ByteBuffer buffer, EncodedVideoFrameInfo info)
-
Method Details
-
onEncodedVideoFrameReceived
boolean onEncodedVideoFrameReceived(String channelId, int remoteUid, ByteBuffer buffer, EncodedVideoFrameInfo info) - Parameters:
channelId- The channel name.remoteUid- The user id of the remote user.buffer- The encoded video image buffer.info- For the information of the encoded video frame, see `EncodedVideoFrameInfo`.- Returns:
- Without practical meaning.
- Since:
- 4.6.0
-