onRemoteEncodedVideoFrame method
FutureOr<void>
onRemoteEncodedVideoFrame(
- String streamId,
- StreamInfo streamInfo,
- RTCEncodedVideoFrame encodedVideoFrame
@detail callback @author wangzhanqiang @brief Call registerRemoteEncodedVideoFrameObserver{@link #RTCEngine#registerRemoteEncodedVideoFrameObserver}, the callback is triggered when the SDK detects the remote encoded video data @param streamId The ID of the received remote stream @param streamInfo The information of the received remote stream. See StreamInfo{@link #StreamInfo} @param encodedVideoFrame Received remote video frame information. See RTCEncodedVideoFrame{@link #RTCEncodedVideoFrame} @note encodedVideoFrame is only valid within the scope of the callback function. Do not store this parameter and access the memory data of this parameter in other functions
Implementation
FutureOr<void> onRemoteEncodedVideoFrame(String streamId,
StreamInfo streamInfo, RTCEncodedVideoFrame encodedVideoFrame) async {}