| // BEX Stream FlatBuffer types — for servers and stream resolution payloads |
|
|
| include "bex_common.fbs"; |
|
|
| namespace bex.wire; |
|
|
| table VideoResolution { |
| width:uint; |
| height:uint; |
| hdr:bool; |
| label:string; |
| } |
|
|
| table VideoTrack { |
| resolution:VideoResolution; |
| url:string; |
| mime_type:string; |
| bitrate:ulong; |
| codecs:string; |
| } |
|
|
| table SubtitleTrack { |
| label:string; |
| url:string; |
| language:string; |
| format:string; |
| } |
|
|
| table Server { |
| id:string; |
| label:string; |
| url:string; |
| priority:ubyte; |
| extra:[Attr]; |
| } |
|
|
| table StreamSource { |
| id:string; |
| label:string; |
| format:StreamFormat; |
| manifest_url:string; |
| videos:[VideoTrack]; |
| subtitles:[SubtitleTrack]; |
| headers:[Attr]; |
| extra:[Attr]; |
| } |
|
|
| root_type StreamSource; |
|
|