onEncodedVideoFrameReceived property
void Function(int uid, Uint8List imageBuffer, int length, EncodedVideoFrameInfo videoEncodedFrameInfo)?
onEncodedVideoFrameReceived
final
Reports that the receiver has received a remote encoded video frame.
When you call the setRemoteVideoSubscriptionOptions method and set encodedFrameOnly to true, the SDK triggers this callback locally to report the received encoded video frame information.
channelIdChannel name.uidRemote user ID.imageBufferVideo frame buffer.lengthData length of the video frame.videoEncodedFrameInfoInformation about the encoded video frame. See EncodedVideoFrameInfo.
Implementation
final void Function(int uid, Uint8List imageBuffer, int length,
EncodedVideoFrameInfo videoEncodedFrameInfo)? onEncodedVideoFrameReceived;