#EXT-X-DATERANGE প্রপার্টিতে পাওয়া HLS-নির্দিষ্ট সময়ের মেটাডেটা বৈশিষ্ট্য রয়েছে। https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-06#section-4.4.5.1
কনস্ট্রাক্টর
HlsTimedMetadata
নতুন HlsTimedMetadata()
বৈশিষ্ট্য
ক্লায়েন্ট অ্যাট্রিবিউট
(নন-নাল অবজেক্ট বা অনির্ধারিত)
"X-" উপসর্গটি ক্লায়েন্ট-সংজ্ঞায়িত বৈশিষ্ট্যগুলির জন্য সংরক্ষিত একটি নামস্থান সংজ্ঞায়িত করে। ক্লায়েন্ট-অ্যাট্রিবিউট অবশ্যই একটি আইনি অ্যাট্রিবিউট নাম হতে হবে। সংঘর্ষ এড়াতে ক্লায়েন্টদের তাদের নিজস্ব বৈশিষ্ট্যের নাম সংজ্ঞায়িত করার সময় একটি বিপরীত-ডিএনএস সিনট্যাক্স ব্যবহার করা উচিত। অ্যাট্রিবিউটের মান অবশ্যই একটি স্ট্রিং, একটি হেক্সাডেসিমেল-সিকোয়েন্স বা দশমিক-ফ্লোটিং-পয়েন্ট হতে হবে। একটি ক্লায়েন্ট-সংজ্ঞায়িত বৈশিষ্ট্যের একটি উদাহরণ হল X-COM-EXAMPLE-AD-ID="XYZ123"। এই গুণাবলী ঐচ্ছিক.
সময়কাল
(সংখ্যা বা অনির্ধারিত)
ডেট রেঞ্জের সময়কাল সেকেন্ডের দশমিক-ফ্লোটিং-পয়েন্ট সংখ্যা হিসাবে প্রকাশ করা হয়। এটা নেতিবাচক হতে হবে না. সময়ের মধ্যে একটি একক তাত্ক্ষণিক (যেমন, একটি ফিনিস লাইন অতিক্রম করা) 0 এর সময়কালের সাথে উপস্থাপন করা উচিত। এই বৈশিষ্ট্যটি ঐচ্ছিক।
শেষ তারিখ
(স্ট্রিং বা অনির্ধারিত)
ISO-8601 তারিখ ধারণকারী একটি স্ট্রিং যেখানে তারিখ পরিসর শেষ হয়। এটি START-DATE অ্যাট্রিবিউটের মানের সমান বা তার পরে হওয়া আবশ্যক৷ এই বৈশিষ্ট্যটি ঐচ্ছিক৷
endOnNext
(বুলিয়ান বা অনির্ধারিত)
একটি বুলিয়ান যে পরিসীমার শেষ নির্দেশ করে সেটির নিম্নলিখিত পরিসরের START-DATE-এর সমান। নিম্নোক্ত ব্যাপ্তি হল একই শ্রেণীর তারিখের পরিসর যেখানে প্রশ্নে থাকা ব্যাপ্তির START-DATE-এর পরে প্রথমতম START-DATE আছে। এই বৈশিষ্ট্যটি ঐচ্ছিক এবং মিথ্যা থেকে ডিফল্ট।
পরিকল্পিত সময়কাল
(সংখ্যা বা অনির্ধারিত)
ডেট রেঞ্জের প্রত্যাশিত সময়কাল সেকেন্ডের দশমিক-ফ্লোটিং-পয়েন্ট সংখ্যা হিসাবে প্রকাশ করা হয়েছে। এটা নেতিবাচক হতে হবে না. এই বৈশিষ্ট্যটি একটি তারিখ পরিসরের প্রত্যাশিত সময়কাল নির্দেশ করতে ব্যবহার করা উচিত যার প্রকৃত সময়কাল এখনও জানা যায়নি৷ এই বৈশিষ্ট্যটি ঐচ্ছিক৷
রেঞ্জ ক্লাস
(স্ট্রিং বা অনির্ধারিত)
একটি ক্লায়েন্ট-সংজ্ঞায়িত স্ট্রিং যা কিছু বৈশিষ্ট্যের সেট এবং তাদের সম্পর্কিত মান শব্দার্থকে নির্দিষ্ট করে। একই CLASS অ্যাট্রিবিউট মান সহ সমস্ত তারিখের ব্যাপ্তি এই শব্দার্থবিদ্যা মেনে চলতে হবে। এই বৈশিষ্ট্যটি ঐচ্ছিক৷
scte35Cmd
(স্ট্রিং বা অনির্ধারিত)
SCTE-35 splice_info_section() ডেটা বহন করে। এই বৈশিষ্ট্যটি ঐচ্ছিক৷
scte35In
(স্ট্রিং বা অনির্ধারিত)
ডেটাতে SCTE-35 ডেটা স্প্লাইস বহন করে। এই বৈশিষ্ট্যটি ঐচ্ছিক৷
scte35 আউট
(স্ট্রিং বা অনির্ধারিত)
SCTE-35 ডেটা বিভক্ত করে ডেটা বহন করে। এই বৈশিষ্ট্যটি ঐচ্ছিক৷
শুরুর তারিখ
(স্ট্রিং বা অনির্ধারিত)
ISO-8601 তারিখ ধারণকারী একটি স্ট্রিং যেখানে তারিখ পরিসর শুরু হয়। এই বৈশিষ্ট্যটি প্রয়োজনীয়৷
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003e\u003ccode\u003ecast.framework.HlsTimedMetadata\u003c/code\u003e handles HLS timed metadata, specifically properties within the \u003ccode\u003e#EXT-X-DATERANGE\u003c/code\u003e tag, as defined in the HLS RFC.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003estartDate\u003c/code\u003e, \u003ccode\u003eendDate\u003c/code\u003e, \u003ccode\u003eduration\u003c/code\u003e, and various SCTE-35 related attributes for managing date ranges and content signaling.\u003c/p\u003e\n"],["\u003cp\u003eClient-defined attributes, prefixed with "X-", allow for custom metadata to be included within the timed metadata.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003erangeClass\u003c/code\u003e property enables grouping of date ranges with shared semantics for specific functionalities.\u003c/p\u003e\n"]]],["The `HlsTimedMetadata` class manages HLS timed metadata properties from the `#EXT-X-DATERANGE` tag. Key properties include `startDate` (required ISO-8601 start date), `endDate` (optional ISO-8601 end date), `duration` (optional duration in seconds), and `plannedDuration` (optional expected duration). `rangeClass` allows for custom attribute sets. Additional attributes cover client-defined data (`clientAttributes`) and SCTE-35 information (`scte35Cmd`, `scte35In`, `scte35Out`). The `endOnNext` property indicates if the range ends at the start of the next one.\n"],null,["# Class: HlsTimedMetadata\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).HlsTimedMetadata\n===================================================================================\n\nclass static\n\nContains HLS-specific timed metadata properties found in the #EXT-X-DATERANGE\nproperty.\nhttps://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-06#section-4.4.5.1\n\nConstructor\n-----------\n\n### HlsTimedMetadata\n\nnew\nHlsTimedMetadata()\n\nProperties\n----------\n\n### clientAttributes\n\n(non-null Object or undefined)\n\nThe \"X-\" prefix defines a namespace reserved for client-defined\nattributes. The client-attribute MUST be a legal AttributeName. Clients\nSHOULD use a reverse-DNS syntax when defining their own attribute names\nto avoid collisions. The attribute value MUST be a string, a\nhexadecimal-sequence, or a decimal-floating-point. An example of a\nclient-defined attribute is X-COM-EXAMPLE-AD-ID=\"XYZ123\". These\nattributes are OPTIONAL.\n\n### duration\n\n(number or undefined)\n\nThe duration of the Date Range expressed as a decimal-floating-point\nnumber of seconds. It MUST NOT be negative. A single instant in time\n(e.g., crossing a finish line) SHOULD be represented with a duration of\n0. This attribute is OPTIONAL.\n\n### endDate\n\n(string or undefined)\n\nA string containing the ISO-8601 date at which the Date Range ends. It\nMUST be equal to or later than the value of the START-DATE attribute.\nThis attribute is OPTIONAL.\n\n### endOnNext\n\n(boolean or undefined)\n\nA boolean indicating the end of the range containing it is equal to the\nSTART-DATE of its Following Range. The Following Range is the Date Range\nof the same CLASS that has the earliest START-DATE after the START-DATE\nof the range in question. This attribute is OPTIONAL and defaults to\nfalse.\n\n### plannedDuration\n\n(number or undefined)\n\nThe expected duration of the Date Range expressed as a\ndecimal-floating-point number of seconds. It MUST NOT be negative. This\nattribute SHOULD be used to indicate the expected duration of a Date\nRange whose actual duration is not yet known. This attribute is OPTIONAL.\n\n### rangeClass\n\n(string or undefined)\n\nA client-defined string that specifies some set of attributes and their\nassociated value semantics. All Date Ranges with the same CLASS\nattribute value MUST adhere to these semantics. This attribute is\nOPTIONAL.\n\n### scte35Cmd\n\n(string or undefined)\n\nCarries SCTE-35 splice_info_section() data. This attribute is OPTIONAL.\n\n### scte35In\n\n(string or undefined)\n\nCarries SCTE-35 data splice in data. This attribute is OPTIONAL.\n\n### scte35Out\n\n(string or undefined)\n\nCarries SCTE-35 data splice out data. This attribute is OPTIONAL.\n\n### startDate\n\n(string or undefined)\n\nA string containing the ISO-8601 date at which the Date Range begins.\nThis attribute is REQUIRED."]]