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.

  • connection Connection information. See RtcConnection.
  • uid User ID of the mixed video stream publisher.
  • width Width (px) of the mixed video stream.
  • height Height (px) of the mixed video stream.
  • layoutCount Number of layout information entries in the mixed video stream.
  • layoutlist Detailed 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;