1 // Corresponds to struct Client.
3 optional int32 sock = 1;
4 optional string remote_addr = 8;
5 optional int64 connect_time = 9;
6 optional int32 state = 2;
7 optional bytes request = 3;
8 optional string url = 4;
9 optional bytes header_or_error = 5;
10 optional int64 header_or_error_bytes_sent = 6;
11 optional int64 stream_pos = 7;
12 optional int64 bytes_sent = 10;
13 optional int64 bytes_lost = 11;
14 optional int64 num_loss_events = 12;
17 // Corresponds to struct Stream.
19 optional bytes http_header = 6;
20 optional bytes stream_header = 7;
21 repeated int32 data_fds = 8;
22 optional int64 backlog_size = 5 [default=1048576];
23 optional int64 bytes_received = 3;
24 optional int64 last_suitable_starting_point = 9;
25 optional string url = 4;
27 // Older versions stored the HTTP and video headers together in this field.
28 optional bytes header = 1;
30 // Older versions stored the data in the protobuf instead of sending file
31 // descriptors around.
32 optional bytes data = 2;
35 // Corresponds to class Input.
37 optional int32 state = 1;
38 optional string url = 3;
39 optional bytes request = 4;
40 optional int32 request_bytes_sent = 5;
41 optional bytes response = 6;
42 optional bytes http_header = 10;
43 optional bytes stream_header = 14;
44 optional bytes pending_data = 7;
45 optional bool has_metacube_header = 8;
46 optional int32 sock = 9;
47 optional int64 bytes_received = 11;
48 optional int64 data_bytes_received = 12;
49 optional int64 connect_time = 13;
52 // Corresponds to class Acceptor.
53 message AcceptorProto {
54 optional int32 server_sock = 1;
55 optional int32 port = 2;
58 message CubemapStateProto {
59 optional int64 serialize_start_sec = 6;
60 optional int64 serialize_start_usec = 7;
61 repeated ClientProto clients = 1;
62 repeated StreamProto streams = 2;
63 repeated InputProto inputs = 5;
64 repeated AcceptorProto acceptors = 8;