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.

  • connection The connection information. See RtcConnection.
  • uid User ID who published this mixed video stream.
  • width Width (px) of the mixed video stream.
  • height Heitht (px) of the mixed video stream.
  • layoutCount The number of layout information in the mixed video stream.
  • layoutlist Layout 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;