mirror of
https://github.com/LuanRT/googlevideo.git
synced 2026-06-13 08:42:31 +00:00
Noticed YouTube returning very large int64 values, causing the protobuf library to throw.
25 lines
711 B
Protocol Buffer
25 lines
711 B
Protocol Buffer
syntax = "proto2";
|
|
package video_streaming;
|
|
|
|
import "misc/common.proto";
|
|
import "video_streaming/time_range.proto";
|
|
|
|
message MediaHeader {
|
|
optional uint32 header_id = 1;
|
|
optional string video_id = 2;
|
|
optional int32 itag = 3;
|
|
optional uint64 lmt = 4;
|
|
optional string xtags = 5;
|
|
optional int64 start_range = 6;
|
|
optional .misc.CompressionType compression_algorithm = 7;
|
|
optional bool is_init_seg = 8;
|
|
optional int32 sequence_number = 9;
|
|
optional int64 bitrate_bps = 10;
|
|
optional int64 start_ms = 11;
|
|
optional int64 duration_ms = 12;
|
|
optional .misc.FormatId format_id = 13;
|
|
optional int64 content_length = 14;
|
|
optional TimeRange time_range = 15;
|
|
optional uint64 sequence_lmt = 16;
|
|
}
|