1syntax = "proto2";
2
3message EventReply {
4    optional int32 queued = 0x1;
5    optional RetryInfo retry = 0x2;
6}
7
8message RetryInfo {
9    optional int32 retry_delay = 0x1;
10    optional int32 max_retry = 0x2;
11}
12
13message Id {
14    optional string uri = 0x1;
15    optional int64 start_time = 0x2;
16}
17
18message Start {
19    optional int32 length = 0x1;
20    optional string context_uri = 0x2;
21    optional int64 end_time = 0x3;
22}
23
24message Seek {
25    optional int64 end_time = 0x1;
26}
27
28message Pause {
29    optional int32 seconds_played = 0x1;
30    optional int64 end_time = 0x2;
31}
32
33message Resume {
34    optional int32 seconds_played = 0x1;
35    optional int64 end_time = 0x2;
36}
37
38message End {
39    optional int32 seconds_played = 0x1;
40    optional int64 end_time = 0x2;
41}
42
43message Event {
44    optional Id id = 0x1;
45    optional Start start = 0x2;
46    optional Seek seek = 0x3;
47    optional Pause pause = 0x4;
48    optional Resume resume = 0x5;
49    optional End end = 0x6;
50}
51
52