النطاق الترددي للمسار المحدد (فارغ عندما تكون قيمة "type" هي "text").
fromAdaptation
boolean
الحد الأقصى لمدة مقطع العرض التقديمي بالثواني، أو NaN.
لا يتوفّر هذا حاليًا إلا عند استخدام Shaka.
تكون القيمة "true" إذا تم اختيار المقطع الصوتي هذا بواسطة خوارزمية ABR لدى المشغّل
لتعديل المقطع الصوتي، و"false" إذا تم الاختيار بواسطة التطبيق.
timestamp
الرقم
الطابع الزمني الذي تم إدخال الولاية فيه، بالثواني منذ عام 1970 (أي Date.now() / 1000).
كتابة
سلسلة
نوع المقطع الصوتي الذي تم اختياره ("متغير" أو "نص"). يصف "الصيغة" مزيجًا من المحتوى الصوتي ومحتوى الفيديو الذي يمكن تشغيله معًا.
يمكن استخدام صيغة فيديو/صوت فقط.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003e\u003ccode\u003ecast.framework.stats.TrackChoice\u003c/code\u003e interface represents a player track selection with properties indicating bandwidth, adaptation source, timestamp, and track type.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ebandwidth\u003c/code\u003e property applies to chosen tracks, excluding text tracks, while \u003ccode\u003efromAdaptation\u003c/code\u003e specifies if the choice was made by the player's algorithm or the application.\u003c/p\u003e\n"],["\u003cp\u003eTimestamp indicates when the state was entered, and \u003ccode\u003etype\u003c/code\u003e clarifies whether the selected track is a 'variant' (combined audio/video stream) or 'text'.\u003c/p\u003e\n"]]],[],null,["# Interface: TrackChoice\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).stats.TrackChoice\n====================================================================================\n\ninterface static\n\nRepresents a player track selection.\n\nProperties\n----------\n\n### bandwidth\n\nnumber\n\nThe bandwidth of the chosen track (null when 'type' is 'text').\n\n### fromAdaptation\n\nboolean\n\nThe presentation's max segment duration in seconds, or NaN.\nThis is currently only supported while using Shaka.\n'true' if this track choice was made by the player's ABR algorithm for\nadaptation; 'false' if the choice was made by the application.\n\n### timestamp\n\nnumber\n\nThe timestamp the state was entered, in seconds since 1970 (i.e.\nDate.now() / 1000).\n\n### type\n\nstring\n\nThe type of track chosen ('variant' or 'text'). A 'variant' describes a\ncombination of an audio and video stream which could be played together.\nIt's possible to have a video/audio only variant."]]