]> git.sesse.net Git - cubemap/blobdiff - state.proto
When a child process times out or otherwise closes on us, kill it.
[cubemap] / state.proto
index 19b4b9961191b39674fa1ed25ccc61cbbcf2111b..52df32ce027ac2af18bbc272f7f8ca5c678a07cb 100644 (file)
@@ -31,10 +31,12 @@ message ClientProto {
 message FragmentStartProto {
        optional int64 byte_position = 1;
        optional double pts = 2;
+       optional bool begins_header = 3 [default=false];
 };
 
 // Corresponds to struct Stream.
 message StreamProto {
+       optional bool unavailable = 14 [default=false];
        optional bytes http_header = 6;
        optional bytes stream_header = 7;
        repeated int32 data_fds = 8;
@@ -60,6 +62,7 @@ message InputProto {
        optional bytes pending_data = 7;
        optional bool has_metacube_header = 8;
        optional int32 sock = 9;
+       optional int64 child_pid = 18 [default=-1];
        optional int64 bytes_received = 11;
        optional int64 data_bytes_received = 12;
        optional int64 metadata_bytes_received = 16;