onTranscodedStreamLayoutInfo property
void Function(RtcConnection connection, int uid, int width, int height, int layoutCount, List<VideoLayout> layoutlist)?
onTranscodedStreamLayoutInfo
final
Occurs when the local user receives a mixed video stream carrying layout information.
When the local user receives a mixed video stream sent by the video mixing server for the first time, or when there is a change in the layout information of the mixed stream, the SDK triggers this callback, reporting the layout information of each sub-video stream within the mixed video stream. This callback is for Android and iOS only.
connectionThe connection information. See RtcConnection.uidUser ID who published this mixed video stream.widthWidth (px) of the mixed video stream.heightHeitht (px) of the mixed video stream.layoutCountThe number of layout information in the mixed video stream.layoutlistLayout information of a specific sub-video stream within the mixed stream. See VideoLayout.
Implementation
final void Function(
RtcConnection connection,
int uid,
int width,
int height,
int layoutCount,
List<VideoLayout> layoutlist)? onTranscodedStreamLayoutInfo;