File size: 778 Bytes
3374e90
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// 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;