محدوده قابل جستجوی زنده را با زمان شروع و پایان در چند ثانیه فراهم می کند.
سازنده
LiveSeekableRange
LiveSeekableRange جدید (شروع، پایان، isMovingWindow، isLiveDone)
پارامتر
شروع کنید
اختیاری
عدد
پایان
اختیاری
عدد
در حال حرکت است
اختیاری
بولی
isLiveDone است
اختیاری
بولی
خواص
پایان
(تعداد یا تعریف نشده)
پایان محدوده قابل جستجو در چند ثانیه. این عضو فقط به صورت پراکنده به روز می شود، بنابراین مقدار آن اغلب قدیمی است. از روش getEstimatedLiveSeekableRange برای به دست آوردن تخمینی از موقعیت واقعی بر اساس آخرین اطلاعات گزارش شده توسط گیرنده استفاده کنید.
isLiveDone است
(بولی یا تعریف نشده)
یک مقدار بولی نشان میدهد که آیا پخش زنده به پایان رسیده است یا خیر. اگر انجام شود، پایان محدوده قابل جستجوی زنده باید بهروزرسانی متوقف شود.
در حال حرکت است
(بولی یا تعریف نشده)
یک مقدار بولی نشان می دهد که آیا محدوده قابل جستجوی زنده یک پنجره متحرک است یا خیر. اگر نادرست باشد، یا یک محدوده در حال گسترش یا یک محدوده ثابت خواهد بود به این معنی که زنده به پایان رسیده است.
شروع کنید
(تعداد یا تعریف نشده)
شروع محدوده قابل جستجو در چند ثانیه. این عضو فقط به صورت پراکنده به روز می شود، بنابراین مقدار آن اغلب قدیمی است. از روش getEstimatedLiveSeekableRange برای به دست آوردن تخمینی از موقعیت واقعی بر اساس آخرین اطلاعات گزارش شده توسط گیرنده استفاده کنید.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003e\u003ccode\u003eLiveSeekableRange\u003c/code\u003e provides the seekable range of a live stream with start and end times in seconds.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties such as \u003ccode\u003estart\u003c/code\u003e, \u003ccode\u003eend\u003c/code\u003e, \u003ccode\u003eisMovingWindow\u003c/code\u003e, and \u003ccode\u003eisLiveDone\u003c/code\u003e to indicate the range and status of the live stream.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estart\u003c/code\u003e and \u003ccode\u003eend\u003c/code\u003e properties are only updated sporadically and might be outdated, so the \u003ccode\u003egetEstimatedLiveSeekableRange\u003c/code\u003e method is recommended for a more accurate estimate.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eisMovingWindow\u003c/code\u003e indicates if the seekable range is a moving window or fixed, and \u003ccode\u003eisLiveDone\u003c/code\u003e signals whether the live stream has ended.\u003c/p\u003e\n"]]],["The `LiveSeekableRange` class defines the seekable range for live media, using start and end times in seconds. Key properties include `start` and `end` (representing the seekable range boundaries), `isMovingWindow` (indicating if the range is a moving window), and `isLiveDone` (signaling if the live stream has ended). Due to sporadic updates, the `getEstimatedLiveSeekableRange` method is recommended for accurate estimations. `end` and `start` values might be outdated.\n"],null,["# Class: LiveSeekableRange\n\nchrome.[cast](/cast/docs/reference/web_sender/chrome.cast).[media](/cast/docs/reference/web_sender/chrome.cast.media).LiveSeekableRange\n=======================================================================================================================================\n\nclass static\n\nProvides the live seekable range with start and end time in seconds.\n\nConstructor\n-----------\n\n### LiveSeekableRange\n\nnew\nLiveSeekableRange(start, end, isMovingWindow, isLiveDone)\n\n| #### Parameter ||\n|----------------|------------------|\n| start | Optional number |\n| end | Optional number |\n| isMovingWindow | Optional boolean |\n| isLiveDone | Optional boolean |\n\nProperties\n----------\n\n### end\n\n(number or undefined)\n\nEnd of the seekable range in seconds.\nThis member is only updated sporadically, so its value is often out of\ndate. Use the `getEstimatedLiveSeekableRange` method to get an\nestimate of the real position based on the last information reported by\nthe receiver.\n\n### isLiveDone\n\n(boolean or undefined)\n\nA boolean value indicates whether a live stream is ended. If it is done,\nthe end of live seekable range should stop updating.\n\n### isMovingWindow\n\n(boolean or undefined)\n\nA boolean value indicates whether the live seekable range is a moving\nwindow. If false, it will be either a expanding range or a fixed range\nmeaning live has ended.\n\n### start\n\n(number or undefined)\n\nStart of the seekable range in seconds.\nThis member is only updated sporadically, so its value is often out of\ndate. Use the `getEstimatedLiveSeekableRange` method to get an\nestimate of the real position based on the last information reported by\nthe receiver."]]