syntax = "proto3";

import "sabr/videostreaming/format_id.proto";
import "sabr/videostreaming/time_range.proto";

package sabr.videostreaming;

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

message BufferedRange {
  optional FormatId format_id = 1;
  optional int64 start_time_ms = 2;
  optional int64 duration_ms = 3;
  optional int32 start_segment_index = 4;
  optional int32 end_segment_index = 5;
  optional TimeRange time_range = 6;
}