Files
googlevideo/protos/video_streaming/media_header.proto
Luan c240c97c23 fix(generate-proto): Use forceLong=string option
Noticed YouTube returning very large int64 values, causing the protobuf library to throw.
2025-09-14 19:58:07 -03:00

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;
}