File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' mp4box ' : minor
3+ ---
4+
5+ add ` ItemComponentContentIDProperty ` from GIMI
Original file line number Diff line number Diff line change @@ -130,3 +130,21 @@ export class ItemContentIDPropertyBox extends UUIDBox {
130130 this . content_id = stream . readCString ( ) ;
131131 }
132132}
133+
134+ export class ItemComponentContentIDPropertyBox extends UUIDBox {
135+ static uuid = '9db9dd6e373c5a4e811021fc83a911fd' as const ;
136+ box_name = 'ItemComponentContentIDProperty' as const ;
137+
138+ content_ids : Array < string > ;
139+ number_of_components : number ;
140+
141+ parse ( stream : MultiBufferStream ) : void {
142+ this . number_of_components = stream . readUint32 ( ) ;
143+
144+ this . content_ids = [ ] ;
145+ for ( let i = 0 ; i < this . number_of_components ; i ++ ) {
146+ const content_id : string = stream . readCString ( ) ;
147+ this . content_ids . push ( content_id ) ;
148+ }
149+ }
150+ }
You can’t perform that action at this time.
0 commit comments