onLocalEncodedVideoFrame method

FutureOr<void> onLocalEncodedVideoFrame(
  1. dynamic videoSource,
  2. RTCEncodedVideoFrame encodedVideoFrame
)

@detail callback @brief After calling registerLocalEncodedVideoFrameObserver{@link #RTCEngine#registerLocalEncodedVideoFrameObserver}, SDK will trigger this callback when it receives local video frames. @param videoSource Reserved parameter @param encodedVideoFrame Information about the local video frame. 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> onLocalEncodedVideoFrame(
    dynamic videoSource, RTCEncodedVideoFrame encodedVideoFrame) async {}