X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=state.proto;h=edb6f777f89fa68ca3a2d8f38c261a3faca18ad9;hp=e9a4f13293c617b09e21b923cca4d6eecae816d6;hb=20e85bd6901355cc40a6cfb4c0deb7232d9aa63f;hpb=061988af511f42da3cd584b4d983177504ddc177 diff --git a/state.proto b/state.proto index e9a4f13..edb6f77 100644 --- a/state.proto +++ b/state.proto @@ -24,6 +24,12 @@ message ClientProto { optional bool in_ktls_mode = 19; }; +// Corresponds to struct Stream::FragmentStart. +message FragmentStartProto { + optional int64 byte_position = 1; + optional double pts = 2; +}; + // Corresponds to struct Stream. message StreamProto { optional bytes http_header = 6; @@ -33,6 +39,9 @@ message StreamProto { // Tag 10 is unused from 1.4.0 up (it used to be prebuffering_bytes). optional int64 bytes_received = 3; repeated int64 suitable_starting_point = 9; + repeated FragmentStartProto fragment = 11; + optional int64 first_fragment_index = 12; + optional int64 discontinuity_counter = 13; optional string url = 4; };