onExternalScreenFrameUpdate method

FutureOr<void> onExternalScreenFrameUpdate(
  1. FrameUpdateInfo info
)

@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> onExternalScreenFrameUpdate(FrameUpdateInfo info) async {}