تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تطبِّق طلبات تنسيق الوسائط المحدّدة. هذا الإجراء مطلوب لتتمكّن من طلب
بث فيديو. لا تقبل سوى تنسيقات الوسائط التي تم إنشاؤها باستخدام الدالة
createMediaLayout.
وعد يتم حلّه عند قبول الطلب. ملاحظة: لا يعني حلّ المشكلة في الطلب أنّه تم تطبيق التنسيق. يعني ذلك
أنّه تمت الموافقة على الطلب، وقد تحتاج إلى الانتظار لفترة قصيرة
كي يتم تطبيق هذه التنسيقات.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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."]]