cast.framework.events.EventType.EMSG 이벤트의 이벤트 데이터입니다.
생성자
EmsgEvent
새 EmsgEvent(emsgData)
매개변수
emsgData
객체
값은 null이 아니어야 합니다.
속성
endTime
상수
(숫자 또는 정의되지 않음)
일정이 종료되는 시간입니다 (프레젠테이션 시간 기준).
eventDuration
상수
(숫자 또는 정의되지 않음)
이벤트의 기간입니다 (기간 단위).
id
상수
(숫자 또는 정의되지 않음)
메시지의 이 인스턴스를 식별하는 필드입니다.
messageData
상수
(null이 아닌 Uint8Array 또는 정의되지 않음)
메시지 본문으로, schemeIdUri 값으로 신호를 받는 경우 ID3 메타데이터를 포함할 수 있습니다. schemeIdUri 'https://aomedia.org/emsg/ID3' 및 'https://developer.apple.com/streaming/emsg-id3'은 항상 ID3 메타데이터 신호를 보냅니다.
presentationTimeDelta
상수
(숫자 또는 정의되지 않음)
이벤트가 시작되는 오프셋으로, 포함하는 세그먼트의 시작을 기준으로 합니다 (시간 척도).
schemeIdUri
상수
(문자열 또는 정의되지 않음)
메시지 스키마를 식별합니다.
segmentData
상수
(null이 아닌 Uint8Array 또는 정의되지 않음)
EMSG를 포함하는 전체 원시 세그먼트 데이터입니다. 이 필드는 지원 중단될 예정입니다. 이 필드 대신 제공된 EMSG 이벤트 데이터 필드를 사용하는 것이 좋습니다.
[null,null,["최종 업데이트: 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"]]