syntax = "proto3";

package sabr.videostreaming;

import "sabr/misc/common.proto";
import "sabr/videostreaming/time_range.proto";

option java_multiple_files = true;
option java_package = "com.google.android.exoplayer2.source.sabr.protos.videostreaming";
option optimize_for = LITE_RUNTIME;

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 sabr.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 sabr.misc.FormatId format_id = 13;
    optional int64 content_length = 14;
    optional TimeRange time_range = 15;
    optional uint64 sequence_lmt = 16;
}