Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Belirtilen medya düzeni isteklerini uygular. Video akışı isteğinde bulunabilmek için bu gereklidir. Yalnızca createMediaLayout işleviyle oluşturulan medya düzenleri kabul edilir.
İstek kabul edildiğinde çözülen bir söz. NOT: İstekte çözülen söz, düzenin uygulandığı anlamına gelmez. Bu, isteğin kabul edildiği anlamına gelir. Bu düzenler uygulanmadan önce kısa bir süre beklemeniz gerekebilir.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[],[],null,["# Method signature MeetMediaApiClient.applyLayout\n\n| **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. \n|\n| **To use the Meet Media API to access real-time media from a conference, the Google Cloud project, OAuth principal, and all participants in the conference must be enrolled in the Developer Preview Program.**\n\nApplies the given media layout requests. This is required to be able to request\na video stream. Only accepts media layouts that have been created with the\n[`createMediaLayout`](/meet/media-api/reference/web/media_api_web.meetmediaapiclient.createmedialayout)\nfunction.\n\nSignature\n---------\n\n applyLayout(requests: MediaLayoutRequest[]): Promise\u003cMediaApiResponseStatus\u003e;\n\nDetails\n-------\n\n| Optional | No |\n|----------|----|\n\nParameters\n----------\n\n| Name | Type | Optional | Description |\n|------------|-----------------------------------------------------------------|----------|------------------------|\n| `requests` | [MediaLayoutRequest](./media_api_web.medialayoutrequest.md)`[]` | No | The requests to apply. |\n\nReturns\n-------\n\n`Promise\u003cMediaApiResponseStatus\u003e`\n\nA promise that resolves when the request has been accepted. NOTE: The promise\nresolving on the request does not mean the layout has been applied. It means\nthat the request has been accepted and you may need to wait a short amount of\ntime for these layouts to be applied."]]