نقاط تشغيل الإعلانات للبث عند الطلب وقد تتغيّر هذه الأرقام مع تقدّم البث. لن تتم تعبئة هذا الحقل إلا في مستمع الأحداث لحالة
CUEPOINTS_CHANGED {
errorMessage
(قيمة فارغة أو سلسلة)
رسالة الخطأ في حال حدوث خطأ في البث
manifestFormat
(قيمة فارغة أو سلسلة)
تنسيق بيان البث يمكن أن يكون هذا تنسيق HLS أو DASH.
streamId
(قيمة فارغة أو سلسلة)
المعرّف المستخدَم لتحديد مصدر البيانات الحالي بشكل فريد
الترجمة
(صفيف فارغ أو غير فارغ من {url: string, language: string, language_name: string})
ترجمة البث الذي يتم تشغيله هذا عنصر مصفوفة يحتوي على عنصرَين،
حيث يحتوي كل عنصر على "لغة" و "اسم لغة" يميزان مجموعة معيّنة من الترجمة والشرح في حال توفّر مجموعات متعددة للغة نفسها، و "عنوان URL" يشير إلى ملف الترجمة والشرح.
تاريخ التعديل الأخير: 2025-08-21 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-21 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003e\u003ccode\u003eStreamData\u003c/code\u003e is a class used for defining stream data.\u003c/p\u003e\n"],["\u003cp\u003eIt includes the \u003ccode\u003eadProgressData\u003c/code\u003e property, which provides timing information about the currently running ad and might be null.\u003c/p\u003e\n"]]],[],null,["# Class: StreamData\n\nStreamData\n==========\n\nclass public\n\nA class for specifying stream data.\n\nProperties\n----------\n\n### adPeriodData\n\n(null or non-null [AdPeriodData](/ad-manager/dynamic-ad-insertion/sdk/cast/reference/js/AdPeriodData))\n\nThe ad period data for the current ad period being played. This is only\npopulated in the AD_PERIOD_STARTED {\n\n### adProgressData\n\n(null or non-null [AdProgressData](/ad-manager/dynamic-ad-insertion/sdk/cast/reference/js/AdProgressData))\n\nTiming related information for currently playing ad.\n\n### cuepoints\n\n(null or non-null Array of non-null [CuePoint](/ad-manager/dynamic-ad-insertion/sdk/cast/reference/js/CuePoint))\n\nThe ad cuepoints for the on-demand stream. These may change as the stream\nprogresses. This will only be populated in the event listener for the\nCUEPOINTS_CHANGED {\n\n### errorMessage\n\n(null or string)\n\nThe error message in the case of a stream error.\n\n### manifestFormat\n\n(null or string)\n\nThe format of the stream manifest. This could be either HLS or DASH.\n\n### streamId\n\n(null or string)\n\nThe ID used to uniquely identify the current stream.\n\n### subtitles\n\n(null or non-null Array of {url: string, language: string, language_name: string})\n\nThe subtitles for the stream being played. This is an array of objects,\nwhere each object has a \"language\", a \"language name\" which\ndifferentiates the specific set of subtitles if multiple sets exist for\nthe same language , and a \"url\" which points to the subtitles file.\n\n### url\n\n(null or string)\n\nThe manifest URL of the stream that needs to be played."]]