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"]],["आखिरी बार 2023-12-01 (UTC) को अपडेट किया गया."],[[["EmsgEvent provides data for events of type `cast.framework.events.EventType.EMSG`, including timing, duration, and message content."],["The event data includes details like `startTime`, `endTime`, `eventDuration`, `timescale`, and `presentationTimeDelta` for precise timing information."],["`messageData` contains the main message body, potentially including ID3 metadata based on `schemeIdUri`."],["`schemeIdUri` identifies the message scheme, while `value` offers an additional event value."],["Although `segmentData` holds the entire raw segment data, it's recommended to utilize other provided fields due to its planned deprecation."]]],["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"]]