onTranscodedStreamLayoutInfo property
void Function(RtcConnection connection, int uid, int width, int height, int layoutCount, List<VideoLayout> layoutlist)?
onTranscodedStreamLayoutInfo
final
Callback for received mixed stream with layout information.
When the local client first receives a mixed video stream from the mixing server, or when the layout information of the mixed stream changes, the SDK triggers this callback to report the layout information of each sub-video stream in the mixed stream. This callback is applicable only to Android and iOS.
connectionConnection information. See RtcConnection.uidUser ID of the mixed video stream publisher.widthWidth (px) of the mixed video stream.heightHeight (px) of the mixed video stream.layoutCountNumber of layout information entries in the mixed video stream.layoutlistDetailed layout information of a mixed video stream. See VideoLayout.
Implementation
final void Function(
RtcConnection connection,
int uid,
int width,
int height,
int layoutCount,
List<VideoLayout> layoutlist)? onTranscodedStreamLayoutInfo;