cast.framework.events.EventType.EMSG इवेंट के लिए इवेंट डेटा.
निर्माता
EmsgEvent
नया
EmsgEvent(emsgData)
पैरामीटर
emsgData
ऑब्जेक्ट
वैल्यू शून्य नहीं होनी चाहिए.
प्रॉपर्टी
endTime
कॉन्सटेंट
(संख्या या तय नहीं है)
इवेंट खत्म होने का समय (प्रज़ेंटेशन के समय में).
eventDuration
कॉन्सटेंट
(संख्या या तय नहीं है)
इवेंट की अवधि (टाइमस्केल की इकाइयों में).
id
कॉन्सटेंट
(संख्या या तय नहीं है)
मैसेज के इस इंस्टेंस की पहचान करने वाला फ़ील्ड.
messageData
कॉन्सटेंट
(गैर-शून्य Uint8Array या अनडिफ़ाइंड)
मैसेज का मुख्य हिस्सा, जिसमें schemeIdUri वैल्यू से सिग्नल मिलने पर
ID3 मेटाडेटा शामिल हो सकता है. schemeIdUri "https://aomedia.org/emsg/ID3"
और "https://developer.apple.com/streaming/emsg-id3" हमेशा
ID3 के मेटाडेटा का संकेत देते हैं.
presentationTimeDelta
कॉन्सटेंट
(संख्या या तय नहीं है)
वह ऑफ़सेट जिससे इवेंट शुरू होता है. यह, शामिल सेगमेंट (टाइमस्केल की इकाइयों में) की शुरुआत के मुकाबले शुरू होता है.
schemeIdUri
कॉन्सटेंट
(स्ट्रिंग या तय नहीं है)
मैसेज स्कीम की पहचान करता है.
segmentData
कॉन्सटेंट
(गैर-शून्य Uint8Array या अनडिफ़ाइंड)
सेगमेंट का पूरा और रॉ डेटा, जिसमें ईएमएसजी शामिल होता है. यह फ़ील्ड
बंद करने के लिए शेड्यूल किया गया है. हमारा सुझाव है कि आप इस फ़ील्ड के बजाय, दिए गए ईएमएसजी इवेंट डेटा फ़ील्ड का इस्तेमाल करें.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eEmsgEvent provides data for events of type \u003ccode\u003ecast.framework.events.EventType.EMSG\u003c/code\u003e, including timing, duration, and message content.\u003c/p\u003e\n"],["\u003cp\u003eThe event data includes details like \u003ccode\u003estartTime\u003c/code\u003e, \u003ccode\u003eendTime\u003c/code\u003e, \u003ccode\u003eeventDuration\u003c/code\u003e, \u003ccode\u003etimescale\u003c/code\u003e, and \u003ccode\u003epresentationTimeDelta\u003c/code\u003e for precise timing information.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003emessageData\u003c/code\u003e contains the main message body, potentially including ID3 metadata based on \u003ccode\u003eschemeIdUri\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eschemeIdUri\u003c/code\u003e identifies the message scheme, while \u003ccode\u003evalue\u003c/code\u003e offers an additional event value.\u003c/p\u003e\n"],["\u003cp\u003eAlthough \u003ccode\u003esegmentData\u003c/code\u003e holds the entire raw segment data, it's recommended to utilize other provided fields due to its planned deprecation.\u003c/p\u003e\n"]]],["The `EmsgEvent` class provides data for an EMSG event, detailing its properties. Key information includes `startTime` and `endTime` for event timing, `eventDuration`, and `presentationTimeDelta` for timing within the segment. `messageData` contains the message body, potentially with ID3 metadata, identified by `schemeIdUri`. `id` identifies the message instance, `timescale` defines the time unit, and `value` specifies the event's value. `segmentData` is present but being deprecated, with individual data fields preferred.\n"],null,[]]