-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathproApiV1Preroll.proto
92 lines (72 loc) · 2.27 KB
/
proApiV1Preroll.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
syntax = "proto3";
package rv.data;
import "proApiV1Identifier.proto";
message API_v1_Preroll_Request {
oneof Request {
rv.data.API_v1_Preroll_Request.PrerollCue preroll_cue = 1;
rv.data.API_v1_Preroll_Request.PrerollPlaylistItem preroll_playlist_item = 2;
rv.data.API_v1_Preroll_Request.PrerollMediaItem preroll_media_item = 3;
rv.data.API_v1_Preroll_Request.PrerollAudioItem preroll_audio_item = 4;
rv.data.API_v1_Preroll_Request.PrerollVideoInput preroll_video_input = 5;
rv.data.API_v1_Preroll_Request.PrerollLibraryItem preroll_library_item = 6;
rv.data.API_v1_Preroll_Request.PrerollNext preroll_next = 7;
rv.data.API_v1_Preroll_Request.PrerollPrevious preroll_previous = 8;
rv.data.API_v1_Preroll_Request.ActivatePrerollItem activate_preroll_item = 9;
rv.data.API_v1_Preroll_Request.CancelPrerollItem cancel_preroll_item = 10;
}
message PrerollCue {
int32 index = 1;
uint64 preroll_id = 2;
}
message PrerollPlaylistItem {
repeated rv.data.API_v1_Identifier path = 1;
uint64 preroll_id = 2;
}
message PrerollMediaItem {
repeated rv.data.API_v1_Identifier path = 1;
uint64 preroll_id = 2;
}
message PrerollAudioItem {
repeated rv.data.API_v1_Identifier path = 1;
uint64 preroll_id = 2;
}
message PrerollVideoInput {
string id = 1;
uint64 preroll_id = 2;
}
message PrerollLibraryItem {
repeated rv.data.API_v1_Identifier path = 1;
uint64 preroll_id = 2;
}
message PrerollNext {
uint64 preroll_id = 1;
}
message PrerollPrevious {
uint64 preroll_id = 1;
}
message ActivatePrerollItem {
uint64 id = 1;
uint64 time = 2;
}
message CancelPrerollItem {
uint64 id = 1;
}
}
message API_v1_Preroll_Response {
oneof Response {
rv.data.API_v1_Preroll_Response.PrerollReady preroll_ready = 1;
rv.data.API_v1_Preroll_Response.ActivatePrerollItem activate_preroll_item = 3;
rv.data.API_v1_Preroll_Response.CancelPrerollItem cancel_preroll_item = 4;
}
message PrerollReady {
uint64 id = 1;
uint64 latency = 2;
uint64 time = 3;
}
message ActivatePrerollItem {
bool success = 1;
}
message CancelPrerollItem {
bool success = 1;
}
}