onExternalScreenFrameUpdate property

FutureOr<void> Function(FrameUpdateInfo engine, FrameUpdateInfo? frameUpdateInfo)? onExternalScreenFrameUpdate
getter/setter pair

@hidden @detail callback @author zhoubohui @brief After calling setOriginalScreenVideoInfo 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 info The recommended pixel and framerate by RTC. See FrameUpdateInfo{@link #FrameUpdateInfo}.

Implementation

FutureOr<void> Function(
        FrameUpdateInfo engine, FrameUpdateInfo? frameUpdateInfo)?
    onExternalScreenFrameUpdate;