rtcEngine$onExternalScreenFrameUpdate method
FutureOr<void>
rtcEngine$onExternalScreenFrameUpdate(
- ByteRTCEngine engine,
- ByteRTCFrameUpdateInfo frameUpdateInfo
@hidden @detail callback @author zhoubohui @brief After calling setOriginalScreenVideoInfo:withOriginalCaptureHeight: to set the original width and height of the external shared-screen stream and setting the encoding mode to the automatic mode, you will receive this callback to re-capture the stream based on the recommended pixel and framerate by RTC. @param engine ByteRTCEngine object @param frameUpdateInfo The recommended pixel and framerate by RTC. See ByteRTCFrameUpdateInfo{@link #ByteRTCFrameUpdateInfo}.
Implementation
FutureOr<void> rtcEngine$onExternalScreenFrameUpdate(
ByteRTCEngine engine, ByteRTCFrameUpdateInfo frameUpdateInfo) async {}