cast.framework.events.EventType.ID3 이벤트의 이벤트 데이터
여기에 제공된 ID3 메타데이터는 ID3 v2 형식을 따릅니다.
ID3 메시지 내에서 프레임당 하나의 이벤트가 실행됩니다.
이 이벤트는 전체 원시 ID3 메시지를 포함하지 않습니다. 다음과 같은 경우
하위 섹션이 있습니다.
ID3v2 / 파일 식별자
ID3v2 버전
ID3v2 플래그
ID3v2 크기
프레임 유형 (예: TXXX)
프레임 크기
프레임 플래그
프레임 인코딩
프레임 설명
데이터 프레임 조정
5 (frameType), 9 (frameDescription), 10 항목만
이 이벤트에서는 (segmentData)가 제공됩니다.
생성자
Id3Event
새 상품
Id3Event(segmentData, timestamp, frameDescription, frameType)
매개변수
segmentData
Uint8Array
값은 null일 수 없습니다.
타임스탬프
숫자
frameDescription
선택사항
Uint8Array
값은 null일 수 없습니다.
frameType
선택사항
문자열
속성
frameDescription
상수
(null이 아닌 Uint8Array 또는 정의되지 않음)
ID3 프레임의 설명입니다.
frameType
상수
(문자열 또는 정의되지 않음)
ID3 프레임 태그입니다. 사용 가능한 태그의 전체 목록은
https://exiftool.org/TagNames/ID3.html.
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eThe \u003ccode\u003ecast.framework.events.Id3Event\u003c/code\u003e class provides data for ID3 metadata events within the Cast framework, delivering information frame by frame.\u003c/p\u003e\n"],["\u003cp\u003eThis event includes the frame type, description, and data but excludes the raw ID3 message structure like headers and flags.\u003c/p\u003e\n"],["\u003cp\u003eID3 frame details like \u003ccode\u003eframeType\u003c/code\u003e, \u003ccode\u003eframeDescription\u003c/code\u003e, and \u003ccode\u003esegmentData\u003c/code\u003e are accessible via corresponding properties of the \u003ccode\u003eId3Event\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this event to access and utilize ID3 metadata, such as song titles or artist information, during media playback.\u003c/p\u003e\n"]]],[],null,["# Class: Id3Event\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[events](/cast/docs/reference/web_receiver/cast.framework.events).Id3Event\n=============================================================================================================================================\n\nclass static\n\nEvent data for a `cast.framework.events.EventType.ID3` event.\nThe ID3 metadata provided here follows the ID3 v2 formatting.\nOne event is fired per frame within the ID3 message.\nThis event does NOT contain the entire, raw ID3 message. Given the following\nsubsections of an ID3 message:\n\n1. ID3v2 / file identifier\n2. ID3v2 version\n3. ID3v2 flags\n4. ID3v2 size\n5. Frame type (i.e. `TXXX`)\n6. Frame size\n7. Frame flags\n8. Frame encoding\n9. Frame description\n10. Frame data\n\nOnly items `5` (`frameType`), `9` (`frameDescription`), and `10`\n(`segmentData`) are provided in this event.\n\nConstructor\n-----------\n\n### Id3Event\n\nnew\nId3Event(segmentData, timestamp, frameDescription, frameType)\n\n| #### Parameter ||\n|------------------|---------------------------------------------|\n| segmentData | Uint8Array Value must not be null. |\n| timestamp | number |\n| frameDescription | Optional Uint8Array Value must not be null. |\n| frameType | Optional string |\n\nProperties\n----------\n\n### frameDescription\n\nconstant\n\n(non-null Uint8Array or undefined)\n\nThe ID3 frame's description.\n\n### frameType\n\nconstant\n\n(string or undefined)\n\nThe ID3 frame tag. A full list of possible tags are listed in\nhttps://exiftool.org/TagNames/ID3.html.\n\n### segmentData\n\nconstant\n\nnon-null Uint8Array\n\nThe ID3 frame's data.\n\n### timestamp\n\nconstant\n\nnumber\n\nThe media start time of the ID3 message in seconds."]]