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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcRpc {
#[prost(oneof="rtc_rpc::Message", tags="1, 2, 3, 4, 5, 6, 7")]
pub message: ::core::option::Option<rtc_rpc::Message>,
}
pub mod rtc_rpc {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Message {
#[prost(message, tag="1")]
RtcSessionRequest(super::RtcSessionRequest),
#[prost(message, tag="2")]
RtcSessionResponse(super::RtcSessionResponse),
#[prost(message, tag="3")]
RtcSessionManagement(super::RtcSessionManagement),
#[prost(message, tag="4")]
RtcOutgoing(super::RtcOutgoing),
#[prost(message, tag="5")]
RtcIncoming(super::RtcIncoming),
#[prost(message, tag="6")]
RtcSessionListRequest(super::RtcSessionListRequest),
#[prost(message, tag="7")]
RtcSessionListResponse(super::RtcSessionListResponse),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcSessionRequest {
#[prost(bytes="vec", tag="1")]
pub group_id: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcSessionResponse {
#[prost(bytes="vec", tag="1")]
pub group_id: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcSessionManagement {
#[prost(bytes="vec", tag="1")]
pub group_id: ::prost::alloc::vec::Vec<u8>,
#[prost(uint32, tag="2")]
pub option: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcOutgoing {
#[prost(bytes="vec", tag="1")]
pub group_id: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes="vec", tag="2")]
pub content: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcIncoming {
#[prost(bytes="vec", tag="1")]
pub group_id: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes="vec", tag="2")]
pub content: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcSessionListRequest {
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcSession {
#[prost(bytes="vec", tag="1")]
pub group_id: ::prost::alloc::vec::Vec<u8>,
#[prost(uint32, tag="2")]
pub session_type: u32,
#[prost(uint32, tag="3")]
pub state: u32,
#[prost(uint64, tag="4")]
pub created_at: u64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RtcSessionListResponse {
#[prost(message, repeated, tag="1")]
pub sessions: ::prost::alloc::vec::Vec<RtcSession>,
}