Method signature MeetMediaApiClient.applyLayout
Applies the given media layout requests. This is required to be able to request
a video stream. Only accepts media layouts that have been created with the
createMediaLayout
function.
Signature
applyLayout(requests: MediaLayoutRequest[]): Promise<MediaApiResponseStatus>;
Details
Parameters
Returns
Promise<MediaApiResponseStatus>
A promise that resolves when the request has been accepted. NOTE: The promise
resolving on the request does not mean the layout has been applied. It means
that the request has been accepted and you may need to wait a short amount of
time for these layouts to be applied.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-05 UTC.
[null,null,["Last updated 2025-02-05 UTC."],[[["This functionality is part of the Google Workspace Developer Preview Program, offering early access to certain features."],["The `applyLayout` function is used to request a video stream by applying pre-created media layouts."],["The function takes an array of `MediaLayoutRequest` objects as parameters, which are mandatory."],["The `applyLayout` function returns a promise indicating when the request is accepted, not when the layout is applied."]]],[]]