فهرستی جزئی از کلیپ های استراحت که شامل کلیپ استراحتی است که در حال پخش است و همچنین برخی از کلیپ های زیر. دلیل ارسال یک لیست جزئی به جای لیست کامل، جلوگیری از ایجاد سرریز پیام های MediaStatus است.
URL رسانه اختیاری، برای اجازه استفاده از contentId برای شناسه واقعی. اگر contentUrl ارائه شده باشد، به عنوان URL رسانه استفاده می شود، در غیر این صورت contentId به عنوان URL رسانه استفاده می شود.
داده های سفارشی
(شیء غیر تهی یا تعریف نشده)
اطلاعات رسانه خاص برنامه
مدت زمان
(تعداد یا تعریف نشده)
مدت زمان رسانه اگر streamType روی LIVE تنظیم شده باشد، روی -1 تنظیم کنید.
وجود، موجودیت
(رشته یا تعریف نشده)
پیوند عمقی اختیاری Google Assistant به یک نهاد رسانه.
زمان مطلق (زمان Epoch Unix در ثانیه) را برای پخشهای زنده ارائه میکند. برای یک رویداد زنده، زمان شروع رویداد است، در غیر این صورت شروع محدوده قابل جستجو هنگام شروع پخش است.
پیکربندی درخواست تبلیغ VMAP. در صورت عدم ارائه وقفه و گیره استفاده می شود. این قسمت در پیام های MediaStatus برای جلوگیری از سرریز شدن گنجانده نشده است.
فهرستی جزئی از کلیپ های استراحت که شامل کلیپ استراحتی است که در حال پخش است و همچنین برخی از کلیپ های زیر. دلیل ارسال یک لیست جزئی به جای لیست کامل، جلوگیری از ایجاد سرریز پیام های MediaStatus است.
URL رسانه اختیاری، برای اجازه استفاده از contentId برای شناسه واقعی. اگر contentUrl ارائه شده باشد، به عنوان URL رسانه استفاده می شود، در غیر این صورت contentId به عنوان URL رسانه استفاده می شود.
داده های سفارشی
(شیء غیر تهی یا تعریف نشده)
اطلاعات رسانه خاص برنامه
مدت زمان
(تعداد یا تعریف نشده)
مدت زمان رسانه اگر streamType روی LIVE تنظیم شده باشد، روی -1 تنظیم کنید.
وجود، موجودیت
(رشته یا تعریف نشده)
پیوند عمقی اختیاری Google Assistant به یک نهاد رسانه.
زمان مطلق (زمان Epoch Unix در ثانیه) را برای پخشهای زنده ارائه میکند. برای یک رویداد زنده، زمان شروع رویداد است، در غیر این صورت شروع محدوده قابل جستجو هنگام شروع پخش است.
پیکربندی درخواست تبلیغ VMAP. در صورت عدم ارائه وقفه و گیره استفاده می شود. این قسمت در پیام های MediaStatus برای جلوگیری از سرریز شدن گنجانده نشده است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003e\u003ccode\u003eMediaInformation\u003c/code\u003e objects represent media content and metadata like title, duration, content URL, and stream type.\u003c/p\u003e\n"],["\u003cp\u003eThey include details about ad breaks, text tracks, user actions (like/dislike), and custom application-specific data.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003econtentId\u003c/code\u003e or \u003ccode\u003econtentUrl\u003c/code\u003e property identifies the media, while \u003ccode\u003emetadata\u003c/code\u003e holds descriptive information.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003estreamType\u003c/code\u003e distinguishes between buffered, live, or other stream types, with \u003ccode\u003eduration\u003c/code\u003e applying to buffered content.\u003c/p\u003e\n"],["\u003cp\u003eFor live streams, \u003ccode\u003estartAbsoluteTime\u003c/code\u003e provides the Epoch time of the event or seekable range start.\u003c/p\u003e\n"]]],["`MediaInformation` represents details about media content. Key properties include `contentId` and `contentUrl` for the media's location, and `contentType` specifying its MIME type. It holds `breaks` and `breakClips` for ad breaks, `duration` for the media's length, and `streamType` indicating live or other formats. `metadata` provides media details. Optional properties like `tracks`, `textTrackStyle`, `userActionStates`, `vmapAdsRequest` and `customData` are also available.\n"],null,["# Class: MediaInformation\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[messages](/cast/docs/reference/web_receiver/cast.framework.messages).MediaInformation\n=========================================================================================================================================================\n\nclass static\n\nRepresents the media information.\n\nConstructor\n-----------\n\n### MediaInformation\n\nnew\nMediaInformation()\n\nProperties\n----------\n\n### breakClips\n\n(non-null Array of non-null [cast.framework.messages.BreakClip](/cast/docs/reference/web_receiver/cast.framework.messages.BreakClip) or undefined)\n\nA partial list of break clips that includes the currently-playing break\nclip as well as some of the following clips.\nThe reason for sending a partial list instead of the complete list is to\navoid generating an overflow of `MediaStatus` messages.\n\n### breaks\n\n(non-null Array of non-null [cast.framework.messages.Break](/cast/docs/reference/web_receiver/cast.framework.messages.Break) or undefined)\n\nList of breaks.\n\n### contentId\n\nstring\n\nTypically the URL of the media.\n\n### contentType\n\nstring\n\nThe content MIME type.\n\n### contentUrl\n\n(string or undefined)\n\nOptional media URL, to allow using `contentId` for the actual ID.\nIf `contentUrl` is provided, it is used as the media URL, otherwise\nthe `contentId` is used as the media URL.\n\n### customData\n\n(non-null Object or undefined)\n\nApplication-specific media information.\n\n### duration\n\n(number or undefined)\n\nThe media duration. Set to `-1` if `streamType` is set to `LIVE`.\n\n### entity\n\n(string or undefined)\n\nOptional Google Assistant deep link to a media entity.\n\n### hlsSegmentFormat\n\n(non-null [cast.framework.messages.HlsSegmentFormat](/cast/docs/reference/web_receiver/cast.framework.messages#.HlsSegmentFormat) or undefined)\n\nThe format of the HLS audio segment. Only required for HLS content\nplayback using MPL.\n\n### hlsVideoSegmentFormat\n\n(non-null [cast.framework.messages.HlsVideoSegmentFormat](/cast/docs/reference/web_receiver/cast.framework.messages#.HlsVideoSegmentFormat) or undefined)\n\nThe format of the HLS video segment. Only required for HLS content\nplayback using MPL.\n\n### mediaCategory\n\n(non-null [cast.framework.messages.MediaCategory](/cast/docs/reference/web_receiver/cast.framework.messages#.MediaCategory) or undefined)\n\nThe media category (audio, video, picture).\n\n### metadata\n\n(non-null [cast.framework.messages.MediaMetadata](/cast/docs/reference/web_receiver/cast.framework.messages.MediaMetadata), non-null Object, or undefined)\n\nThe media metadata.\n\n### startAbsoluteTime\n\n(number or undefined)\n\nProvides the absolute time (Epoch Unix time in seconds) for live streams.\nFor a live event, it is the time the event started, otherwise\nit is the start of the seekable range when the streaming started.\n\n### streamType\n\nnon-null [cast.framework.messages.StreamType](/cast/docs/reference/web_receiver/cast.framework.messages#.StreamType)\n\nThe stream type.\n\n### textTrackStyle\n\n(non-null [cast.framework.messages.TextTrackStyle](/cast/docs/reference/web_receiver/cast.framework.messages.TextTrackStyle) or undefined)\n\nThe style of text track.\n\n### tracks\n\n(non-null Array of non-null [cast.framework.messages.Track](/cast/docs/reference/web_receiver/cast.framework.messages.Track) or undefined)\n\nThe media tracks.\n\n### userActionStates\n\n(non-null Array of non-null [cast.framework.messages.UserActionState](/cast/docs/reference/web_receiver/cast.framework.messages.UserActionState) or undefined)\n\nIndicates the user action state for media.\nIndicate user like, dislike, or follow actions for the media.\n\n### vmapAdsRequest\n\n(non-null [cast.framework.messages.VastAdsRequest](/cast/docs/reference/web_receiver/cast.framework.messages.VastAdsRequest) or undefined)\n\nVMAP ad request configuration.\nUsed if breaks and breakClips are not provided.\nThis field is not included in MediaStatus messages to avoid overflow."]]