]> git.sesse.net Git - cubemap/blobdiff - state.proto
Move Server:add_data() into Stream, where it more logically belongs.
[cubemap] / state.proto
index cfad404da66eca1cc4d77b8f476b5d9416ebff90..17d5edc419ba340eca2693b65f7866d335fb1ea3 100644 (file)
@@ -15,7 +15,8 @@ message ClientProto {
 message StreamProto {
        optional bytes header = 1;
        optional bytes data = 2;
-       optional int64 data_size = 3;
+       optional int64 backlog_size = 5 [default=1048576];
+       optional int64 bytes_received = 3;
        optional string stream_id = 4;
 };
 
@@ -46,8 +47,4 @@ message CubemapStateProto {
        repeated StreamProto streams = 2;
        repeated InputProto inputs = 5;
        repeated AcceptorProto acceptors = 8;
-
-       // Deprecated. Use Acceptor instead.
-       optional int32 server_sock = 3;
-       optional int32 port = 4;
 };