Method signature MeetMediaApiClient.createMediaLayout

Creates a new media layout. Only media layouts that are created with this function can be applied. Otherwise, the applyLayout function will throw an error. Once the media layout has been created, you can construct a request and apply it with the applyLayout function. These media layout objects are meant to be reused (can be reassigned to a different request) but are distinct per stream (need to be created for each stream).

Signature

createMediaLayout(canvasDimensions: CanvasDimensions): MediaLayout;

Details

Optional No

Parameters

Name Type Optional Description
canvasDimensions CanvasDimensions No The dimensions of the canvas to render the layout on.

Returns

MediaLayout

The new media layout.