onLocalEncodedVideoFrame$Frame method

FutureOr<void> onLocalEncodedVideoFrame$Frame(
  1. dynamic videoSource,
  2. ByteRTCEncodedVideoFrame frame
)

@detail callback @brief 调用 registerLocalEncodedVideoFrameObserver:{@link #ByteRTCEngine#registerLocalEncodedVideoFrameObserver} 后,SDK 每次使用内部采集,采集到一帧视频帧,或收到一帧外部视频帧时,都会回调该事件。 @param videoSource 本地视频源,参看 ByteRTCVideoSource{@link #ByteRTCVideoSource} @param frame 本地视频帧信息,参看 ByteRTCEncodedVideoFrame{@link #ByteRTCEncodedVideoFrame}

Implementation

FutureOr<void> onLocalEncodedVideoFrame$Frame(
    dynamic videoSource, ByteRTCEncodedVideoFrame frame) async {}