onTranscodedStreamLayoutInfo
Occurs when the local user receives a mixed video stream carrying layout information.
virtual void onTranscodedStreamLayoutInfo(uid_t uid, int width, int height, int layoutCount,const VideoLayout* layoutlist) {
(void)uid;
(void)width;
(void)height;
(void)layoutCount;
(void)layoutlist;
}
Details
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.
Parameters
- 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.