onTranscodedStreamLayoutInfo property
void Function(RtcConnection connection, int uid, int width, int height, int layoutCount, List<VideoLayout> layoutlist)?
onTranscodedStreamLayoutInfo
final
已接收携带布局信息的合图视频流回调。
当本地第一次接收到合图服务器发送的合图视频流,或者合图流的布局信息有变化时,SDK 会触发该回调,报告合图视频流中每一路子视频流的布局信息。 该回调仅适用于 Android 和 iOS。
connectionConnection 信息。详见 RtcConnection 。uid发布合图视频流的用户 ID。width合图视频流的宽度 (px)。height合图视频流的高度 (px)。layoutCount合图视频流中布局信息的数量。layoutlist某一路合图视频流的详细布局信息。详见 VideoLayout 。
Implementation
final void Function(
RtcConnection connection,
int uid,
int width,
int height,
int layoutCount,
List<VideoLayout> layoutlist)? onTranscodedStreamLayoutInfo;