]> git.sesse.net Git - cubemap/blobdiff - state.proto
Keep information about HLS downloads around for some time afterwards.
[cubemap] / state.proto
index edb6f777f89fa68ca3a2d8f38c261a3faca18ad9..90d86e4170f5448f794c3be910193c74f7000e9d 100644 (file)
@@ -22,6 +22,7 @@ message ClientProto {
        optional bytes tls_context = 17;  // If not present, then not using TLS for this client.
        optional int64 tls_output_bytes_already_consumed = 18;
        optional bool in_ktls_mode = 19;
+       optional bytes x_playback_session_id = 22;
 };
 
 // Corresponds to struct Stream::FragmentStart.
@@ -79,6 +80,16 @@ message ShortResponsePool {
        optional bytes header_or_short_response = 1;
 };
 
+message HLSZombieProto {
+        optional bytes key = 1;
+        optional bytes remote_addr = 2;
+        optional bytes url = 3;
+        optional bytes referer = 4;
+        optional bytes user_agent = 5;
+        optional int64 expires_sec = 6;
+        optional int64 expires_nsec = 7;
+};
+
 message CubemapStateProto {
        optional int64 serialize_start_sec = 6;
        optional int64 serialize_start_usec = 7;
@@ -87,4 +98,5 @@ message CubemapStateProto {
        repeated InputProto inputs = 5;
        repeated AcceptorProto acceptors = 8;
        repeated ShortResponsePool short_response_pool = 9;
+       repeated HLSZombieProto hls_zombies = 10;
 };