@stream-io/video-client 0.0.1-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +219 -0
- package/README.md +14 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +14663 -0
- package/dist/index.js.map +1 -0
- package/dist/src/Batcher.d.ts +12 -0
- package/dist/src/CallDropScheduler.d.ts +44 -0
- package/dist/src/StreamSfuClient.d.ts +25 -0
- package/dist/src/StreamVideoClient.d.ts +145 -0
- package/dist/src/__tests__/StreamVideoClient.test.d.ts +1 -0
- package/dist/src/config/defaultConfigs.d.ts +2 -0
- package/dist/src/config/types.d.ts +29 -0
- package/dist/src/coordinator/StreamCoordinatorClient.d.ts +19 -0
- package/dist/src/coordinator/connection/base64.d.ts +2 -0
- package/dist/src/coordinator/connection/client.d.ts +174 -0
- package/dist/src/coordinator/connection/connection.d.ts +139 -0
- package/dist/src/coordinator/connection/connection_fallback.d.ts +38 -0
- package/dist/src/coordinator/connection/errors.d.ts +16 -0
- package/dist/src/coordinator/connection/events.d.ts +7 -0
- package/dist/src/coordinator/connection/insights.d.ts +58 -0
- package/dist/src/coordinator/connection/signing.d.ts +30 -0
- package/dist/src/coordinator/connection/token_manager.d.ts +39 -0
- package/dist/src/coordinator/connection/types.d.ts +96 -0
- package/dist/src/coordinator/connection/utils.d.ts +25 -0
- package/dist/src/devices.d.ts +79 -0
- package/dist/src/events/call.d.ts +26 -0
- package/dist/src/events/internal.d.ts +8 -0
- package/dist/src/events/participant.d.ts +21 -0
- package/dist/src/events/speaker.d.ts +10 -0
- package/dist/src/gen/coordinator/index.d.ts +1664 -0
- package/dist/src/gen/google/protobuf/descriptor.d.ts +1650 -0
- package/dist/src/gen/google/protobuf/duration.d.ts +113 -0
- package/dist/src/gen/google/protobuf/struct.d.ts +184 -0
- package/dist/src/gen/google/protobuf/timestamp.d.ts +158 -0
- package/dist/src/gen/video/coordinator/broadcast_v1/broadcast.d.ts +66 -0
- package/dist/src/gen/video/coordinator/call_v1/call.d.ts +254 -0
- package/dist/src/gen/video/coordinator/client_v1_rpc/client_rpc.client.d.ts +351 -0
- package/dist/src/gen/video/coordinator/client_v1_rpc/client_rpc.d.ts +1488 -0
- package/dist/src/gen/video/coordinator/client_v1_rpc/envelopes.d.ts +143 -0
- package/dist/src/gen/video/coordinator/client_v1_rpc/websocket.d.ts +292 -0
- package/dist/src/gen/video/coordinator/edge_v1/edge.d.ts +183 -0
- package/dist/src/gen/video/coordinator/event_v1/event.d.ts +411 -0
- package/dist/src/gen/video/coordinator/geofence_v1/geofence.d.ts +63 -0
- package/dist/src/gen/video/coordinator/member_v1/member.d.ts +59 -0
- package/dist/src/gen/video/coordinator/participant_v1/participant.d.ts +103 -0
- package/dist/src/gen/video/coordinator/push_v1/push.d.ts +240 -0
- package/dist/src/gen/video/coordinator/stat_v1/stat.d.ts +308 -0
- package/dist/src/gen/video/coordinator/user_v1/user.d.ts +112 -0
- package/dist/src/gen/video/coordinator/utils_v1/utils.d.ts +47 -0
- package/dist/src/gen/video/sfu/event/events.d.ts +736 -0
- package/dist/src/gen/video/sfu/models/models.d.ts +460 -0
- package/dist/src/gen/video/sfu/signal_rpc/signal.client.d.ts +89 -0
- package/dist/src/gen/video/sfu/signal_rpc/signal.d.ts +320 -0
- package/dist/src/helpers/browsers.d.ts +8 -0
- package/dist/src/helpers/sound-detector.d.ts +34 -0
- package/dist/src/rpc/createClient.d.ts +10 -0
- package/dist/src/rpc/index.d.ts +2 -0
- package/dist/src/rpc/latency.d.ts +9 -0
- package/dist/src/rtc/Call.d.ts +180 -0
- package/dist/src/rtc/CallMetadata.d.ts +9 -0
- package/dist/src/rtc/Dispatcher.d.ts +9 -0
- package/dist/src/rtc/IceTrickleBuffer.d.ts +11 -0
- package/dist/src/rtc/callEventHandlers.d.ts +5 -0
- package/dist/src/rtc/codecs.d.ts +2 -0
- package/dist/src/rtc/helpers/iceCandidate.d.ts +2 -0
- package/dist/src/rtc/helpers/tracks.d.ts +3 -0
- package/dist/src/rtc/publisher.d.ts +53 -0
- package/dist/src/rtc/signal.d.ts +5 -0
- package/dist/src/rtc/subscriber.d.ts +7 -0
- package/dist/src/rtc/types.d.ts +84 -0
- package/dist/src/rtc/videoLayers.d.ts +17 -0
- package/dist/src/stats/coordinator-stats-reporter.d.ts +10 -0
- package/dist/src/stats/state-store-stats-reporter.d.ts +57 -0
- package/dist/src/stats/types.d.ts +42 -0
- package/dist/src/store/index.d.ts +2 -0
- package/dist/src/store/rxUtils.d.ts +18 -0
- package/dist/src/store/stateStore.d.ts +182 -0
- package/generate-openapi.sh +32 -0
- package/index.ts +30 -0
- package/openapitools.json +7 -0
- package/package.json +54 -0
- package/rollup.config.mjs +48 -0
- package/src/Batcher.ts +43 -0
- package/src/CallDropScheduler.ts +192 -0
- package/src/StreamSfuClient.ts +185 -0
- package/src/StreamVideoClient.ts +487 -0
- package/src/__tests__/StreamVideoClient.test.ts +83 -0
- package/src/config/defaultConfigs.ts +15 -0
- package/src/config/types.ts +30 -0
- package/src/coordinator/StreamCoordinatorClient.ts +111 -0
- package/src/coordinator/connection/base64.ts +80 -0
- package/src/coordinator/connection/client.ts +815 -0
- package/src/coordinator/connection/connection.ts +750 -0
- package/src/coordinator/connection/connection_fallback.ts +239 -0
- package/src/coordinator/connection/errors.ts +70 -0
- package/src/coordinator/connection/events.ts +10 -0
- package/src/coordinator/connection/insights.ts +88 -0
- package/src/coordinator/connection/signing.ts +104 -0
- package/src/coordinator/connection/token_manager.ts +160 -0
- package/src/coordinator/connection/types.ts +120 -0
- package/src/coordinator/connection/utils.ts +148 -0
- package/src/devices.ts +266 -0
- package/src/events/call.ts +166 -0
- package/src/events/internal.ts +47 -0
- package/src/events/participant.ts +97 -0
- package/src/events/speaker.ts +62 -0
- package/src/gen/coordinator/index.ts +1653 -0
- package/src/gen/google/protobuf/descriptor.ts +3466 -0
- package/src/gen/google/protobuf/duration.ts +232 -0
- package/src/gen/google/protobuf/struct.ts +481 -0
- package/src/gen/google/protobuf/timestamp.ts +291 -0
- package/src/gen/video/coordinator/broadcast_v1/broadcast.ts +154 -0
- package/src/gen/video/coordinator/call_v1/call.ts +651 -0
- package/src/gen/video/coordinator/client_v1_rpc/client_rpc.client.ts +463 -0
- package/src/gen/video/coordinator/client_v1_rpc/client_rpc.ts +3819 -0
- package/src/gen/video/coordinator/client_v1_rpc/envelopes.ts +424 -0
- package/src/gen/video/coordinator/client_v1_rpc/websocket.ts +719 -0
- package/src/gen/video/coordinator/edge_v1/edge.ts +532 -0
- package/src/gen/video/coordinator/event_v1/event.ts +1171 -0
- package/src/gen/video/coordinator/geofence_v1/geofence.ts +128 -0
- package/src/gen/video/coordinator/member_v1/member.ts +138 -0
- package/src/gen/video/coordinator/participant_v1/participant.ts +261 -0
- package/src/gen/video/coordinator/push_v1/push.ts +651 -0
- package/src/gen/video/coordinator/stat_v1/stat.ts +656 -0
- package/src/gen/video/coordinator/user_v1/user.ts +277 -0
- package/src/gen/video/coordinator/utils_v1/utils.ts +98 -0
- package/src/gen/video/sfu/event/events.ts +1962 -0
- package/src/gen/video/sfu/models/models.ts +1062 -0
- package/src/gen/video/sfu/signal_rpc/signal.client.ts +108 -0
- package/src/gen/video/sfu/signal_rpc/signal.ts +906 -0
- package/src/helpers/browsers.ts +13 -0
- package/src/helpers/sound-detector.ts +85 -0
- package/src/rpc/createClient.ts +50 -0
- package/src/rpc/index.ts +2 -0
- package/src/rpc/latency.ts +43 -0
- package/src/rtc/Call.ts +585 -0
- package/src/rtc/CallMetadata.ts +24 -0
- package/src/rtc/Dispatcher.ts +46 -0
- package/src/rtc/IceTrickleBuffer.ts +21 -0
- package/src/rtc/callEventHandlers.ts +37 -0
- package/src/rtc/codecs.ts +61 -0
- package/src/rtc/helpers/iceCandidate.ts +16 -0
- package/src/rtc/helpers/tracks.ts +18 -0
- package/src/rtc/publisher.ts +305 -0
- package/src/rtc/signal.ts +34 -0
- package/src/rtc/subscriber.ts +85 -0
- package/src/rtc/types.ts +105 -0
- package/src/rtc/videoLayers.ts +103 -0
- package/src/stats/coordinator-stats-reporter.ts +167 -0
- package/src/stats/state-store-stats-reporter.ts +364 -0
- package/src/stats/types.ts +46 -0
- package/src/store/index.ts +2 -0
- package/src/store/rxUtils.ts +42 -0
- package/src/store/stateStore.ts +341 -0
- package/tsconfig.json +25 -0
- package/typedoc.json +11 -0
- package/vite.config.ts +11 -0
|
@@ -0,0 +1,3819 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @generated by protobuf-ts 2.8.1 with parameter long_type_string,client_generic,server_none,eslint_disable
|
|
3
|
+
// @generated from protobuf file "video/coordinator/client_v1_rpc/client_rpc.proto" (package "stream.video.coordinator.client_v1_rpc", syntax proto3)
|
|
4
|
+
// tslint:disable
|
|
5
|
+
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
6
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
7
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
8
|
+
import { WireType } from "@protobuf-ts/runtime";
|
|
9
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
10
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
11
|
+
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
12
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
13
|
+
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
14
|
+
import { MESSAGE_TYPE } from "@protobuf-ts/runtime";
|
|
15
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
16
|
+
import { Broadcast } from "../broadcast_v1/broadcast";
|
|
17
|
+
import { RTMPOptions } from "../broadcast_v1/broadcast";
|
|
18
|
+
import { MediaStateChanged } from "../stat_v1/stat";
|
|
19
|
+
import { ParticipantDisconnected } from "../stat_v1/stat";
|
|
20
|
+
import { ParticipantConnected } from "../stat_v1/stat";
|
|
21
|
+
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
22
|
+
import { Device } from "../push_v1/push";
|
|
23
|
+
import { DeviceInput } from "../push_v1/push";
|
|
24
|
+
import { Credentials } from "../edge_v1/edge";
|
|
25
|
+
import { LatencyMeasurements } from "../edge_v1/edge";
|
|
26
|
+
import { User } from "../user_v1/user";
|
|
27
|
+
import { MembersEnvelope } from "./envelopes";
|
|
28
|
+
import { CallsEnvelope } from "./envelopes";
|
|
29
|
+
import { Sort } from "../utils_v1/utils";
|
|
30
|
+
import { CallSettings } from "../call_v1/call";
|
|
31
|
+
import { Edge } from "../edge_v1/edge";
|
|
32
|
+
import { UserInput } from "../user_v1/user";
|
|
33
|
+
import { CallEnvelope } from "./envelopes";
|
|
34
|
+
/**
|
|
35
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.GetCallRequest
|
|
36
|
+
*/
|
|
37
|
+
export interface GetCallRequest {
|
|
38
|
+
/**
|
|
39
|
+
* @generated from protobuf field: string call_cid = 1;
|
|
40
|
+
*/
|
|
41
|
+
callCid: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.GetCallResponse
|
|
45
|
+
*/
|
|
46
|
+
export interface GetCallResponse {
|
|
47
|
+
/**
|
|
48
|
+
* @generated from protobuf field: stream.video.coordinator.client_v1_rpc.CallEnvelope call = 1;
|
|
49
|
+
*/
|
|
50
|
+
call?: CallEnvelope;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.MemberInput
|
|
54
|
+
*/
|
|
55
|
+
export interface MemberInput {
|
|
56
|
+
/**
|
|
57
|
+
* @generated from protobuf field: string user_id = 1;
|
|
58
|
+
*/
|
|
59
|
+
userId: string;
|
|
60
|
+
/**
|
|
61
|
+
* @generated from protobuf field: string role = 2;
|
|
62
|
+
*/
|
|
63
|
+
role: string;
|
|
64
|
+
/**
|
|
65
|
+
* @generated from protobuf field: bytes custom_json = 3;
|
|
66
|
+
*/
|
|
67
|
+
customJson: Uint8Array;
|
|
68
|
+
/**
|
|
69
|
+
* The user data for the user
|
|
70
|
+
* If the user does not exist, this will be used to create the user
|
|
71
|
+
* If the user already exists, this input will be ignored
|
|
72
|
+
*
|
|
73
|
+
* @generated from protobuf field: stream.video.coordinator.user_v1.UserInput user_input = 4;
|
|
74
|
+
*/
|
|
75
|
+
userInput?: UserInput;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.UpsertCallMembersRequest
|
|
79
|
+
*/
|
|
80
|
+
export interface UpsertCallMembersRequest {
|
|
81
|
+
/**
|
|
82
|
+
* @generated from protobuf field: string call_cid = 1;
|
|
83
|
+
*/
|
|
84
|
+
callCid: string;
|
|
85
|
+
/**
|
|
86
|
+
* @generated from protobuf field: repeated stream.video.coordinator.client_v1_rpc.MemberInput members = 2;
|
|
87
|
+
*/
|
|
88
|
+
members: MemberInput[];
|
|
89
|
+
/**
|
|
90
|
+
* Ringing option, used to signal to clients' UI
|
|
91
|
+
*
|
|
92
|
+
* @generated from protobuf field: bool ring = 3;
|
|
93
|
+
*/
|
|
94
|
+
ring: boolean;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.UpsertCallMembersResponse
|
|
98
|
+
*/
|
|
99
|
+
export interface UpsertCallMembersResponse {
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.DeleteCallMembersRequest
|
|
103
|
+
*/
|
|
104
|
+
export interface DeleteCallMembersRequest {
|
|
105
|
+
/**
|
|
106
|
+
* @generated from protobuf field: string call_cid = 1;
|
|
107
|
+
*/
|
|
108
|
+
callCid: string;
|
|
109
|
+
/**
|
|
110
|
+
* @generated from protobuf field: repeated string user_ids = 2;
|
|
111
|
+
*/
|
|
112
|
+
userIds: string[];
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.DeleteCallMembersResponse
|
|
116
|
+
*/
|
|
117
|
+
export interface DeleteCallMembersResponse {
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* A message that carries data for call creation
|
|
121
|
+
*
|
|
122
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.CreateCallInput
|
|
123
|
+
*/
|
|
124
|
+
export interface CreateCallInput {
|
|
125
|
+
/**
|
|
126
|
+
* Call properties to set
|
|
127
|
+
*
|
|
128
|
+
* @generated from protobuf field: stream.video.coordinator.client_v1_rpc.CallInput call = 1;
|
|
129
|
+
*/
|
|
130
|
+
call?: CallInput;
|
|
131
|
+
/**
|
|
132
|
+
* Members to add to the created call
|
|
133
|
+
*
|
|
134
|
+
* @generated from protobuf field: repeated stream.video.coordinator.client_v1_rpc.MemberInput members = 2;
|
|
135
|
+
*/
|
|
136
|
+
members: MemberInput[];
|
|
137
|
+
/**
|
|
138
|
+
* Ringing option, used to signal to clients' UI
|
|
139
|
+
*
|
|
140
|
+
* @generated from protobuf field: optional bool ring = 3;
|
|
141
|
+
*/
|
|
142
|
+
ring?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* @generated from protobuf oneof: created_by
|
|
145
|
+
*/
|
|
146
|
+
createdBy: {
|
|
147
|
+
oneofKind: "userId";
|
|
148
|
+
/**
|
|
149
|
+
* @generated from protobuf field: string user_id = 4;
|
|
150
|
+
*/
|
|
151
|
+
userId: string;
|
|
152
|
+
} | {
|
|
153
|
+
oneofKind: "user";
|
|
154
|
+
/**
|
|
155
|
+
* @generated from protobuf field: stream.video.coordinator.user_v1.UserInput user = 5;
|
|
156
|
+
*/
|
|
157
|
+
user: UserInput;
|
|
158
|
+
} | {
|
|
159
|
+
oneofKind: undefined;
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* A request message for GetOrCreateCall endpoint
|
|
164
|
+
*
|
|
165
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.CreateCallRequest
|
|
166
|
+
*/
|
|
167
|
+
export interface CreateCallRequest {
|
|
168
|
+
/**
|
|
169
|
+
* Call type
|
|
170
|
+
*
|
|
171
|
+
* @generated from protobuf field: string type = 1;
|
|
172
|
+
*/
|
|
173
|
+
type: string;
|
|
174
|
+
/**
|
|
175
|
+
* Call ID. If empty, will be generated as UUIDv4
|
|
176
|
+
*
|
|
177
|
+
* @generated from protobuf field: optional string id = 2;
|
|
178
|
+
*/
|
|
179
|
+
id?: string;
|
|
180
|
+
/**
|
|
181
|
+
* Call creation input, only used if the call does not exist
|
|
182
|
+
*
|
|
183
|
+
* @generated from protobuf field: stream.video.coordinator.client_v1_rpc.CreateCallInput input = 3;
|
|
184
|
+
*/
|
|
185
|
+
input?: CreateCallInput;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* A request message for GetOrCreateCall endpoint
|
|
189
|
+
*
|
|
190
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.GetOrCreateCallRequest
|
|
191
|
+
*/
|
|
192
|
+
export interface GetOrCreateCallRequest {
|
|
193
|
+
/**
|
|
194
|
+
* Call type
|
|
195
|
+
*
|
|
196
|
+
* @generated from protobuf field: string type = 1;
|
|
197
|
+
*/
|
|
198
|
+
type: string;
|
|
199
|
+
/**
|
|
200
|
+
* Call ID
|
|
201
|
+
*
|
|
202
|
+
* @generated from protobuf field: string id = 2;
|
|
203
|
+
*/
|
|
204
|
+
id: string;
|
|
205
|
+
/**
|
|
206
|
+
* Call creation input, only used if the call does not exist
|
|
207
|
+
*
|
|
208
|
+
* @generated from protobuf field: stream.video.coordinator.client_v1_rpc.CreateCallInput input = 3;
|
|
209
|
+
*/
|
|
210
|
+
input?: CreateCallInput;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* A request message for JoinCall endpoint
|
|
214
|
+
*
|
|
215
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.JoinCallRequest
|
|
216
|
+
*/
|
|
217
|
+
export interface JoinCallRequest {
|
|
218
|
+
/**
|
|
219
|
+
* Call type
|
|
220
|
+
*
|
|
221
|
+
* @generated from protobuf field: string type = 1;
|
|
222
|
+
*/
|
|
223
|
+
type: string;
|
|
224
|
+
/**
|
|
225
|
+
* Call ID
|
|
226
|
+
*
|
|
227
|
+
* @generated from protobuf field: string id = 2;
|
|
228
|
+
*/
|
|
229
|
+
id: string;
|
|
230
|
+
/**
|
|
231
|
+
* Call creation input, only used if the call does not exist
|
|
232
|
+
*
|
|
233
|
+
* @generated from protobuf field: stream.video.coordinator.client_v1_rpc.CreateCallInput input = 3;
|
|
234
|
+
*/
|
|
235
|
+
input?: CreateCallInput;
|
|
236
|
+
/**
|
|
237
|
+
* Preferred client datacenter. This is optional and when set, preferred datacenter selection is not guaranteed
|
|
238
|
+
*
|
|
239
|
+
* @generated from protobuf field: string datacenter_id = 4;
|
|
240
|
+
*/
|
|
241
|
+
datacenterId: string;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* A request message for GetOrCreateCall endpoint
|
|
245
|
+
*
|
|
246
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.JoinCallResponse
|
|
247
|
+
*/
|
|
248
|
+
export interface JoinCallResponse {
|
|
249
|
+
/**
|
|
250
|
+
* @generated from protobuf field: stream.video.coordinator.client_v1_rpc.CallEnvelope call = 1;
|
|
251
|
+
*/
|
|
252
|
+
call?: CallEnvelope;
|
|
253
|
+
/**
|
|
254
|
+
* Whether a call was created
|
|
255
|
+
*
|
|
256
|
+
* @generated from protobuf field: bool created = 2;
|
|
257
|
+
*/
|
|
258
|
+
created: boolean;
|
|
259
|
+
/**
|
|
260
|
+
* A list of endpoints to measure latency
|
|
261
|
+
*
|
|
262
|
+
* @generated from protobuf field: repeated stream.video.coordinator.edge_v1.Edge edges = 3;
|
|
263
|
+
*/
|
|
264
|
+
edges: Edge[];
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Represents all updatable room fields
|
|
268
|
+
*
|
|
269
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.CallInput
|
|
270
|
+
*/
|
|
271
|
+
export interface CallInput {
|
|
272
|
+
/**
|
|
273
|
+
* Custom JSON object that is stored in this call
|
|
274
|
+
* All users with read permissions will have access to this object
|
|
275
|
+
*
|
|
276
|
+
* @generated from protobuf field: bytes custom_json = 1;
|
|
277
|
+
*/
|
|
278
|
+
customJson: Uint8Array;
|
|
279
|
+
/**
|
|
280
|
+
* Call settings to be overridden specifically
|
|
281
|
+
*
|
|
282
|
+
* @generated from protobuf field: stream.video.coordinator.call_v1.CallSettings settings_overrides = 2;
|
|
283
|
+
*/
|
|
284
|
+
settingsOverrides?: CallSettings;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.GetOrCreateCallResponse
|
|
288
|
+
*/
|
|
289
|
+
export interface GetOrCreateCallResponse {
|
|
290
|
+
/**
|
|
291
|
+
* @generated from protobuf field: stream.video.coordinator.client_v1_rpc.CallEnvelope call = 1;
|
|
292
|
+
*/
|
|
293
|
+
call?: CallEnvelope;
|
|
294
|
+
/**
|
|
295
|
+
* Whether a call was created
|
|
296
|
+
*
|
|
297
|
+
* @generated from protobuf field: bool created = 2;
|
|
298
|
+
*/
|
|
299
|
+
created: boolean;
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.UpdateCallRequest
|
|
303
|
+
*/
|
|
304
|
+
export interface UpdateCallRequest {
|
|
305
|
+
/**
|
|
306
|
+
* @generated from protobuf field: string call_cid = 1;
|
|
307
|
+
*/
|
|
308
|
+
callCid: string;
|
|
309
|
+
/**
|
|
310
|
+
* @generated from protobuf field: stream.video.coordinator.client_v1_rpc.CallInput input = 2;
|
|
311
|
+
*/
|
|
312
|
+
input?: CallInput;
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.UpdateCallResponse
|
|
316
|
+
*/
|
|
317
|
+
export interface UpdateCallResponse {
|
|
318
|
+
/**
|
|
319
|
+
* @generated from protobuf field: stream.video.coordinator.client_v1_rpc.CallEnvelope call = 1;
|
|
320
|
+
*/
|
|
321
|
+
call?: CallEnvelope;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.RoleOverride
|
|
325
|
+
*/
|
|
326
|
+
export interface RoleOverride {
|
|
327
|
+
/**
|
|
328
|
+
* the users that should get the new role, cannot be empty
|
|
329
|
+
*
|
|
330
|
+
* @generated from protobuf field: repeated string user_ids = 1;
|
|
331
|
+
*/
|
|
332
|
+
userIds: string[];
|
|
333
|
+
/**
|
|
334
|
+
* the new role
|
|
335
|
+
*
|
|
336
|
+
* @generated from protobuf field: optional string role_name = 2;
|
|
337
|
+
*/
|
|
338
|
+
roleName?: string;
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.PermissionGrantOverride
|
|
342
|
+
*/
|
|
343
|
+
export interface PermissionGrantOverride {
|
|
344
|
+
/**
|
|
345
|
+
* the users that will get the new permissions granted
|
|
346
|
+
* if empty, the grant applies to all users
|
|
347
|
+
*
|
|
348
|
+
* @generated from protobuf field: repeated string user_ids = 1;
|
|
349
|
+
*/
|
|
350
|
+
userIds: string[];
|
|
351
|
+
/**
|
|
352
|
+
* the list of permissions granted to users
|
|
353
|
+
*
|
|
354
|
+
* @generated from protobuf field: repeated string permissions = 2;
|
|
355
|
+
*/
|
|
356
|
+
permissions: string[];
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.UpdateCallPermissionsRequest
|
|
360
|
+
*/
|
|
361
|
+
export interface UpdateCallPermissionsRequest {
|
|
362
|
+
/**
|
|
363
|
+
* @generated from protobuf field: string call_cid = 1;
|
|
364
|
+
*/
|
|
365
|
+
callCid: string;
|
|
366
|
+
/**
|
|
367
|
+
* @generated from protobuf oneof: grant_input
|
|
368
|
+
*/
|
|
369
|
+
grantInput: {
|
|
370
|
+
oneofKind: "roleOverride";
|
|
371
|
+
/**
|
|
372
|
+
* @generated from protobuf field: stream.video.coordinator.client_v1_rpc.RoleOverride role_override = 2;
|
|
373
|
+
*/
|
|
374
|
+
roleOverride: RoleOverride;
|
|
375
|
+
} | {
|
|
376
|
+
oneofKind: "permissionOverride";
|
|
377
|
+
/**
|
|
378
|
+
* @generated from protobuf field: stream.video.coordinator.client_v1_rpc.PermissionGrantOverride permission_override = 3;
|
|
379
|
+
*/
|
|
380
|
+
permissionOverride: PermissionGrantOverride;
|
|
381
|
+
} | {
|
|
382
|
+
oneofKind: undefined;
|
|
383
|
+
};
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.UpdateCallPermissionsResponse
|
|
387
|
+
*/
|
|
388
|
+
export interface UpdateCallPermissionsResponse {
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.EndCallRequest
|
|
392
|
+
*/
|
|
393
|
+
export interface EndCallRequest {
|
|
394
|
+
/**
|
|
395
|
+
* @generated from protobuf field: string call_cid = 1;
|
|
396
|
+
*/
|
|
397
|
+
callCid: string;
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.EndCallResponse
|
|
401
|
+
*/
|
|
402
|
+
export interface EndCallResponse {
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.CreateCallResponse
|
|
406
|
+
*/
|
|
407
|
+
export interface CreateCallResponse {
|
|
408
|
+
/**
|
|
409
|
+
* @generated from protobuf field: stream.video.coordinator.client_v1_rpc.CallEnvelope call = 1;
|
|
410
|
+
*/
|
|
411
|
+
call?: CallEnvelope;
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.QueryCallsRequest
|
|
415
|
+
*/
|
|
416
|
+
export interface QueryCallsRequest {
|
|
417
|
+
/**
|
|
418
|
+
* @generated from protobuf field: bytes mq_json = 1;
|
|
419
|
+
*/
|
|
420
|
+
mqJson: Uint8Array;
|
|
421
|
+
/**
|
|
422
|
+
* @generated from protobuf field: optional int32 limit = 2;
|
|
423
|
+
*/
|
|
424
|
+
limit?: number;
|
|
425
|
+
/**
|
|
426
|
+
* @generated from protobuf field: repeated stream.video.coordinator.utils_v1.Sort sorts = 3;
|
|
427
|
+
*/
|
|
428
|
+
sorts: Sort[];
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.QueryCallsResponse
|
|
432
|
+
*/
|
|
433
|
+
export interface QueryCallsResponse {
|
|
434
|
+
/**
|
|
435
|
+
* @generated from protobuf field: stream.video.coordinator.client_v1_rpc.CallsEnvelope calls = 1;
|
|
436
|
+
*/
|
|
437
|
+
calls?: CallsEnvelope;
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.QueryMembersRequest
|
|
441
|
+
*/
|
|
442
|
+
export interface QueryMembersRequest {
|
|
443
|
+
/**
|
|
444
|
+
* @generated from protobuf field: bytes mq_json = 1;
|
|
445
|
+
*/
|
|
446
|
+
mqJson: Uint8Array;
|
|
447
|
+
/**
|
|
448
|
+
* @generated from protobuf field: optional int32 limit = 2;
|
|
449
|
+
*/
|
|
450
|
+
limit?: number;
|
|
451
|
+
/**
|
|
452
|
+
* @generated from protobuf field: repeated stream.video.coordinator.utils_v1.Sort sorts = 3;
|
|
453
|
+
*/
|
|
454
|
+
sorts: Sort[];
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.QueryMembersResponse
|
|
458
|
+
*/
|
|
459
|
+
export interface QueryMembersResponse {
|
|
460
|
+
/**
|
|
461
|
+
* @generated from protobuf field: stream.video.coordinator.client_v1_rpc.MembersEnvelope members = 1;
|
|
462
|
+
*/
|
|
463
|
+
members?: MembersEnvelope;
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.QueryUsersRequest
|
|
467
|
+
*/
|
|
468
|
+
export interface QueryUsersRequest {
|
|
469
|
+
/**
|
|
470
|
+
* @generated from protobuf field: bytes mq_json = 1;
|
|
471
|
+
*/
|
|
472
|
+
mqJson: Uint8Array;
|
|
473
|
+
/**
|
|
474
|
+
* @generated from protobuf field: optional int32 limit = 2;
|
|
475
|
+
*/
|
|
476
|
+
limit?: number;
|
|
477
|
+
/**
|
|
478
|
+
* @generated from protobuf field: repeated stream.video.coordinator.utils_v1.Sort sorts = 3;
|
|
479
|
+
*/
|
|
480
|
+
sorts: Sort[];
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.QueryUsersResponse
|
|
484
|
+
*/
|
|
485
|
+
export interface QueryUsersResponse {
|
|
486
|
+
/**
|
|
487
|
+
* @generated from protobuf field: repeated stream.video.coordinator.user_v1.User users = 1;
|
|
488
|
+
*/
|
|
489
|
+
users: User[];
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.UpsertUsersRequest
|
|
493
|
+
*/
|
|
494
|
+
export interface UpsertUsersRequest {
|
|
495
|
+
/**
|
|
496
|
+
* @generated from protobuf field: repeated stream.video.coordinator.user_v1.UserInput users = 1;
|
|
497
|
+
*/
|
|
498
|
+
users: UserInput[];
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.UpsertUsersResponse
|
|
502
|
+
*/
|
|
503
|
+
export interface UpsertUsersResponse {
|
|
504
|
+
/**
|
|
505
|
+
* @generated from protobuf field: repeated stream.video.coordinator.user_v1.User users = 1;
|
|
506
|
+
*/
|
|
507
|
+
users: User[];
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* A request message for GetCallEdgeServer endpoint
|
|
511
|
+
*
|
|
512
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.GetCallEdgeServerRequest
|
|
513
|
+
*/
|
|
514
|
+
export interface GetCallEdgeServerRequest {
|
|
515
|
+
/**
|
|
516
|
+
* Call CID to get SFU for
|
|
517
|
+
*
|
|
518
|
+
* @generated from protobuf field: string call_cid = 1;
|
|
519
|
+
*/
|
|
520
|
+
callCid: string;
|
|
521
|
+
/**
|
|
522
|
+
* Latency measurement results
|
|
523
|
+
* Optional
|
|
524
|
+
*
|
|
525
|
+
* @generated from protobuf field: stream.video.coordinator.edge_v1.LatencyMeasurements measurements = 2;
|
|
526
|
+
*/
|
|
527
|
+
measurements?: LatencyMeasurements;
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.GetCallEdgeServerResponse
|
|
531
|
+
*/
|
|
532
|
+
export interface GetCallEdgeServerResponse {
|
|
533
|
+
/**
|
|
534
|
+
* @generated from protobuf field: stream.video.coordinator.client_v1_rpc.CallEnvelope call = 1;
|
|
535
|
+
*/
|
|
536
|
+
call?: CallEnvelope;
|
|
537
|
+
/**
|
|
538
|
+
* Call edge server credentials
|
|
539
|
+
*
|
|
540
|
+
* @generated from protobuf field: stream.video.coordinator.edge_v1.Credentials credentials = 2;
|
|
541
|
+
*/
|
|
542
|
+
credentials?: Credentials;
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.CreateDeviceRequest
|
|
546
|
+
*/
|
|
547
|
+
export interface CreateDeviceRequest {
|
|
548
|
+
/**
|
|
549
|
+
* @generated from protobuf field: stream.video.coordinator.push_v1.DeviceInput input = 1;
|
|
550
|
+
*/
|
|
551
|
+
input?: DeviceInput;
|
|
552
|
+
}
|
|
553
|
+
/**
|
|
554
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.CreateDeviceResponse
|
|
555
|
+
*/
|
|
556
|
+
export interface CreateDeviceResponse {
|
|
557
|
+
/**
|
|
558
|
+
* @generated from protobuf field: stream.video.coordinator.push_v1.Device device = 1;
|
|
559
|
+
*/
|
|
560
|
+
device?: Device;
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.DeleteDeviceRequest
|
|
564
|
+
*/
|
|
565
|
+
export interface DeleteDeviceRequest {
|
|
566
|
+
/**
|
|
567
|
+
* @generated from protobuf field: string id = 1;
|
|
568
|
+
*/
|
|
569
|
+
id: string;
|
|
570
|
+
}
|
|
571
|
+
/**
|
|
572
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.DeleteDeviceResponse
|
|
573
|
+
*/
|
|
574
|
+
export interface DeleteDeviceResponse {
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.QueryDevicesRequest
|
|
578
|
+
*/
|
|
579
|
+
export interface QueryDevicesRequest {
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.QueryDevicesResponse
|
|
583
|
+
*/
|
|
584
|
+
export interface QueryDevicesResponse {
|
|
585
|
+
/**
|
|
586
|
+
* @generated from protobuf field: repeated stream.video.coordinator.push_v1.Device devices = 1;
|
|
587
|
+
*/
|
|
588
|
+
devices: Device[];
|
|
589
|
+
}
|
|
590
|
+
/**
|
|
591
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.SendEventRequest
|
|
592
|
+
*/
|
|
593
|
+
export interface SendEventRequest {
|
|
594
|
+
/**
|
|
595
|
+
* The call cid
|
|
596
|
+
*
|
|
597
|
+
* @generated from protobuf field: string call_cid = 1;
|
|
598
|
+
*/
|
|
599
|
+
callCid: string;
|
|
600
|
+
/**
|
|
601
|
+
* The type of event
|
|
602
|
+
*
|
|
603
|
+
* @generated from protobuf field: stream.video.coordinator.client_v1_rpc.UserEventType event_type = 2;
|
|
604
|
+
*/
|
|
605
|
+
eventType: UserEventType;
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.SendEventResponse
|
|
609
|
+
*/
|
|
610
|
+
export interface SendEventResponse {
|
|
611
|
+
}
|
|
612
|
+
/**
|
|
613
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.SendCustomEventRequest
|
|
614
|
+
*/
|
|
615
|
+
export interface SendCustomEventRequest {
|
|
616
|
+
/**
|
|
617
|
+
* The call cid
|
|
618
|
+
*
|
|
619
|
+
* @generated from protobuf field: string call_cid = 1;
|
|
620
|
+
*/
|
|
621
|
+
callCid: string;
|
|
622
|
+
/**
|
|
623
|
+
* The type of event
|
|
624
|
+
*
|
|
625
|
+
* @generated from protobuf field: string type = 2;
|
|
626
|
+
*/
|
|
627
|
+
type: string;
|
|
628
|
+
/**
|
|
629
|
+
* The data of the event
|
|
630
|
+
*
|
|
631
|
+
* @generated from protobuf field: bytes data_json = 3;
|
|
632
|
+
*/
|
|
633
|
+
dataJson: Uint8Array;
|
|
634
|
+
}
|
|
635
|
+
/**
|
|
636
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.SendCustomEventResponse
|
|
637
|
+
*/
|
|
638
|
+
export interface SendCustomEventResponse {
|
|
639
|
+
}
|
|
640
|
+
/**
|
|
641
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.ReportCallStatsRequest
|
|
642
|
+
*/
|
|
643
|
+
export interface ReportCallStatsRequest {
|
|
644
|
+
/**
|
|
645
|
+
* A concatenation of call type and call id with ":" as delimiter
|
|
646
|
+
*
|
|
647
|
+
* @generated from protobuf field: string call_cid = 1;
|
|
648
|
+
*/
|
|
649
|
+
callCid: string;
|
|
650
|
+
/**
|
|
651
|
+
* A WebRTC Stats report encoded as a JSON string, as defined in https://www.w3.org/TR/webrtc/#dom-rtcstatsreport
|
|
652
|
+
*
|
|
653
|
+
* @generated from protobuf field: bytes stats_json = 2;
|
|
654
|
+
*/
|
|
655
|
+
statsJson: Uint8Array;
|
|
656
|
+
}
|
|
657
|
+
/**
|
|
658
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.ReportCallStatsResponse
|
|
659
|
+
*/
|
|
660
|
+
export interface ReportCallStatsResponse {
|
|
661
|
+
}
|
|
662
|
+
/**
|
|
663
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.ReportCallStatEventRequest
|
|
664
|
+
*/
|
|
665
|
+
export interface ReportCallStatEventRequest {
|
|
666
|
+
/**
|
|
667
|
+
* A concatenation of call type and call id with ":" as delimiter
|
|
668
|
+
*
|
|
669
|
+
* @generated from protobuf field: string call_cid = 1;
|
|
670
|
+
*/
|
|
671
|
+
callCid: string;
|
|
672
|
+
/**
|
|
673
|
+
* Event timestamp as RFC3339 string.
|
|
674
|
+
*
|
|
675
|
+
* @generated from protobuf field: google.protobuf.Timestamp timestamp = 2;
|
|
676
|
+
*/
|
|
677
|
+
timestamp?: Timestamp;
|
|
678
|
+
/**
|
|
679
|
+
* @generated from protobuf oneof: event
|
|
680
|
+
*/
|
|
681
|
+
event: {
|
|
682
|
+
oneofKind: "participantConnected";
|
|
683
|
+
/**
|
|
684
|
+
* @generated from protobuf field: stream.video.coordinator.stat_v1.ParticipantConnected participant_connected = 3;
|
|
685
|
+
*/
|
|
686
|
+
participantConnected: ParticipantConnected;
|
|
687
|
+
} | {
|
|
688
|
+
oneofKind: "participantDisconnected";
|
|
689
|
+
/**
|
|
690
|
+
* @generated from protobuf field: stream.video.coordinator.stat_v1.ParticipantDisconnected participant_disconnected = 4;
|
|
691
|
+
*/
|
|
692
|
+
participantDisconnected: ParticipantDisconnected;
|
|
693
|
+
} | {
|
|
694
|
+
oneofKind: "mediaStateChanged";
|
|
695
|
+
/**
|
|
696
|
+
* @generated from protobuf field: stream.video.coordinator.stat_v1.MediaStateChanged media_state_changed = 5;
|
|
697
|
+
*/
|
|
698
|
+
mediaStateChanged: MediaStateChanged;
|
|
699
|
+
} | {
|
|
700
|
+
oneofKind: undefined;
|
|
701
|
+
};
|
|
702
|
+
}
|
|
703
|
+
/**
|
|
704
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.ReportCallStatEventResponse
|
|
705
|
+
*/
|
|
706
|
+
export interface ReportCallStatEventResponse {
|
|
707
|
+
}
|
|
708
|
+
/**
|
|
709
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.GetCallStatsRequest
|
|
710
|
+
*/
|
|
711
|
+
export interface GetCallStatsRequest {
|
|
712
|
+
/**
|
|
713
|
+
* A concatenation of call type and call id with ":" as delimiter
|
|
714
|
+
*
|
|
715
|
+
* @generated from protobuf field: string call_cid = 1;
|
|
716
|
+
*/
|
|
717
|
+
callCid: string;
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.ReportIssueRequest
|
|
721
|
+
*/
|
|
722
|
+
export interface ReportIssueRequest {
|
|
723
|
+
/**
|
|
724
|
+
* A concatenation of call type and call id with ":" as delimiter
|
|
725
|
+
*
|
|
726
|
+
* @generated from protobuf field: string call_cid = 1;
|
|
727
|
+
*/
|
|
728
|
+
callCid: string;
|
|
729
|
+
/**
|
|
730
|
+
* Optional description.
|
|
731
|
+
*
|
|
732
|
+
* @generated from protobuf field: string description = 2;
|
|
733
|
+
*/
|
|
734
|
+
description: string;
|
|
735
|
+
/**
|
|
736
|
+
* @generated from protobuf field: bytes custom_json = 3;
|
|
737
|
+
*/
|
|
738
|
+
customJson: Uint8Array;
|
|
739
|
+
}
|
|
740
|
+
/**
|
|
741
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.ReportIssueResponse
|
|
742
|
+
*/
|
|
743
|
+
export interface ReportIssueResponse {
|
|
744
|
+
}
|
|
745
|
+
/**
|
|
746
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.ReviewCallRequest
|
|
747
|
+
*/
|
|
748
|
+
export interface ReviewCallRequest {
|
|
749
|
+
/**
|
|
750
|
+
* A concatenation of call type and call id with ":" as delimiter
|
|
751
|
+
*
|
|
752
|
+
* @generated from protobuf field: string call_cid = 1;
|
|
753
|
+
*/
|
|
754
|
+
callCid: string;
|
|
755
|
+
/**
|
|
756
|
+
* Rating between 0 and 5 stars.
|
|
757
|
+
*
|
|
758
|
+
* @generated from protobuf field: float stars = 2;
|
|
759
|
+
*/
|
|
760
|
+
stars: number;
|
|
761
|
+
/**
|
|
762
|
+
* Optional description.
|
|
763
|
+
*
|
|
764
|
+
* @generated from protobuf field: string description = 3;
|
|
765
|
+
*/
|
|
766
|
+
description: string;
|
|
767
|
+
/**
|
|
768
|
+
* Optional custom data.
|
|
769
|
+
*
|
|
770
|
+
* @generated from protobuf field: bytes custom_json = 4;
|
|
771
|
+
*/
|
|
772
|
+
customJson: Uint8Array;
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.ReviewCallResponse
|
|
776
|
+
*/
|
|
777
|
+
export interface ReviewCallResponse {
|
|
778
|
+
}
|
|
779
|
+
/**
|
|
780
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.StartBroadcastRequest
|
|
781
|
+
*/
|
|
782
|
+
export interface StartBroadcastRequest {
|
|
783
|
+
/**
|
|
784
|
+
* Call type and id.
|
|
785
|
+
*
|
|
786
|
+
* @generated from protobuf field: string call_type = 1;
|
|
787
|
+
*/
|
|
788
|
+
callType: string;
|
|
789
|
+
/**
|
|
790
|
+
* @generated from protobuf field: string call_id = 2;
|
|
791
|
+
*/
|
|
792
|
+
callId: string;
|
|
793
|
+
/**
|
|
794
|
+
* Toggles HLS broadcasting on/off.
|
|
795
|
+
*
|
|
796
|
+
* @generated from protobuf field: bool hls_broadcast = 3;
|
|
797
|
+
*/
|
|
798
|
+
hlsBroadcast: boolean;
|
|
799
|
+
/**
|
|
800
|
+
* Enables rtmp broadcasting.
|
|
801
|
+
*
|
|
802
|
+
* @generated from protobuf field: stream.video.coordinator.broadcast_v1.RTMPOptions rtmp = 5;
|
|
803
|
+
*/
|
|
804
|
+
rtmp?: RTMPOptions;
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.StartBroadcastResponse
|
|
808
|
+
*/
|
|
809
|
+
export interface StartBroadcastResponse {
|
|
810
|
+
/**
|
|
811
|
+
* @generated from protobuf field: stream.video.coordinator.broadcast_v1.Broadcast broadcast = 1;
|
|
812
|
+
*/
|
|
813
|
+
broadcast?: Broadcast;
|
|
814
|
+
}
|
|
815
|
+
/**
|
|
816
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.StopBroadcastRequest
|
|
817
|
+
*/
|
|
818
|
+
export interface StopBroadcastRequest {
|
|
819
|
+
/**
|
|
820
|
+
* Call type and id.
|
|
821
|
+
*
|
|
822
|
+
* @generated from protobuf field: string call_type = 1;
|
|
823
|
+
*/
|
|
824
|
+
callType: string;
|
|
825
|
+
/**
|
|
826
|
+
* @generated from protobuf field: string call_id = 2;
|
|
827
|
+
*/
|
|
828
|
+
callId: string;
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.StopBroadcastResponse
|
|
832
|
+
*/
|
|
833
|
+
export interface StopBroadcastResponse {
|
|
834
|
+
}
|
|
835
|
+
/**
|
|
836
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.StartRecordingRequest
|
|
837
|
+
*/
|
|
838
|
+
export interface StartRecordingRequest {
|
|
839
|
+
/**
|
|
840
|
+
* @generated from protobuf field: string call_type = 1;
|
|
841
|
+
*/
|
|
842
|
+
callType: string;
|
|
843
|
+
/**
|
|
844
|
+
* @generated from protobuf field: string call_id = 2;
|
|
845
|
+
*/
|
|
846
|
+
callId: string;
|
|
847
|
+
}
|
|
848
|
+
/**
|
|
849
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.StartRecordingResponse
|
|
850
|
+
*/
|
|
851
|
+
export interface StartRecordingResponse {
|
|
852
|
+
}
|
|
853
|
+
/**
|
|
854
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.StopRecordingRequest
|
|
855
|
+
*/
|
|
856
|
+
export interface StopRecordingRequest {
|
|
857
|
+
/**
|
|
858
|
+
* @generated from protobuf field: string call_type = 1;
|
|
859
|
+
*/
|
|
860
|
+
callType: string;
|
|
861
|
+
/**
|
|
862
|
+
* @generated from protobuf field: string call_id = 2;
|
|
863
|
+
*/
|
|
864
|
+
callId: string;
|
|
865
|
+
}
|
|
866
|
+
/**
|
|
867
|
+
* @generated from protobuf message stream.video.coordinator.client_v1_rpc.StopRecordingResponse
|
|
868
|
+
*/
|
|
869
|
+
export interface StopRecordingResponse {
|
|
870
|
+
}
|
|
871
|
+
/**
|
|
872
|
+
* @generated from protobuf enum stream.video.coordinator.client_v1_rpc.UserEventType
|
|
873
|
+
*/
|
|
874
|
+
export enum UserEventType {
|
|
875
|
+
/**
|
|
876
|
+
* @generated from protobuf enum value: USER_EVENT_TYPE_UNSPECIFIED = 0;
|
|
877
|
+
*/
|
|
878
|
+
UNSPECIFIED = 0,
|
|
879
|
+
/**
|
|
880
|
+
* @generated from protobuf enum value: USER_EVENT_TYPE_ACCEPTED_CALL = 1;
|
|
881
|
+
*/
|
|
882
|
+
ACCEPTED_CALL = 1,
|
|
883
|
+
/**
|
|
884
|
+
* @generated from protobuf enum value: USER_EVENT_TYPE_REJECTED_CALL = 2;
|
|
885
|
+
*/
|
|
886
|
+
REJECTED_CALL = 2,
|
|
887
|
+
/**
|
|
888
|
+
* @generated from protobuf enum value: USER_EVENT_TYPE_CANCELLED_CALL = 3;
|
|
889
|
+
*/
|
|
890
|
+
CANCELLED_CALL = 3
|
|
891
|
+
}
|
|
892
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
893
|
+
class GetCallRequest$Type extends MessageType<GetCallRequest> {
|
|
894
|
+
constructor() {
|
|
895
|
+
super("stream.video.coordinator.client_v1_rpc.GetCallRequest", [
|
|
896
|
+
{ no: 1, name: "call_cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
897
|
+
]);
|
|
898
|
+
}
|
|
899
|
+
create(value?: PartialMessage<GetCallRequest>): GetCallRequest {
|
|
900
|
+
const message = { callCid: "" };
|
|
901
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
902
|
+
if (value !== undefined)
|
|
903
|
+
reflectionMergePartial<GetCallRequest>(this, message, value);
|
|
904
|
+
return message;
|
|
905
|
+
}
|
|
906
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetCallRequest): GetCallRequest {
|
|
907
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
908
|
+
while (reader.pos < end) {
|
|
909
|
+
let [fieldNo, wireType] = reader.tag();
|
|
910
|
+
switch (fieldNo) {
|
|
911
|
+
case /* string call_cid */ 1:
|
|
912
|
+
message.callCid = reader.string();
|
|
913
|
+
break;
|
|
914
|
+
default:
|
|
915
|
+
let u = options.readUnknownField;
|
|
916
|
+
if (u === "throw")
|
|
917
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
918
|
+
let d = reader.skip(wireType);
|
|
919
|
+
if (u !== false)
|
|
920
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
return message;
|
|
924
|
+
}
|
|
925
|
+
internalBinaryWrite(message: GetCallRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
926
|
+
/* string call_cid = 1; */
|
|
927
|
+
if (message.callCid !== "")
|
|
928
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callCid);
|
|
929
|
+
let u = options.writeUnknownFields;
|
|
930
|
+
if (u !== false)
|
|
931
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
932
|
+
return writer;
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
/**
|
|
936
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.GetCallRequest
|
|
937
|
+
*/
|
|
938
|
+
export const GetCallRequest = new GetCallRequest$Type();
|
|
939
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
940
|
+
class GetCallResponse$Type extends MessageType<GetCallResponse> {
|
|
941
|
+
constructor() {
|
|
942
|
+
super("stream.video.coordinator.client_v1_rpc.GetCallResponse", [
|
|
943
|
+
{ no: 1, name: "call", kind: "message", T: () => CallEnvelope }
|
|
944
|
+
]);
|
|
945
|
+
}
|
|
946
|
+
create(value?: PartialMessage<GetCallResponse>): GetCallResponse {
|
|
947
|
+
const message = {};
|
|
948
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
949
|
+
if (value !== undefined)
|
|
950
|
+
reflectionMergePartial<GetCallResponse>(this, message, value);
|
|
951
|
+
return message;
|
|
952
|
+
}
|
|
953
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetCallResponse): GetCallResponse {
|
|
954
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
955
|
+
while (reader.pos < end) {
|
|
956
|
+
let [fieldNo, wireType] = reader.tag();
|
|
957
|
+
switch (fieldNo) {
|
|
958
|
+
case /* stream.video.coordinator.client_v1_rpc.CallEnvelope call */ 1:
|
|
959
|
+
message.call = CallEnvelope.internalBinaryRead(reader, reader.uint32(), options, message.call);
|
|
960
|
+
break;
|
|
961
|
+
default:
|
|
962
|
+
let u = options.readUnknownField;
|
|
963
|
+
if (u === "throw")
|
|
964
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
965
|
+
let d = reader.skip(wireType);
|
|
966
|
+
if (u !== false)
|
|
967
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
return message;
|
|
971
|
+
}
|
|
972
|
+
internalBinaryWrite(message: GetCallResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
973
|
+
/* stream.video.coordinator.client_v1_rpc.CallEnvelope call = 1; */
|
|
974
|
+
if (message.call)
|
|
975
|
+
CallEnvelope.internalBinaryWrite(message.call, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
976
|
+
let u = options.writeUnknownFields;
|
|
977
|
+
if (u !== false)
|
|
978
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
979
|
+
return writer;
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
/**
|
|
983
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.GetCallResponse
|
|
984
|
+
*/
|
|
985
|
+
export const GetCallResponse = new GetCallResponse$Type();
|
|
986
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
987
|
+
class MemberInput$Type extends MessageType<MemberInput> {
|
|
988
|
+
constructor() {
|
|
989
|
+
super("stream.video.coordinator.client_v1_rpc.MemberInput", [
|
|
990
|
+
{ no: 1, name: "user_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
991
|
+
{ no: 2, name: "role", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
992
|
+
{ no: 3, name: "custom_json", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
|
|
993
|
+
{ no: 4, name: "user_input", kind: "message", T: () => UserInput }
|
|
994
|
+
]);
|
|
995
|
+
}
|
|
996
|
+
create(value?: PartialMessage<MemberInput>): MemberInput {
|
|
997
|
+
const message = { userId: "", role: "", customJson: new Uint8Array(0) };
|
|
998
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
999
|
+
if (value !== undefined)
|
|
1000
|
+
reflectionMergePartial<MemberInput>(this, message, value);
|
|
1001
|
+
return message;
|
|
1002
|
+
}
|
|
1003
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MemberInput): MemberInput {
|
|
1004
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1005
|
+
while (reader.pos < end) {
|
|
1006
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1007
|
+
switch (fieldNo) {
|
|
1008
|
+
case /* string user_id */ 1:
|
|
1009
|
+
message.userId = reader.string();
|
|
1010
|
+
break;
|
|
1011
|
+
case /* string role */ 2:
|
|
1012
|
+
message.role = reader.string();
|
|
1013
|
+
break;
|
|
1014
|
+
case /* bytes custom_json */ 3:
|
|
1015
|
+
message.customJson = reader.bytes();
|
|
1016
|
+
break;
|
|
1017
|
+
case /* stream.video.coordinator.user_v1.UserInput user_input */ 4:
|
|
1018
|
+
message.userInput = UserInput.internalBinaryRead(reader, reader.uint32(), options, message.userInput);
|
|
1019
|
+
break;
|
|
1020
|
+
default:
|
|
1021
|
+
let u = options.readUnknownField;
|
|
1022
|
+
if (u === "throw")
|
|
1023
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1024
|
+
let d = reader.skip(wireType);
|
|
1025
|
+
if (u !== false)
|
|
1026
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
return message;
|
|
1030
|
+
}
|
|
1031
|
+
internalBinaryWrite(message: MemberInput, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1032
|
+
/* string user_id = 1; */
|
|
1033
|
+
if (message.userId !== "")
|
|
1034
|
+
writer.tag(1, WireType.LengthDelimited).string(message.userId);
|
|
1035
|
+
/* string role = 2; */
|
|
1036
|
+
if (message.role !== "")
|
|
1037
|
+
writer.tag(2, WireType.LengthDelimited).string(message.role);
|
|
1038
|
+
/* bytes custom_json = 3; */
|
|
1039
|
+
if (message.customJson.length)
|
|
1040
|
+
writer.tag(3, WireType.LengthDelimited).bytes(message.customJson);
|
|
1041
|
+
/* stream.video.coordinator.user_v1.UserInput user_input = 4; */
|
|
1042
|
+
if (message.userInput)
|
|
1043
|
+
UserInput.internalBinaryWrite(message.userInput, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
1044
|
+
let u = options.writeUnknownFields;
|
|
1045
|
+
if (u !== false)
|
|
1046
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1047
|
+
return writer;
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
/**
|
|
1051
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.MemberInput
|
|
1052
|
+
*/
|
|
1053
|
+
export const MemberInput = new MemberInput$Type();
|
|
1054
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1055
|
+
class UpsertCallMembersRequest$Type extends MessageType<UpsertCallMembersRequest> {
|
|
1056
|
+
constructor() {
|
|
1057
|
+
super("stream.video.coordinator.client_v1_rpc.UpsertCallMembersRequest", [
|
|
1058
|
+
{ no: 1, name: "call_cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1059
|
+
{ no: 2, name: "members", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => MemberInput },
|
|
1060
|
+
{ no: 3, name: "ring", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
1061
|
+
]);
|
|
1062
|
+
}
|
|
1063
|
+
create(value?: PartialMessage<UpsertCallMembersRequest>): UpsertCallMembersRequest {
|
|
1064
|
+
const message = { callCid: "", members: [], ring: false };
|
|
1065
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1066
|
+
if (value !== undefined)
|
|
1067
|
+
reflectionMergePartial<UpsertCallMembersRequest>(this, message, value);
|
|
1068
|
+
return message;
|
|
1069
|
+
}
|
|
1070
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpsertCallMembersRequest): UpsertCallMembersRequest {
|
|
1071
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1072
|
+
while (reader.pos < end) {
|
|
1073
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1074
|
+
switch (fieldNo) {
|
|
1075
|
+
case /* string call_cid */ 1:
|
|
1076
|
+
message.callCid = reader.string();
|
|
1077
|
+
break;
|
|
1078
|
+
case /* repeated stream.video.coordinator.client_v1_rpc.MemberInput members */ 2:
|
|
1079
|
+
message.members.push(MemberInput.internalBinaryRead(reader, reader.uint32(), options));
|
|
1080
|
+
break;
|
|
1081
|
+
case /* bool ring */ 3:
|
|
1082
|
+
message.ring = reader.bool();
|
|
1083
|
+
break;
|
|
1084
|
+
default:
|
|
1085
|
+
let u = options.readUnknownField;
|
|
1086
|
+
if (u === "throw")
|
|
1087
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1088
|
+
let d = reader.skip(wireType);
|
|
1089
|
+
if (u !== false)
|
|
1090
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
return message;
|
|
1094
|
+
}
|
|
1095
|
+
internalBinaryWrite(message: UpsertCallMembersRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1096
|
+
/* string call_cid = 1; */
|
|
1097
|
+
if (message.callCid !== "")
|
|
1098
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callCid);
|
|
1099
|
+
/* repeated stream.video.coordinator.client_v1_rpc.MemberInput members = 2; */
|
|
1100
|
+
for (let i = 0; i < message.members.length; i++)
|
|
1101
|
+
MemberInput.internalBinaryWrite(message.members[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1102
|
+
/* bool ring = 3; */
|
|
1103
|
+
if (message.ring !== false)
|
|
1104
|
+
writer.tag(3, WireType.Varint).bool(message.ring);
|
|
1105
|
+
let u = options.writeUnknownFields;
|
|
1106
|
+
if (u !== false)
|
|
1107
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1108
|
+
return writer;
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
/**
|
|
1112
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.UpsertCallMembersRequest
|
|
1113
|
+
*/
|
|
1114
|
+
export const UpsertCallMembersRequest = new UpsertCallMembersRequest$Type();
|
|
1115
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1116
|
+
class UpsertCallMembersResponse$Type extends MessageType<UpsertCallMembersResponse> {
|
|
1117
|
+
constructor() {
|
|
1118
|
+
super("stream.video.coordinator.client_v1_rpc.UpsertCallMembersResponse", []);
|
|
1119
|
+
}
|
|
1120
|
+
create(value?: PartialMessage<UpsertCallMembersResponse>): UpsertCallMembersResponse {
|
|
1121
|
+
const message = {};
|
|
1122
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1123
|
+
if (value !== undefined)
|
|
1124
|
+
reflectionMergePartial<UpsertCallMembersResponse>(this, message, value);
|
|
1125
|
+
return message;
|
|
1126
|
+
}
|
|
1127
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpsertCallMembersResponse): UpsertCallMembersResponse {
|
|
1128
|
+
return target ?? this.create();
|
|
1129
|
+
}
|
|
1130
|
+
internalBinaryWrite(message: UpsertCallMembersResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1131
|
+
let u = options.writeUnknownFields;
|
|
1132
|
+
if (u !== false)
|
|
1133
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1134
|
+
return writer;
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
/**
|
|
1138
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.UpsertCallMembersResponse
|
|
1139
|
+
*/
|
|
1140
|
+
export const UpsertCallMembersResponse = new UpsertCallMembersResponse$Type();
|
|
1141
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1142
|
+
class DeleteCallMembersRequest$Type extends MessageType<DeleteCallMembersRequest> {
|
|
1143
|
+
constructor() {
|
|
1144
|
+
super("stream.video.coordinator.client_v1_rpc.DeleteCallMembersRequest", [
|
|
1145
|
+
{ no: 1, name: "call_cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1146
|
+
{ no: 2, name: "user_ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
1147
|
+
]);
|
|
1148
|
+
}
|
|
1149
|
+
create(value?: PartialMessage<DeleteCallMembersRequest>): DeleteCallMembersRequest {
|
|
1150
|
+
const message = { callCid: "", userIds: [] };
|
|
1151
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1152
|
+
if (value !== undefined)
|
|
1153
|
+
reflectionMergePartial<DeleteCallMembersRequest>(this, message, value);
|
|
1154
|
+
return message;
|
|
1155
|
+
}
|
|
1156
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteCallMembersRequest): DeleteCallMembersRequest {
|
|
1157
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1158
|
+
while (reader.pos < end) {
|
|
1159
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1160
|
+
switch (fieldNo) {
|
|
1161
|
+
case /* string call_cid */ 1:
|
|
1162
|
+
message.callCid = reader.string();
|
|
1163
|
+
break;
|
|
1164
|
+
case /* repeated string user_ids */ 2:
|
|
1165
|
+
message.userIds.push(reader.string());
|
|
1166
|
+
break;
|
|
1167
|
+
default:
|
|
1168
|
+
let u = options.readUnknownField;
|
|
1169
|
+
if (u === "throw")
|
|
1170
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1171
|
+
let d = reader.skip(wireType);
|
|
1172
|
+
if (u !== false)
|
|
1173
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
return message;
|
|
1177
|
+
}
|
|
1178
|
+
internalBinaryWrite(message: DeleteCallMembersRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1179
|
+
/* string call_cid = 1; */
|
|
1180
|
+
if (message.callCid !== "")
|
|
1181
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callCid);
|
|
1182
|
+
/* repeated string user_ids = 2; */
|
|
1183
|
+
for (let i = 0; i < message.userIds.length; i++)
|
|
1184
|
+
writer.tag(2, WireType.LengthDelimited).string(message.userIds[i]);
|
|
1185
|
+
let u = options.writeUnknownFields;
|
|
1186
|
+
if (u !== false)
|
|
1187
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1188
|
+
return writer;
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
/**
|
|
1192
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.DeleteCallMembersRequest
|
|
1193
|
+
*/
|
|
1194
|
+
export const DeleteCallMembersRequest = new DeleteCallMembersRequest$Type();
|
|
1195
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1196
|
+
class DeleteCallMembersResponse$Type extends MessageType<DeleteCallMembersResponse> {
|
|
1197
|
+
constructor() {
|
|
1198
|
+
super("stream.video.coordinator.client_v1_rpc.DeleteCallMembersResponse", []);
|
|
1199
|
+
}
|
|
1200
|
+
create(value?: PartialMessage<DeleteCallMembersResponse>): DeleteCallMembersResponse {
|
|
1201
|
+
const message = {};
|
|
1202
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1203
|
+
if (value !== undefined)
|
|
1204
|
+
reflectionMergePartial<DeleteCallMembersResponse>(this, message, value);
|
|
1205
|
+
return message;
|
|
1206
|
+
}
|
|
1207
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteCallMembersResponse): DeleteCallMembersResponse {
|
|
1208
|
+
return target ?? this.create();
|
|
1209
|
+
}
|
|
1210
|
+
internalBinaryWrite(message: DeleteCallMembersResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1211
|
+
let u = options.writeUnknownFields;
|
|
1212
|
+
if (u !== false)
|
|
1213
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1214
|
+
return writer;
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
/**
|
|
1218
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.DeleteCallMembersResponse
|
|
1219
|
+
*/
|
|
1220
|
+
export const DeleteCallMembersResponse = new DeleteCallMembersResponse$Type();
|
|
1221
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1222
|
+
class CreateCallInput$Type extends MessageType<CreateCallInput> {
|
|
1223
|
+
constructor() {
|
|
1224
|
+
super("stream.video.coordinator.client_v1_rpc.CreateCallInput", [
|
|
1225
|
+
{ no: 1, name: "call", kind: "message", T: () => CallInput },
|
|
1226
|
+
{ no: 2, name: "members", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => MemberInput },
|
|
1227
|
+
{ no: 3, name: "ring", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
1228
|
+
{ no: 4, name: "user_id", kind: "scalar", oneof: "createdBy", T: 9 /*ScalarType.STRING*/ },
|
|
1229
|
+
{ no: 5, name: "user", kind: "message", oneof: "createdBy", T: () => UserInput }
|
|
1230
|
+
]);
|
|
1231
|
+
}
|
|
1232
|
+
create(value?: PartialMessage<CreateCallInput>): CreateCallInput {
|
|
1233
|
+
const message = { members: [], createdBy: { oneofKind: undefined } };
|
|
1234
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1235
|
+
if (value !== undefined)
|
|
1236
|
+
reflectionMergePartial<CreateCallInput>(this, message, value);
|
|
1237
|
+
return message;
|
|
1238
|
+
}
|
|
1239
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateCallInput): CreateCallInput {
|
|
1240
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1241
|
+
while (reader.pos < end) {
|
|
1242
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1243
|
+
switch (fieldNo) {
|
|
1244
|
+
case /* stream.video.coordinator.client_v1_rpc.CallInput call */ 1:
|
|
1245
|
+
message.call = CallInput.internalBinaryRead(reader, reader.uint32(), options, message.call);
|
|
1246
|
+
break;
|
|
1247
|
+
case /* repeated stream.video.coordinator.client_v1_rpc.MemberInput members */ 2:
|
|
1248
|
+
message.members.push(MemberInput.internalBinaryRead(reader, reader.uint32(), options));
|
|
1249
|
+
break;
|
|
1250
|
+
case /* optional bool ring */ 3:
|
|
1251
|
+
message.ring = reader.bool();
|
|
1252
|
+
break;
|
|
1253
|
+
case /* string user_id */ 4:
|
|
1254
|
+
message.createdBy = {
|
|
1255
|
+
oneofKind: "userId",
|
|
1256
|
+
userId: reader.string()
|
|
1257
|
+
};
|
|
1258
|
+
break;
|
|
1259
|
+
case /* stream.video.coordinator.user_v1.UserInput user */ 5:
|
|
1260
|
+
message.createdBy = {
|
|
1261
|
+
oneofKind: "user",
|
|
1262
|
+
user: UserInput.internalBinaryRead(reader, reader.uint32(), options, (message.createdBy as any).user)
|
|
1263
|
+
};
|
|
1264
|
+
break;
|
|
1265
|
+
default:
|
|
1266
|
+
let u = options.readUnknownField;
|
|
1267
|
+
if (u === "throw")
|
|
1268
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1269
|
+
let d = reader.skip(wireType);
|
|
1270
|
+
if (u !== false)
|
|
1271
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
return message;
|
|
1275
|
+
}
|
|
1276
|
+
internalBinaryWrite(message: CreateCallInput, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1277
|
+
/* stream.video.coordinator.client_v1_rpc.CallInput call = 1; */
|
|
1278
|
+
if (message.call)
|
|
1279
|
+
CallInput.internalBinaryWrite(message.call, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1280
|
+
/* repeated stream.video.coordinator.client_v1_rpc.MemberInput members = 2; */
|
|
1281
|
+
for (let i = 0; i < message.members.length; i++)
|
|
1282
|
+
MemberInput.internalBinaryWrite(message.members[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1283
|
+
/* optional bool ring = 3; */
|
|
1284
|
+
if (message.ring !== undefined)
|
|
1285
|
+
writer.tag(3, WireType.Varint).bool(message.ring);
|
|
1286
|
+
/* string user_id = 4; */
|
|
1287
|
+
if (message.createdBy.oneofKind === "userId")
|
|
1288
|
+
writer.tag(4, WireType.LengthDelimited).string(message.createdBy.userId);
|
|
1289
|
+
/* stream.video.coordinator.user_v1.UserInput user = 5; */
|
|
1290
|
+
if (message.createdBy.oneofKind === "user")
|
|
1291
|
+
UserInput.internalBinaryWrite(message.createdBy.user, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
1292
|
+
let u = options.writeUnknownFields;
|
|
1293
|
+
if (u !== false)
|
|
1294
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1295
|
+
return writer;
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
/**
|
|
1299
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.CreateCallInput
|
|
1300
|
+
*/
|
|
1301
|
+
export const CreateCallInput = new CreateCallInput$Type();
|
|
1302
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1303
|
+
class CreateCallRequest$Type extends MessageType<CreateCallRequest> {
|
|
1304
|
+
constructor() {
|
|
1305
|
+
super("stream.video.coordinator.client_v1_rpc.CreateCallRequest", [
|
|
1306
|
+
{ no: 1, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1307
|
+
{ no: 2, name: "id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
1308
|
+
{ no: 3, name: "input", kind: "message", T: () => CreateCallInput }
|
|
1309
|
+
]);
|
|
1310
|
+
}
|
|
1311
|
+
create(value?: PartialMessage<CreateCallRequest>): CreateCallRequest {
|
|
1312
|
+
const message = { type: "" };
|
|
1313
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1314
|
+
if (value !== undefined)
|
|
1315
|
+
reflectionMergePartial<CreateCallRequest>(this, message, value);
|
|
1316
|
+
return message;
|
|
1317
|
+
}
|
|
1318
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateCallRequest): CreateCallRequest {
|
|
1319
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1320
|
+
while (reader.pos < end) {
|
|
1321
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1322
|
+
switch (fieldNo) {
|
|
1323
|
+
case /* string type */ 1:
|
|
1324
|
+
message.type = reader.string();
|
|
1325
|
+
break;
|
|
1326
|
+
case /* optional string id */ 2:
|
|
1327
|
+
message.id = reader.string();
|
|
1328
|
+
break;
|
|
1329
|
+
case /* stream.video.coordinator.client_v1_rpc.CreateCallInput input */ 3:
|
|
1330
|
+
message.input = CreateCallInput.internalBinaryRead(reader, reader.uint32(), options, message.input);
|
|
1331
|
+
break;
|
|
1332
|
+
default:
|
|
1333
|
+
let u = options.readUnknownField;
|
|
1334
|
+
if (u === "throw")
|
|
1335
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1336
|
+
let d = reader.skip(wireType);
|
|
1337
|
+
if (u !== false)
|
|
1338
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
return message;
|
|
1342
|
+
}
|
|
1343
|
+
internalBinaryWrite(message: CreateCallRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1344
|
+
/* string type = 1; */
|
|
1345
|
+
if (message.type !== "")
|
|
1346
|
+
writer.tag(1, WireType.LengthDelimited).string(message.type);
|
|
1347
|
+
/* optional string id = 2; */
|
|
1348
|
+
if (message.id !== undefined)
|
|
1349
|
+
writer.tag(2, WireType.LengthDelimited).string(message.id);
|
|
1350
|
+
/* stream.video.coordinator.client_v1_rpc.CreateCallInput input = 3; */
|
|
1351
|
+
if (message.input)
|
|
1352
|
+
CreateCallInput.internalBinaryWrite(message.input, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1353
|
+
let u = options.writeUnknownFields;
|
|
1354
|
+
if (u !== false)
|
|
1355
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1356
|
+
return writer;
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
/**
|
|
1360
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.CreateCallRequest
|
|
1361
|
+
*/
|
|
1362
|
+
export const CreateCallRequest = new CreateCallRequest$Type();
|
|
1363
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1364
|
+
class GetOrCreateCallRequest$Type extends MessageType<GetOrCreateCallRequest> {
|
|
1365
|
+
constructor() {
|
|
1366
|
+
super("stream.video.coordinator.client_v1_rpc.GetOrCreateCallRequest", [
|
|
1367
|
+
{ no: 1, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1368
|
+
{ no: 2, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1369
|
+
{ no: 3, name: "input", kind: "message", T: () => CreateCallInput }
|
|
1370
|
+
]);
|
|
1371
|
+
}
|
|
1372
|
+
create(value?: PartialMessage<GetOrCreateCallRequest>): GetOrCreateCallRequest {
|
|
1373
|
+
const message = { type: "", id: "" };
|
|
1374
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1375
|
+
if (value !== undefined)
|
|
1376
|
+
reflectionMergePartial<GetOrCreateCallRequest>(this, message, value);
|
|
1377
|
+
return message;
|
|
1378
|
+
}
|
|
1379
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetOrCreateCallRequest): GetOrCreateCallRequest {
|
|
1380
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1381
|
+
while (reader.pos < end) {
|
|
1382
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1383
|
+
switch (fieldNo) {
|
|
1384
|
+
case /* string type */ 1:
|
|
1385
|
+
message.type = reader.string();
|
|
1386
|
+
break;
|
|
1387
|
+
case /* string id */ 2:
|
|
1388
|
+
message.id = reader.string();
|
|
1389
|
+
break;
|
|
1390
|
+
case /* stream.video.coordinator.client_v1_rpc.CreateCallInput input */ 3:
|
|
1391
|
+
message.input = CreateCallInput.internalBinaryRead(reader, reader.uint32(), options, message.input);
|
|
1392
|
+
break;
|
|
1393
|
+
default:
|
|
1394
|
+
let u = options.readUnknownField;
|
|
1395
|
+
if (u === "throw")
|
|
1396
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1397
|
+
let d = reader.skip(wireType);
|
|
1398
|
+
if (u !== false)
|
|
1399
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1400
|
+
}
|
|
1401
|
+
}
|
|
1402
|
+
return message;
|
|
1403
|
+
}
|
|
1404
|
+
internalBinaryWrite(message: GetOrCreateCallRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1405
|
+
/* string type = 1; */
|
|
1406
|
+
if (message.type !== "")
|
|
1407
|
+
writer.tag(1, WireType.LengthDelimited).string(message.type);
|
|
1408
|
+
/* string id = 2; */
|
|
1409
|
+
if (message.id !== "")
|
|
1410
|
+
writer.tag(2, WireType.LengthDelimited).string(message.id);
|
|
1411
|
+
/* stream.video.coordinator.client_v1_rpc.CreateCallInput input = 3; */
|
|
1412
|
+
if (message.input)
|
|
1413
|
+
CreateCallInput.internalBinaryWrite(message.input, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1414
|
+
let u = options.writeUnknownFields;
|
|
1415
|
+
if (u !== false)
|
|
1416
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1417
|
+
return writer;
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
/**
|
|
1421
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.GetOrCreateCallRequest
|
|
1422
|
+
*/
|
|
1423
|
+
export const GetOrCreateCallRequest = new GetOrCreateCallRequest$Type();
|
|
1424
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1425
|
+
class JoinCallRequest$Type extends MessageType<JoinCallRequest> {
|
|
1426
|
+
constructor() {
|
|
1427
|
+
super("stream.video.coordinator.client_v1_rpc.JoinCallRequest", [
|
|
1428
|
+
{ no: 1, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1429
|
+
{ no: 2, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1430
|
+
{ no: 3, name: "input", kind: "message", T: () => CreateCallInput },
|
|
1431
|
+
{ no: 4, name: "datacenter_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1432
|
+
]);
|
|
1433
|
+
}
|
|
1434
|
+
create(value?: PartialMessage<JoinCallRequest>): JoinCallRequest {
|
|
1435
|
+
const message = { type: "", id: "", datacenterId: "" };
|
|
1436
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1437
|
+
if (value !== undefined)
|
|
1438
|
+
reflectionMergePartial<JoinCallRequest>(this, message, value);
|
|
1439
|
+
return message;
|
|
1440
|
+
}
|
|
1441
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: JoinCallRequest): JoinCallRequest {
|
|
1442
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1443
|
+
while (reader.pos < end) {
|
|
1444
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1445
|
+
switch (fieldNo) {
|
|
1446
|
+
case /* string type */ 1:
|
|
1447
|
+
message.type = reader.string();
|
|
1448
|
+
break;
|
|
1449
|
+
case /* string id */ 2:
|
|
1450
|
+
message.id = reader.string();
|
|
1451
|
+
break;
|
|
1452
|
+
case /* stream.video.coordinator.client_v1_rpc.CreateCallInput input */ 3:
|
|
1453
|
+
message.input = CreateCallInput.internalBinaryRead(reader, reader.uint32(), options, message.input);
|
|
1454
|
+
break;
|
|
1455
|
+
case /* string datacenter_id */ 4:
|
|
1456
|
+
message.datacenterId = reader.string();
|
|
1457
|
+
break;
|
|
1458
|
+
default:
|
|
1459
|
+
let u = options.readUnknownField;
|
|
1460
|
+
if (u === "throw")
|
|
1461
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1462
|
+
let d = reader.skip(wireType);
|
|
1463
|
+
if (u !== false)
|
|
1464
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1467
|
+
return message;
|
|
1468
|
+
}
|
|
1469
|
+
internalBinaryWrite(message: JoinCallRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1470
|
+
/* string type = 1; */
|
|
1471
|
+
if (message.type !== "")
|
|
1472
|
+
writer.tag(1, WireType.LengthDelimited).string(message.type);
|
|
1473
|
+
/* string id = 2; */
|
|
1474
|
+
if (message.id !== "")
|
|
1475
|
+
writer.tag(2, WireType.LengthDelimited).string(message.id);
|
|
1476
|
+
/* stream.video.coordinator.client_v1_rpc.CreateCallInput input = 3; */
|
|
1477
|
+
if (message.input)
|
|
1478
|
+
CreateCallInput.internalBinaryWrite(message.input, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1479
|
+
/* string datacenter_id = 4; */
|
|
1480
|
+
if (message.datacenterId !== "")
|
|
1481
|
+
writer.tag(4, WireType.LengthDelimited).string(message.datacenterId);
|
|
1482
|
+
let u = options.writeUnknownFields;
|
|
1483
|
+
if (u !== false)
|
|
1484
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1485
|
+
return writer;
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
/**
|
|
1489
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.JoinCallRequest
|
|
1490
|
+
*/
|
|
1491
|
+
export const JoinCallRequest = new JoinCallRequest$Type();
|
|
1492
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1493
|
+
class JoinCallResponse$Type extends MessageType<JoinCallResponse> {
|
|
1494
|
+
constructor() {
|
|
1495
|
+
super("stream.video.coordinator.client_v1_rpc.JoinCallResponse", [
|
|
1496
|
+
{ no: 1, name: "call", kind: "message", T: () => CallEnvelope },
|
|
1497
|
+
{ no: 2, name: "created", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
1498
|
+
{ no: 3, name: "edges", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Edge }
|
|
1499
|
+
]);
|
|
1500
|
+
}
|
|
1501
|
+
create(value?: PartialMessage<JoinCallResponse>): JoinCallResponse {
|
|
1502
|
+
const message = { created: false, edges: [] };
|
|
1503
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1504
|
+
if (value !== undefined)
|
|
1505
|
+
reflectionMergePartial<JoinCallResponse>(this, message, value);
|
|
1506
|
+
return message;
|
|
1507
|
+
}
|
|
1508
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: JoinCallResponse): JoinCallResponse {
|
|
1509
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1510
|
+
while (reader.pos < end) {
|
|
1511
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1512
|
+
switch (fieldNo) {
|
|
1513
|
+
case /* stream.video.coordinator.client_v1_rpc.CallEnvelope call */ 1:
|
|
1514
|
+
message.call = CallEnvelope.internalBinaryRead(reader, reader.uint32(), options, message.call);
|
|
1515
|
+
break;
|
|
1516
|
+
case /* bool created */ 2:
|
|
1517
|
+
message.created = reader.bool();
|
|
1518
|
+
break;
|
|
1519
|
+
case /* repeated stream.video.coordinator.edge_v1.Edge edges */ 3:
|
|
1520
|
+
message.edges.push(Edge.internalBinaryRead(reader, reader.uint32(), options));
|
|
1521
|
+
break;
|
|
1522
|
+
default:
|
|
1523
|
+
let u = options.readUnknownField;
|
|
1524
|
+
if (u === "throw")
|
|
1525
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1526
|
+
let d = reader.skip(wireType);
|
|
1527
|
+
if (u !== false)
|
|
1528
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
return message;
|
|
1532
|
+
}
|
|
1533
|
+
internalBinaryWrite(message: JoinCallResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1534
|
+
/* stream.video.coordinator.client_v1_rpc.CallEnvelope call = 1; */
|
|
1535
|
+
if (message.call)
|
|
1536
|
+
CallEnvelope.internalBinaryWrite(message.call, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1537
|
+
/* bool created = 2; */
|
|
1538
|
+
if (message.created !== false)
|
|
1539
|
+
writer.tag(2, WireType.Varint).bool(message.created);
|
|
1540
|
+
/* repeated stream.video.coordinator.edge_v1.Edge edges = 3; */
|
|
1541
|
+
for (let i = 0; i < message.edges.length; i++)
|
|
1542
|
+
Edge.internalBinaryWrite(message.edges[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1543
|
+
let u = options.writeUnknownFields;
|
|
1544
|
+
if (u !== false)
|
|
1545
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1546
|
+
return writer;
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1549
|
+
/**
|
|
1550
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.JoinCallResponse
|
|
1551
|
+
*/
|
|
1552
|
+
export const JoinCallResponse = new JoinCallResponse$Type();
|
|
1553
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1554
|
+
class CallInput$Type extends MessageType<CallInput> {
|
|
1555
|
+
constructor() {
|
|
1556
|
+
super("stream.video.coordinator.client_v1_rpc.CallInput", [
|
|
1557
|
+
{ no: 1, name: "custom_json", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
|
|
1558
|
+
{ no: 2, name: "settings_overrides", kind: "message", T: () => CallSettings }
|
|
1559
|
+
]);
|
|
1560
|
+
}
|
|
1561
|
+
create(value?: PartialMessage<CallInput>): CallInput {
|
|
1562
|
+
const message = { customJson: new Uint8Array(0) };
|
|
1563
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1564
|
+
if (value !== undefined)
|
|
1565
|
+
reflectionMergePartial<CallInput>(this, message, value);
|
|
1566
|
+
return message;
|
|
1567
|
+
}
|
|
1568
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CallInput): CallInput {
|
|
1569
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1570
|
+
while (reader.pos < end) {
|
|
1571
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1572
|
+
switch (fieldNo) {
|
|
1573
|
+
case /* bytes custom_json */ 1:
|
|
1574
|
+
message.customJson = reader.bytes();
|
|
1575
|
+
break;
|
|
1576
|
+
case /* stream.video.coordinator.call_v1.CallSettings settings_overrides */ 2:
|
|
1577
|
+
message.settingsOverrides = CallSettings.internalBinaryRead(reader, reader.uint32(), options, message.settingsOverrides);
|
|
1578
|
+
break;
|
|
1579
|
+
default:
|
|
1580
|
+
let u = options.readUnknownField;
|
|
1581
|
+
if (u === "throw")
|
|
1582
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1583
|
+
let d = reader.skip(wireType);
|
|
1584
|
+
if (u !== false)
|
|
1585
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
return message;
|
|
1589
|
+
}
|
|
1590
|
+
internalBinaryWrite(message: CallInput, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1591
|
+
/* bytes custom_json = 1; */
|
|
1592
|
+
if (message.customJson.length)
|
|
1593
|
+
writer.tag(1, WireType.LengthDelimited).bytes(message.customJson);
|
|
1594
|
+
/* stream.video.coordinator.call_v1.CallSettings settings_overrides = 2; */
|
|
1595
|
+
if (message.settingsOverrides)
|
|
1596
|
+
CallSettings.internalBinaryWrite(message.settingsOverrides, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1597
|
+
let u = options.writeUnknownFields;
|
|
1598
|
+
if (u !== false)
|
|
1599
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1600
|
+
return writer;
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1603
|
+
/**
|
|
1604
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.CallInput
|
|
1605
|
+
*/
|
|
1606
|
+
export const CallInput = new CallInput$Type();
|
|
1607
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1608
|
+
class GetOrCreateCallResponse$Type extends MessageType<GetOrCreateCallResponse> {
|
|
1609
|
+
constructor() {
|
|
1610
|
+
super("stream.video.coordinator.client_v1_rpc.GetOrCreateCallResponse", [
|
|
1611
|
+
{ no: 1, name: "call", kind: "message", T: () => CallEnvelope },
|
|
1612
|
+
{ no: 2, name: "created", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
1613
|
+
]);
|
|
1614
|
+
}
|
|
1615
|
+
create(value?: PartialMessage<GetOrCreateCallResponse>): GetOrCreateCallResponse {
|
|
1616
|
+
const message = { created: false };
|
|
1617
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1618
|
+
if (value !== undefined)
|
|
1619
|
+
reflectionMergePartial<GetOrCreateCallResponse>(this, message, value);
|
|
1620
|
+
return message;
|
|
1621
|
+
}
|
|
1622
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetOrCreateCallResponse): GetOrCreateCallResponse {
|
|
1623
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1624
|
+
while (reader.pos < end) {
|
|
1625
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1626
|
+
switch (fieldNo) {
|
|
1627
|
+
case /* stream.video.coordinator.client_v1_rpc.CallEnvelope call */ 1:
|
|
1628
|
+
message.call = CallEnvelope.internalBinaryRead(reader, reader.uint32(), options, message.call);
|
|
1629
|
+
break;
|
|
1630
|
+
case /* bool created */ 2:
|
|
1631
|
+
message.created = reader.bool();
|
|
1632
|
+
break;
|
|
1633
|
+
default:
|
|
1634
|
+
let u = options.readUnknownField;
|
|
1635
|
+
if (u === "throw")
|
|
1636
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1637
|
+
let d = reader.skip(wireType);
|
|
1638
|
+
if (u !== false)
|
|
1639
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1640
|
+
}
|
|
1641
|
+
}
|
|
1642
|
+
return message;
|
|
1643
|
+
}
|
|
1644
|
+
internalBinaryWrite(message: GetOrCreateCallResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1645
|
+
/* stream.video.coordinator.client_v1_rpc.CallEnvelope call = 1; */
|
|
1646
|
+
if (message.call)
|
|
1647
|
+
CallEnvelope.internalBinaryWrite(message.call, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1648
|
+
/* bool created = 2; */
|
|
1649
|
+
if (message.created !== false)
|
|
1650
|
+
writer.tag(2, WireType.Varint).bool(message.created);
|
|
1651
|
+
let u = options.writeUnknownFields;
|
|
1652
|
+
if (u !== false)
|
|
1653
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1654
|
+
return writer;
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
/**
|
|
1658
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.GetOrCreateCallResponse
|
|
1659
|
+
*/
|
|
1660
|
+
export const GetOrCreateCallResponse = new GetOrCreateCallResponse$Type();
|
|
1661
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1662
|
+
class UpdateCallRequest$Type extends MessageType<UpdateCallRequest> {
|
|
1663
|
+
constructor() {
|
|
1664
|
+
super("stream.video.coordinator.client_v1_rpc.UpdateCallRequest", [
|
|
1665
|
+
{ no: 1, name: "call_cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1666
|
+
{ no: 2, name: "input", kind: "message", T: () => CallInput }
|
|
1667
|
+
]);
|
|
1668
|
+
}
|
|
1669
|
+
create(value?: PartialMessage<UpdateCallRequest>): UpdateCallRequest {
|
|
1670
|
+
const message = { callCid: "" };
|
|
1671
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1672
|
+
if (value !== undefined)
|
|
1673
|
+
reflectionMergePartial<UpdateCallRequest>(this, message, value);
|
|
1674
|
+
return message;
|
|
1675
|
+
}
|
|
1676
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateCallRequest): UpdateCallRequest {
|
|
1677
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1678
|
+
while (reader.pos < end) {
|
|
1679
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1680
|
+
switch (fieldNo) {
|
|
1681
|
+
case /* string call_cid */ 1:
|
|
1682
|
+
message.callCid = reader.string();
|
|
1683
|
+
break;
|
|
1684
|
+
case /* stream.video.coordinator.client_v1_rpc.CallInput input */ 2:
|
|
1685
|
+
message.input = CallInput.internalBinaryRead(reader, reader.uint32(), options, message.input);
|
|
1686
|
+
break;
|
|
1687
|
+
default:
|
|
1688
|
+
let u = options.readUnknownField;
|
|
1689
|
+
if (u === "throw")
|
|
1690
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1691
|
+
let d = reader.skip(wireType);
|
|
1692
|
+
if (u !== false)
|
|
1693
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
return message;
|
|
1697
|
+
}
|
|
1698
|
+
internalBinaryWrite(message: UpdateCallRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1699
|
+
/* string call_cid = 1; */
|
|
1700
|
+
if (message.callCid !== "")
|
|
1701
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callCid);
|
|
1702
|
+
/* stream.video.coordinator.client_v1_rpc.CallInput input = 2; */
|
|
1703
|
+
if (message.input)
|
|
1704
|
+
CallInput.internalBinaryWrite(message.input, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1705
|
+
let u = options.writeUnknownFields;
|
|
1706
|
+
if (u !== false)
|
|
1707
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1708
|
+
return writer;
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
/**
|
|
1712
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.UpdateCallRequest
|
|
1713
|
+
*/
|
|
1714
|
+
export const UpdateCallRequest = new UpdateCallRequest$Type();
|
|
1715
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1716
|
+
class UpdateCallResponse$Type extends MessageType<UpdateCallResponse> {
|
|
1717
|
+
constructor() {
|
|
1718
|
+
super("stream.video.coordinator.client_v1_rpc.UpdateCallResponse", [
|
|
1719
|
+
{ no: 1, name: "call", kind: "message", T: () => CallEnvelope }
|
|
1720
|
+
]);
|
|
1721
|
+
}
|
|
1722
|
+
create(value?: PartialMessage<UpdateCallResponse>): UpdateCallResponse {
|
|
1723
|
+
const message = {};
|
|
1724
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1725
|
+
if (value !== undefined)
|
|
1726
|
+
reflectionMergePartial<UpdateCallResponse>(this, message, value);
|
|
1727
|
+
return message;
|
|
1728
|
+
}
|
|
1729
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateCallResponse): UpdateCallResponse {
|
|
1730
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1731
|
+
while (reader.pos < end) {
|
|
1732
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1733
|
+
switch (fieldNo) {
|
|
1734
|
+
case /* stream.video.coordinator.client_v1_rpc.CallEnvelope call */ 1:
|
|
1735
|
+
message.call = CallEnvelope.internalBinaryRead(reader, reader.uint32(), options, message.call);
|
|
1736
|
+
break;
|
|
1737
|
+
default:
|
|
1738
|
+
let u = options.readUnknownField;
|
|
1739
|
+
if (u === "throw")
|
|
1740
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1741
|
+
let d = reader.skip(wireType);
|
|
1742
|
+
if (u !== false)
|
|
1743
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
return message;
|
|
1747
|
+
}
|
|
1748
|
+
internalBinaryWrite(message: UpdateCallResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1749
|
+
/* stream.video.coordinator.client_v1_rpc.CallEnvelope call = 1; */
|
|
1750
|
+
if (message.call)
|
|
1751
|
+
CallEnvelope.internalBinaryWrite(message.call, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1752
|
+
let u = options.writeUnknownFields;
|
|
1753
|
+
if (u !== false)
|
|
1754
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1755
|
+
return writer;
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
/**
|
|
1759
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.UpdateCallResponse
|
|
1760
|
+
*/
|
|
1761
|
+
export const UpdateCallResponse = new UpdateCallResponse$Type();
|
|
1762
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1763
|
+
class RoleOverride$Type extends MessageType<RoleOverride> {
|
|
1764
|
+
constructor() {
|
|
1765
|
+
super("stream.video.coordinator.client_v1_rpc.RoleOverride", [
|
|
1766
|
+
{ no: 1, name: "user_ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
1767
|
+
{ no: 2, name: "role_name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
1768
|
+
]);
|
|
1769
|
+
}
|
|
1770
|
+
create(value?: PartialMessage<RoleOverride>): RoleOverride {
|
|
1771
|
+
const message = { userIds: [] };
|
|
1772
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1773
|
+
if (value !== undefined)
|
|
1774
|
+
reflectionMergePartial<RoleOverride>(this, message, value);
|
|
1775
|
+
return message;
|
|
1776
|
+
}
|
|
1777
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RoleOverride): RoleOverride {
|
|
1778
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1779
|
+
while (reader.pos < end) {
|
|
1780
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1781
|
+
switch (fieldNo) {
|
|
1782
|
+
case /* repeated string user_ids */ 1:
|
|
1783
|
+
message.userIds.push(reader.string());
|
|
1784
|
+
break;
|
|
1785
|
+
case /* optional string role_name */ 2:
|
|
1786
|
+
message.roleName = reader.string();
|
|
1787
|
+
break;
|
|
1788
|
+
default:
|
|
1789
|
+
let u = options.readUnknownField;
|
|
1790
|
+
if (u === "throw")
|
|
1791
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1792
|
+
let d = reader.skip(wireType);
|
|
1793
|
+
if (u !== false)
|
|
1794
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1795
|
+
}
|
|
1796
|
+
}
|
|
1797
|
+
return message;
|
|
1798
|
+
}
|
|
1799
|
+
internalBinaryWrite(message: RoleOverride, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1800
|
+
/* repeated string user_ids = 1; */
|
|
1801
|
+
for (let i = 0; i < message.userIds.length; i++)
|
|
1802
|
+
writer.tag(1, WireType.LengthDelimited).string(message.userIds[i]);
|
|
1803
|
+
/* optional string role_name = 2; */
|
|
1804
|
+
if (message.roleName !== undefined)
|
|
1805
|
+
writer.tag(2, WireType.LengthDelimited).string(message.roleName);
|
|
1806
|
+
let u = options.writeUnknownFields;
|
|
1807
|
+
if (u !== false)
|
|
1808
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1809
|
+
return writer;
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
/**
|
|
1813
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.RoleOverride
|
|
1814
|
+
*/
|
|
1815
|
+
export const RoleOverride = new RoleOverride$Type();
|
|
1816
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1817
|
+
class PermissionGrantOverride$Type extends MessageType<PermissionGrantOverride> {
|
|
1818
|
+
constructor() {
|
|
1819
|
+
super("stream.video.coordinator.client_v1_rpc.PermissionGrantOverride", [
|
|
1820
|
+
{ no: 1, name: "user_ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
1821
|
+
{ no: 2, name: "permissions", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
1822
|
+
]);
|
|
1823
|
+
}
|
|
1824
|
+
create(value?: PartialMessage<PermissionGrantOverride>): PermissionGrantOverride {
|
|
1825
|
+
const message = { userIds: [], permissions: [] };
|
|
1826
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1827
|
+
if (value !== undefined)
|
|
1828
|
+
reflectionMergePartial<PermissionGrantOverride>(this, message, value);
|
|
1829
|
+
return message;
|
|
1830
|
+
}
|
|
1831
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PermissionGrantOverride): PermissionGrantOverride {
|
|
1832
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1833
|
+
while (reader.pos < end) {
|
|
1834
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1835
|
+
switch (fieldNo) {
|
|
1836
|
+
case /* repeated string user_ids */ 1:
|
|
1837
|
+
message.userIds.push(reader.string());
|
|
1838
|
+
break;
|
|
1839
|
+
case /* repeated string permissions */ 2:
|
|
1840
|
+
message.permissions.push(reader.string());
|
|
1841
|
+
break;
|
|
1842
|
+
default:
|
|
1843
|
+
let u = options.readUnknownField;
|
|
1844
|
+
if (u === "throw")
|
|
1845
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1846
|
+
let d = reader.skip(wireType);
|
|
1847
|
+
if (u !== false)
|
|
1848
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1851
|
+
return message;
|
|
1852
|
+
}
|
|
1853
|
+
internalBinaryWrite(message: PermissionGrantOverride, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1854
|
+
/* repeated string user_ids = 1; */
|
|
1855
|
+
for (let i = 0; i < message.userIds.length; i++)
|
|
1856
|
+
writer.tag(1, WireType.LengthDelimited).string(message.userIds[i]);
|
|
1857
|
+
/* repeated string permissions = 2; */
|
|
1858
|
+
for (let i = 0; i < message.permissions.length; i++)
|
|
1859
|
+
writer.tag(2, WireType.LengthDelimited).string(message.permissions[i]);
|
|
1860
|
+
let u = options.writeUnknownFields;
|
|
1861
|
+
if (u !== false)
|
|
1862
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1863
|
+
return writer;
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
/**
|
|
1867
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.PermissionGrantOverride
|
|
1868
|
+
*/
|
|
1869
|
+
export const PermissionGrantOverride = new PermissionGrantOverride$Type();
|
|
1870
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1871
|
+
class UpdateCallPermissionsRequest$Type extends MessageType<UpdateCallPermissionsRequest> {
|
|
1872
|
+
constructor() {
|
|
1873
|
+
super("stream.video.coordinator.client_v1_rpc.UpdateCallPermissionsRequest", [
|
|
1874
|
+
{ no: 1, name: "call_cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1875
|
+
{ no: 2, name: "role_override", kind: "message", oneof: "grantInput", T: () => RoleOverride },
|
|
1876
|
+
{ no: 3, name: "permission_override", kind: "message", oneof: "grantInput", T: () => PermissionGrantOverride }
|
|
1877
|
+
]);
|
|
1878
|
+
}
|
|
1879
|
+
create(value?: PartialMessage<UpdateCallPermissionsRequest>): UpdateCallPermissionsRequest {
|
|
1880
|
+
const message = { callCid: "", grantInput: { oneofKind: undefined } };
|
|
1881
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1882
|
+
if (value !== undefined)
|
|
1883
|
+
reflectionMergePartial<UpdateCallPermissionsRequest>(this, message, value);
|
|
1884
|
+
return message;
|
|
1885
|
+
}
|
|
1886
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateCallPermissionsRequest): UpdateCallPermissionsRequest {
|
|
1887
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1888
|
+
while (reader.pos < end) {
|
|
1889
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1890
|
+
switch (fieldNo) {
|
|
1891
|
+
case /* string call_cid */ 1:
|
|
1892
|
+
message.callCid = reader.string();
|
|
1893
|
+
break;
|
|
1894
|
+
case /* stream.video.coordinator.client_v1_rpc.RoleOverride role_override */ 2:
|
|
1895
|
+
message.grantInput = {
|
|
1896
|
+
oneofKind: "roleOverride",
|
|
1897
|
+
roleOverride: RoleOverride.internalBinaryRead(reader, reader.uint32(), options, (message.grantInput as any).roleOverride)
|
|
1898
|
+
};
|
|
1899
|
+
break;
|
|
1900
|
+
case /* stream.video.coordinator.client_v1_rpc.PermissionGrantOverride permission_override */ 3:
|
|
1901
|
+
message.grantInput = {
|
|
1902
|
+
oneofKind: "permissionOverride",
|
|
1903
|
+
permissionOverride: PermissionGrantOverride.internalBinaryRead(reader, reader.uint32(), options, (message.grantInput as any).permissionOverride)
|
|
1904
|
+
};
|
|
1905
|
+
break;
|
|
1906
|
+
default:
|
|
1907
|
+
let u = options.readUnknownField;
|
|
1908
|
+
if (u === "throw")
|
|
1909
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1910
|
+
let d = reader.skip(wireType);
|
|
1911
|
+
if (u !== false)
|
|
1912
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
return message;
|
|
1916
|
+
}
|
|
1917
|
+
internalBinaryWrite(message: UpdateCallPermissionsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1918
|
+
/* string call_cid = 1; */
|
|
1919
|
+
if (message.callCid !== "")
|
|
1920
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callCid);
|
|
1921
|
+
/* stream.video.coordinator.client_v1_rpc.RoleOverride role_override = 2; */
|
|
1922
|
+
if (message.grantInput.oneofKind === "roleOverride")
|
|
1923
|
+
RoleOverride.internalBinaryWrite(message.grantInput.roleOverride, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1924
|
+
/* stream.video.coordinator.client_v1_rpc.PermissionGrantOverride permission_override = 3; */
|
|
1925
|
+
if (message.grantInput.oneofKind === "permissionOverride")
|
|
1926
|
+
PermissionGrantOverride.internalBinaryWrite(message.grantInput.permissionOverride, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1927
|
+
let u = options.writeUnknownFields;
|
|
1928
|
+
if (u !== false)
|
|
1929
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1930
|
+
return writer;
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
/**
|
|
1934
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.UpdateCallPermissionsRequest
|
|
1935
|
+
*/
|
|
1936
|
+
export const UpdateCallPermissionsRequest = new UpdateCallPermissionsRequest$Type();
|
|
1937
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1938
|
+
class UpdateCallPermissionsResponse$Type extends MessageType<UpdateCallPermissionsResponse> {
|
|
1939
|
+
constructor() {
|
|
1940
|
+
super("stream.video.coordinator.client_v1_rpc.UpdateCallPermissionsResponse", []);
|
|
1941
|
+
}
|
|
1942
|
+
create(value?: PartialMessage<UpdateCallPermissionsResponse>): UpdateCallPermissionsResponse {
|
|
1943
|
+
const message = {};
|
|
1944
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1945
|
+
if (value !== undefined)
|
|
1946
|
+
reflectionMergePartial<UpdateCallPermissionsResponse>(this, message, value);
|
|
1947
|
+
return message;
|
|
1948
|
+
}
|
|
1949
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateCallPermissionsResponse): UpdateCallPermissionsResponse {
|
|
1950
|
+
return target ?? this.create();
|
|
1951
|
+
}
|
|
1952
|
+
internalBinaryWrite(message: UpdateCallPermissionsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1953
|
+
let u = options.writeUnknownFields;
|
|
1954
|
+
if (u !== false)
|
|
1955
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1956
|
+
return writer;
|
|
1957
|
+
}
|
|
1958
|
+
}
|
|
1959
|
+
/**
|
|
1960
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.UpdateCallPermissionsResponse
|
|
1961
|
+
*/
|
|
1962
|
+
export const UpdateCallPermissionsResponse = new UpdateCallPermissionsResponse$Type();
|
|
1963
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1964
|
+
class EndCallRequest$Type extends MessageType<EndCallRequest> {
|
|
1965
|
+
constructor() {
|
|
1966
|
+
super("stream.video.coordinator.client_v1_rpc.EndCallRequest", [
|
|
1967
|
+
{ no: 1, name: "call_cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1968
|
+
]);
|
|
1969
|
+
}
|
|
1970
|
+
create(value?: PartialMessage<EndCallRequest>): EndCallRequest {
|
|
1971
|
+
const message = { callCid: "" };
|
|
1972
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
1973
|
+
if (value !== undefined)
|
|
1974
|
+
reflectionMergePartial<EndCallRequest>(this, message, value);
|
|
1975
|
+
return message;
|
|
1976
|
+
}
|
|
1977
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EndCallRequest): EndCallRequest {
|
|
1978
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1979
|
+
while (reader.pos < end) {
|
|
1980
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1981
|
+
switch (fieldNo) {
|
|
1982
|
+
case /* string call_cid */ 1:
|
|
1983
|
+
message.callCid = reader.string();
|
|
1984
|
+
break;
|
|
1985
|
+
default:
|
|
1986
|
+
let u = options.readUnknownField;
|
|
1987
|
+
if (u === "throw")
|
|
1988
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1989
|
+
let d = reader.skip(wireType);
|
|
1990
|
+
if (u !== false)
|
|
1991
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
return message;
|
|
1995
|
+
}
|
|
1996
|
+
internalBinaryWrite(message: EndCallRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1997
|
+
/* string call_cid = 1; */
|
|
1998
|
+
if (message.callCid !== "")
|
|
1999
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callCid);
|
|
2000
|
+
let u = options.writeUnknownFields;
|
|
2001
|
+
if (u !== false)
|
|
2002
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2003
|
+
return writer;
|
|
2004
|
+
}
|
|
2005
|
+
}
|
|
2006
|
+
/**
|
|
2007
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.EndCallRequest
|
|
2008
|
+
*/
|
|
2009
|
+
export const EndCallRequest = new EndCallRequest$Type();
|
|
2010
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2011
|
+
class EndCallResponse$Type extends MessageType<EndCallResponse> {
|
|
2012
|
+
constructor() {
|
|
2013
|
+
super("stream.video.coordinator.client_v1_rpc.EndCallResponse", []);
|
|
2014
|
+
}
|
|
2015
|
+
create(value?: PartialMessage<EndCallResponse>): EndCallResponse {
|
|
2016
|
+
const message = {};
|
|
2017
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2018
|
+
if (value !== undefined)
|
|
2019
|
+
reflectionMergePartial<EndCallResponse>(this, message, value);
|
|
2020
|
+
return message;
|
|
2021
|
+
}
|
|
2022
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EndCallResponse): EndCallResponse {
|
|
2023
|
+
return target ?? this.create();
|
|
2024
|
+
}
|
|
2025
|
+
internalBinaryWrite(message: EndCallResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2026
|
+
let u = options.writeUnknownFields;
|
|
2027
|
+
if (u !== false)
|
|
2028
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2029
|
+
return writer;
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
/**
|
|
2033
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.EndCallResponse
|
|
2034
|
+
*/
|
|
2035
|
+
export const EndCallResponse = new EndCallResponse$Type();
|
|
2036
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2037
|
+
class CreateCallResponse$Type extends MessageType<CreateCallResponse> {
|
|
2038
|
+
constructor() {
|
|
2039
|
+
super("stream.video.coordinator.client_v1_rpc.CreateCallResponse", [
|
|
2040
|
+
{ no: 1, name: "call", kind: "message", T: () => CallEnvelope }
|
|
2041
|
+
]);
|
|
2042
|
+
}
|
|
2043
|
+
create(value?: PartialMessage<CreateCallResponse>): CreateCallResponse {
|
|
2044
|
+
const message = {};
|
|
2045
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2046
|
+
if (value !== undefined)
|
|
2047
|
+
reflectionMergePartial<CreateCallResponse>(this, message, value);
|
|
2048
|
+
return message;
|
|
2049
|
+
}
|
|
2050
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateCallResponse): CreateCallResponse {
|
|
2051
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2052
|
+
while (reader.pos < end) {
|
|
2053
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2054
|
+
switch (fieldNo) {
|
|
2055
|
+
case /* stream.video.coordinator.client_v1_rpc.CallEnvelope call */ 1:
|
|
2056
|
+
message.call = CallEnvelope.internalBinaryRead(reader, reader.uint32(), options, message.call);
|
|
2057
|
+
break;
|
|
2058
|
+
default:
|
|
2059
|
+
let u = options.readUnknownField;
|
|
2060
|
+
if (u === "throw")
|
|
2061
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2062
|
+
let d = reader.skip(wireType);
|
|
2063
|
+
if (u !== false)
|
|
2064
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
return message;
|
|
2068
|
+
}
|
|
2069
|
+
internalBinaryWrite(message: CreateCallResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2070
|
+
/* stream.video.coordinator.client_v1_rpc.CallEnvelope call = 1; */
|
|
2071
|
+
if (message.call)
|
|
2072
|
+
CallEnvelope.internalBinaryWrite(message.call, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
2073
|
+
let u = options.writeUnknownFields;
|
|
2074
|
+
if (u !== false)
|
|
2075
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2076
|
+
return writer;
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
/**
|
|
2080
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.CreateCallResponse
|
|
2081
|
+
*/
|
|
2082
|
+
export const CreateCallResponse = new CreateCallResponse$Type();
|
|
2083
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2084
|
+
class QueryCallsRequest$Type extends MessageType<QueryCallsRequest> {
|
|
2085
|
+
constructor() {
|
|
2086
|
+
super("stream.video.coordinator.client_v1_rpc.QueryCallsRequest", [
|
|
2087
|
+
{ no: 1, name: "mq_json", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
|
|
2088
|
+
{ no: 2, name: "limit", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
|
2089
|
+
{ no: 3, name: "sorts", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Sort }
|
|
2090
|
+
]);
|
|
2091
|
+
}
|
|
2092
|
+
create(value?: PartialMessage<QueryCallsRequest>): QueryCallsRequest {
|
|
2093
|
+
const message = { mqJson: new Uint8Array(0), sorts: [] };
|
|
2094
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2095
|
+
if (value !== undefined)
|
|
2096
|
+
reflectionMergePartial<QueryCallsRequest>(this, message, value);
|
|
2097
|
+
return message;
|
|
2098
|
+
}
|
|
2099
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: QueryCallsRequest): QueryCallsRequest {
|
|
2100
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2101
|
+
while (reader.pos < end) {
|
|
2102
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2103
|
+
switch (fieldNo) {
|
|
2104
|
+
case /* bytes mq_json */ 1:
|
|
2105
|
+
message.mqJson = reader.bytes();
|
|
2106
|
+
break;
|
|
2107
|
+
case /* optional int32 limit */ 2:
|
|
2108
|
+
message.limit = reader.int32();
|
|
2109
|
+
break;
|
|
2110
|
+
case /* repeated stream.video.coordinator.utils_v1.Sort sorts */ 3:
|
|
2111
|
+
message.sorts.push(Sort.internalBinaryRead(reader, reader.uint32(), options));
|
|
2112
|
+
break;
|
|
2113
|
+
default:
|
|
2114
|
+
let u = options.readUnknownField;
|
|
2115
|
+
if (u === "throw")
|
|
2116
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2117
|
+
let d = reader.skip(wireType);
|
|
2118
|
+
if (u !== false)
|
|
2119
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2120
|
+
}
|
|
2121
|
+
}
|
|
2122
|
+
return message;
|
|
2123
|
+
}
|
|
2124
|
+
internalBinaryWrite(message: QueryCallsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2125
|
+
/* bytes mq_json = 1; */
|
|
2126
|
+
if (message.mqJson.length)
|
|
2127
|
+
writer.tag(1, WireType.LengthDelimited).bytes(message.mqJson);
|
|
2128
|
+
/* optional int32 limit = 2; */
|
|
2129
|
+
if (message.limit !== undefined)
|
|
2130
|
+
writer.tag(2, WireType.Varint).int32(message.limit);
|
|
2131
|
+
/* repeated stream.video.coordinator.utils_v1.Sort sorts = 3; */
|
|
2132
|
+
for (let i = 0; i < message.sorts.length; i++)
|
|
2133
|
+
Sort.internalBinaryWrite(message.sorts[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
2134
|
+
let u = options.writeUnknownFields;
|
|
2135
|
+
if (u !== false)
|
|
2136
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2137
|
+
return writer;
|
|
2138
|
+
}
|
|
2139
|
+
}
|
|
2140
|
+
/**
|
|
2141
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.QueryCallsRequest
|
|
2142
|
+
*/
|
|
2143
|
+
export const QueryCallsRequest = new QueryCallsRequest$Type();
|
|
2144
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2145
|
+
class QueryCallsResponse$Type extends MessageType<QueryCallsResponse> {
|
|
2146
|
+
constructor() {
|
|
2147
|
+
super("stream.video.coordinator.client_v1_rpc.QueryCallsResponse", [
|
|
2148
|
+
{ no: 1, name: "calls", kind: "message", T: () => CallsEnvelope }
|
|
2149
|
+
]);
|
|
2150
|
+
}
|
|
2151
|
+
create(value?: PartialMessage<QueryCallsResponse>): QueryCallsResponse {
|
|
2152
|
+
const message = {};
|
|
2153
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2154
|
+
if (value !== undefined)
|
|
2155
|
+
reflectionMergePartial<QueryCallsResponse>(this, message, value);
|
|
2156
|
+
return message;
|
|
2157
|
+
}
|
|
2158
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: QueryCallsResponse): QueryCallsResponse {
|
|
2159
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2160
|
+
while (reader.pos < end) {
|
|
2161
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2162
|
+
switch (fieldNo) {
|
|
2163
|
+
case /* stream.video.coordinator.client_v1_rpc.CallsEnvelope calls */ 1:
|
|
2164
|
+
message.calls = CallsEnvelope.internalBinaryRead(reader, reader.uint32(), options, message.calls);
|
|
2165
|
+
break;
|
|
2166
|
+
default:
|
|
2167
|
+
let u = options.readUnknownField;
|
|
2168
|
+
if (u === "throw")
|
|
2169
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2170
|
+
let d = reader.skip(wireType);
|
|
2171
|
+
if (u !== false)
|
|
2172
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2173
|
+
}
|
|
2174
|
+
}
|
|
2175
|
+
return message;
|
|
2176
|
+
}
|
|
2177
|
+
internalBinaryWrite(message: QueryCallsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2178
|
+
/* stream.video.coordinator.client_v1_rpc.CallsEnvelope calls = 1; */
|
|
2179
|
+
if (message.calls)
|
|
2180
|
+
CallsEnvelope.internalBinaryWrite(message.calls, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
2181
|
+
let u = options.writeUnknownFields;
|
|
2182
|
+
if (u !== false)
|
|
2183
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2184
|
+
return writer;
|
|
2185
|
+
}
|
|
2186
|
+
}
|
|
2187
|
+
/**
|
|
2188
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.QueryCallsResponse
|
|
2189
|
+
*/
|
|
2190
|
+
export const QueryCallsResponse = new QueryCallsResponse$Type();
|
|
2191
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2192
|
+
class QueryMembersRequest$Type extends MessageType<QueryMembersRequest> {
|
|
2193
|
+
constructor() {
|
|
2194
|
+
super("stream.video.coordinator.client_v1_rpc.QueryMembersRequest", [
|
|
2195
|
+
{ no: 1, name: "mq_json", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
|
|
2196
|
+
{ no: 2, name: "limit", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
|
2197
|
+
{ no: 3, name: "sorts", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Sort }
|
|
2198
|
+
]);
|
|
2199
|
+
}
|
|
2200
|
+
create(value?: PartialMessage<QueryMembersRequest>): QueryMembersRequest {
|
|
2201
|
+
const message = { mqJson: new Uint8Array(0), sorts: [] };
|
|
2202
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2203
|
+
if (value !== undefined)
|
|
2204
|
+
reflectionMergePartial<QueryMembersRequest>(this, message, value);
|
|
2205
|
+
return message;
|
|
2206
|
+
}
|
|
2207
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: QueryMembersRequest): QueryMembersRequest {
|
|
2208
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2209
|
+
while (reader.pos < end) {
|
|
2210
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2211
|
+
switch (fieldNo) {
|
|
2212
|
+
case /* bytes mq_json */ 1:
|
|
2213
|
+
message.mqJson = reader.bytes();
|
|
2214
|
+
break;
|
|
2215
|
+
case /* optional int32 limit */ 2:
|
|
2216
|
+
message.limit = reader.int32();
|
|
2217
|
+
break;
|
|
2218
|
+
case /* repeated stream.video.coordinator.utils_v1.Sort sorts */ 3:
|
|
2219
|
+
message.sorts.push(Sort.internalBinaryRead(reader, reader.uint32(), options));
|
|
2220
|
+
break;
|
|
2221
|
+
default:
|
|
2222
|
+
let u = options.readUnknownField;
|
|
2223
|
+
if (u === "throw")
|
|
2224
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2225
|
+
let d = reader.skip(wireType);
|
|
2226
|
+
if (u !== false)
|
|
2227
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2228
|
+
}
|
|
2229
|
+
}
|
|
2230
|
+
return message;
|
|
2231
|
+
}
|
|
2232
|
+
internalBinaryWrite(message: QueryMembersRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2233
|
+
/* bytes mq_json = 1; */
|
|
2234
|
+
if (message.mqJson.length)
|
|
2235
|
+
writer.tag(1, WireType.LengthDelimited).bytes(message.mqJson);
|
|
2236
|
+
/* optional int32 limit = 2; */
|
|
2237
|
+
if (message.limit !== undefined)
|
|
2238
|
+
writer.tag(2, WireType.Varint).int32(message.limit);
|
|
2239
|
+
/* repeated stream.video.coordinator.utils_v1.Sort sorts = 3; */
|
|
2240
|
+
for (let i = 0; i < message.sorts.length; i++)
|
|
2241
|
+
Sort.internalBinaryWrite(message.sorts[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
2242
|
+
let u = options.writeUnknownFields;
|
|
2243
|
+
if (u !== false)
|
|
2244
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2245
|
+
return writer;
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
/**
|
|
2249
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.QueryMembersRequest
|
|
2250
|
+
*/
|
|
2251
|
+
export const QueryMembersRequest = new QueryMembersRequest$Type();
|
|
2252
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2253
|
+
class QueryMembersResponse$Type extends MessageType<QueryMembersResponse> {
|
|
2254
|
+
constructor() {
|
|
2255
|
+
super("stream.video.coordinator.client_v1_rpc.QueryMembersResponse", [
|
|
2256
|
+
{ no: 1, name: "members", kind: "message", T: () => MembersEnvelope }
|
|
2257
|
+
]);
|
|
2258
|
+
}
|
|
2259
|
+
create(value?: PartialMessage<QueryMembersResponse>): QueryMembersResponse {
|
|
2260
|
+
const message = {};
|
|
2261
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2262
|
+
if (value !== undefined)
|
|
2263
|
+
reflectionMergePartial<QueryMembersResponse>(this, message, value);
|
|
2264
|
+
return message;
|
|
2265
|
+
}
|
|
2266
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: QueryMembersResponse): QueryMembersResponse {
|
|
2267
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2268
|
+
while (reader.pos < end) {
|
|
2269
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2270
|
+
switch (fieldNo) {
|
|
2271
|
+
case /* stream.video.coordinator.client_v1_rpc.MembersEnvelope members */ 1:
|
|
2272
|
+
message.members = MembersEnvelope.internalBinaryRead(reader, reader.uint32(), options, message.members);
|
|
2273
|
+
break;
|
|
2274
|
+
default:
|
|
2275
|
+
let u = options.readUnknownField;
|
|
2276
|
+
if (u === "throw")
|
|
2277
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2278
|
+
let d = reader.skip(wireType);
|
|
2279
|
+
if (u !== false)
|
|
2280
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
return message;
|
|
2284
|
+
}
|
|
2285
|
+
internalBinaryWrite(message: QueryMembersResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2286
|
+
/* stream.video.coordinator.client_v1_rpc.MembersEnvelope members = 1; */
|
|
2287
|
+
if (message.members)
|
|
2288
|
+
MembersEnvelope.internalBinaryWrite(message.members, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
2289
|
+
let u = options.writeUnknownFields;
|
|
2290
|
+
if (u !== false)
|
|
2291
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2292
|
+
return writer;
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
/**
|
|
2296
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.QueryMembersResponse
|
|
2297
|
+
*/
|
|
2298
|
+
export const QueryMembersResponse = new QueryMembersResponse$Type();
|
|
2299
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2300
|
+
class QueryUsersRequest$Type extends MessageType<QueryUsersRequest> {
|
|
2301
|
+
constructor() {
|
|
2302
|
+
super("stream.video.coordinator.client_v1_rpc.QueryUsersRequest", [
|
|
2303
|
+
{ no: 1, name: "mq_json", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
|
|
2304
|
+
{ no: 2, name: "limit", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
|
2305
|
+
{ no: 3, name: "sorts", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Sort }
|
|
2306
|
+
]);
|
|
2307
|
+
}
|
|
2308
|
+
create(value?: PartialMessage<QueryUsersRequest>): QueryUsersRequest {
|
|
2309
|
+
const message = { mqJson: new Uint8Array(0), sorts: [] };
|
|
2310
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2311
|
+
if (value !== undefined)
|
|
2312
|
+
reflectionMergePartial<QueryUsersRequest>(this, message, value);
|
|
2313
|
+
return message;
|
|
2314
|
+
}
|
|
2315
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: QueryUsersRequest): QueryUsersRequest {
|
|
2316
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2317
|
+
while (reader.pos < end) {
|
|
2318
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2319
|
+
switch (fieldNo) {
|
|
2320
|
+
case /* bytes mq_json */ 1:
|
|
2321
|
+
message.mqJson = reader.bytes();
|
|
2322
|
+
break;
|
|
2323
|
+
case /* optional int32 limit */ 2:
|
|
2324
|
+
message.limit = reader.int32();
|
|
2325
|
+
break;
|
|
2326
|
+
case /* repeated stream.video.coordinator.utils_v1.Sort sorts */ 3:
|
|
2327
|
+
message.sorts.push(Sort.internalBinaryRead(reader, reader.uint32(), options));
|
|
2328
|
+
break;
|
|
2329
|
+
default:
|
|
2330
|
+
let u = options.readUnknownField;
|
|
2331
|
+
if (u === "throw")
|
|
2332
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2333
|
+
let d = reader.skip(wireType);
|
|
2334
|
+
if (u !== false)
|
|
2335
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2336
|
+
}
|
|
2337
|
+
}
|
|
2338
|
+
return message;
|
|
2339
|
+
}
|
|
2340
|
+
internalBinaryWrite(message: QueryUsersRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2341
|
+
/* bytes mq_json = 1; */
|
|
2342
|
+
if (message.mqJson.length)
|
|
2343
|
+
writer.tag(1, WireType.LengthDelimited).bytes(message.mqJson);
|
|
2344
|
+
/* optional int32 limit = 2; */
|
|
2345
|
+
if (message.limit !== undefined)
|
|
2346
|
+
writer.tag(2, WireType.Varint).int32(message.limit);
|
|
2347
|
+
/* repeated stream.video.coordinator.utils_v1.Sort sorts = 3; */
|
|
2348
|
+
for (let i = 0; i < message.sorts.length; i++)
|
|
2349
|
+
Sort.internalBinaryWrite(message.sorts[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
2350
|
+
let u = options.writeUnknownFields;
|
|
2351
|
+
if (u !== false)
|
|
2352
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2353
|
+
return writer;
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
/**
|
|
2357
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.QueryUsersRequest
|
|
2358
|
+
*/
|
|
2359
|
+
export const QueryUsersRequest = new QueryUsersRequest$Type();
|
|
2360
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2361
|
+
class QueryUsersResponse$Type extends MessageType<QueryUsersResponse> {
|
|
2362
|
+
constructor() {
|
|
2363
|
+
super("stream.video.coordinator.client_v1_rpc.QueryUsersResponse", [
|
|
2364
|
+
{ no: 1, name: "users", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => User }
|
|
2365
|
+
]);
|
|
2366
|
+
}
|
|
2367
|
+
create(value?: PartialMessage<QueryUsersResponse>): QueryUsersResponse {
|
|
2368
|
+
const message = { users: [] };
|
|
2369
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2370
|
+
if (value !== undefined)
|
|
2371
|
+
reflectionMergePartial<QueryUsersResponse>(this, message, value);
|
|
2372
|
+
return message;
|
|
2373
|
+
}
|
|
2374
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: QueryUsersResponse): QueryUsersResponse {
|
|
2375
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2376
|
+
while (reader.pos < end) {
|
|
2377
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2378
|
+
switch (fieldNo) {
|
|
2379
|
+
case /* repeated stream.video.coordinator.user_v1.User users */ 1:
|
|
2380
|
+
message.users.push(User.internalBinaryRead(reader, reader.uint32(), options));
|
|
2381
|
+
break;
|
|
2382
|
+
default:
|
|
2383
|
+
let u = options.readUnknownField;
|
|
2384
|
+
if (u === "throw")
|
|
2385
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2386
|
+
let d = reader.skip(wireType);
|
|
2387
|
+
if (u !== false)
|
|
2388
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2389
|
+
}
|
|
2390
|
+
}
|
|
2391
|
+
return message;
|
|
2392
|
+
}
|
|
2393
|
+
internalBinaryWrite(message: QueryUsersResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2394
|
+
/* repeated stream.video.coordinator.user_v1.User users = 1; */
|
|
2395
|
+
for (let i = 0; i < message.users.length; i++)
|
|
2396
|
+
User.internalBinaryWrite(message.users[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
2397
|
+
let u = options.writeUnknownFields;
|
|
2398
|
+
if (u !== false)
|
|
2399
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2400
|
+
return writer;
|
|
2401
|
+
}
|
|
2402
|
+
}
|
|
2403
|
+
/**
|
|
2404
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.QueryUsersResponse
|
|
2405
|
+
*/
|
|
2406
|
+
export const QueryUsersResponse = new QueryUsersResponse$Type();
|
|
2407
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2408
|
+
class UpsertUsersRequest$Type extends MessageType<UpsertUsersRequest> {
|
|
2409
|
+
constructor() {
|
|
2410
|
+
super("stream.video.coordinator.client_v1_rpc.UpsertUsersRequest", [
|
|
2411
|
+
{ no: 1, name: "users", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => UserInput }
|
|
2412
|
+
]);
|
|
2413
|
+
}
|
|
2414
|
+
create(value?: PartialMessage<UpsertUsersRequest>): UpsertUsersRequest {
|
|
2415
|
+
const message = { users: [] };
|
|
2416
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2417
|
+
if (value !== undefined)
|
|
2418
|
+
reflectionMergePartial<UpsertUsersRequest>(this, message, value);
|
|
2419
|
+
return message;
|
|
2420
|
+
}
|
|
2421
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpsertUsersRequest): UpsertUsersRequest {
|
|
2422
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2423
|
+
while (reader.pos < end) {
|
|
2424
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2425
|
+
switch (fieldNo) {
|
|
2426
|
+
case /* repeated stream.video.coordinator.user_v1.UserInput users */ 1:
|
|
2427
|
+
message.users.push(UserInput.internalBinaryRead(reader, reader.uint32(), options));
|
|
2428
|
+
break;
|
|
2429
|
+
default:
|
|
2430
|
+
let u = options.readUnknownField;
|
|
2431
|
+
if (u === "throw")
|
|
2432
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2433
|
+
let d = reader.skip(wireType);
|
|
2434
|
+
if (u !== false)
|
|
2435
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2436
|
+
}
|
|
2437
|
+
}
|
|
2438
|
+
return message;
|
|
2439
|
+
}
|
|
2440
|
+
internalBinaryWrite(message: UpsertUsersRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2441
|
+
/* repeated stream.video.coordinator.user_v1.UserInput users = 1; */
|
|
2442
|
+
for (let i = 0; i < message.users.length; i++)
|
|
2443
|
+
UserInput.internalBinaryWrite(message.users[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
2444
|
+
let u = options.writeUnknownFields;
|
|
2445
|
+
if (u !== false)
|
|
2446
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2447
|
+
return writer;
|
|
2448
|
+
}
|
|
2449
|
+
}
|
|
2450
|
+
/**
|
|
2451
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.UpsertUsersRequest
|
|
2452
|
+
*/
|
|
2453
|
+
export const UpsertUsersRequest = new UpsertUsersRequest$Type();
|
|
2454
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2455
|
+
class UpsertUsersResponse$Type extends MessageType<UpsertUsersResponse> {
|
|
2456
|
+
constructor() {
|
|
2457
|
+
super("stream.video.coordinator.client_v1_rpc.UpsertUsersResponse", [
|
|
2458
|
+
{ no: 1, name: "users", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => User }
|
|
2459
|
+
]);
|
|
2460
|
+
}
|
|
2461
|
+
create(value?: PartialMessage<UpsertUsersResponse>): UpsertUsersResponse {
|
|
2462
|
+
const message = { users: [] };
|
|
2463
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2464
|
+
if (value !== undefined)
|
|
2465
|
+
reflectionMergePartial<UpsertUsersResponse>(this, message, value);
|
|
2466
|
+
return message;
|
|
2467
|
+
}
|
|
2468
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpsertUsersResponse): UpsertUsersResponse {
|
|
2469
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2470
|
+
while (reader.pos < end) {
|
|
2471
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2472
|
+
switch (fieldNo) {
|
|
2473
|
+
case /* repeated stream.video.coordinator.user_v1.User users */ 1:
|
|
2474
|
+
message.users.push(User.internalBinaryRead(reader, reader.uint32(), options));
|
|
2475
|
+
break;
|
|
2476
|
+
default:
|
|
2477
|
+
let u = options.readUnknownField;
|
|
2478
|
+
if (u === "throw")
|
|
2479
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2480
|
+
let d = reader.skip(wireType);
|
|
2481
|
+
if (u !== false)
|
|
2482
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
return message;
|
|
2486
|
+
}
|
|
2487
|
+
internalBinaryWrite(message: UpsertUsersResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2488
|
+
/* repeated stream.video.coordinator.user_v1.User users = 1; */
|
|
2489
|
+
for (let i = 0; i < message.users.length; i++)
|
|
2490
|
+
User.internalBinaryWrite(message.users[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
2491
|
+
let u = options.writeUnknownFields;
|
|
2492
|
+
if (u !== false)
|
|
2493
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2494
|
+
return writer;
|
|
2495
|
+
}
|
|
2496
|
+
}
|
|
2497
|
+
/**
|
|
2498
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.UpsertUsersResponse
|
|
2499
|
+
*/
|
|
2500
|
+
export const UpsertUsersResponse = new UpsertUsersResponse$Type();
|
|
2501
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2502
|
+
class GetCallEdgeServerRequest$Type extends MessageType<GetCallEdgeServerRequest> {
|
|
2503
|
+
constructor() {
|
|
2504
|
+
super("stream.video.coordinator.client_v1_rpc.GetCallEdgeServerRequest", [
|
|
2505
|
+
{ no: 1, name: "call_cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2506
|
+
{ no: 2, name: "measurements", kind: "message", T: () => LatencyMeasurements }
|
|
2507
|
+
]);
|
|
2508
|
+
}
|
|
2509
|
+
create(value?: PartialMessage<GetCallEdgeServerRequest>): GetCallEdgeServerRequest {
|
|
2510
|
+
const message = { callCid: "" };
|
|
2511
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2512
|
+
if (value !== undefined)
|
|
2513
|
+
reflectionMergePartial<GetCallEdgeServerRequest>(this, message, value);
|
|
2514
|
+
return message;
|
|
2515
|
+
}
|
|
2516
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetCallEdgeServerRequest): GetCallEdgeServerRequest {
|
|
2517
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2518
|
+
while (reader.pos < end) {
|
|
2519
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2520
|
+
switch (fieldNo) {
|
|
2521
|
+
case /* string call_cid */ 1:
|
|
2522
|
+
message.callCid = reader.string();
|
|
2523
|
+
break;
|
|
2524
|
+
case /* stream.video.coordinator.edge_v1.LatencyMeasurements measurements */ 2:
|
|
2525
|
+
message.measurements = LatencyMeasurements.internalBinaryRead(reader, reader.uint32(), options, message.measurements);
|
|
2526
|
+
break;
|
|
2527
|
+
default:
|
|
2528
|
+
let u = options.readUnknownField;
|
|
2529
|
+
if (u === "throw")
|
|
2530
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2531
|
+
let d = reader.skip(wireType);
|
|
2532
|
+
if (u !== false)
|
|
2533
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2534
|
+
}
|
|
2535
|
+
}
|
|
2536
|
+
return message;
|
|
2537
|
+
}
|
|
2538
|
+
internalBinaryWrite(message: GetCallEdgeServerRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2539
|
+
/* string call_cid = 1; */
|
|
2540
|
+
if (message.callCid !== "")
|
|
2541
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callCid);
|
|
2542
|
+
/* stream.video.coordinator.edge_v1.LatencyMeasurements measurements = 2; */
|
|
2543
|
+
if (message.measurements)
|
|
2544
|
+
LatencyMeasurements.internalBinaryWrite(message.measurements, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
2545
|
+
let u = options.writeUnknownFields;
|
|
2546
|
+
if (u !== false)
|
|
2547
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2548
|
+
return writer;
|
|
2549
|
+
}
|
|
2550
|
+
}
|
|
2551
|
+
/**
|
|
2552
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.GetCallEdgeServerRequest
|
|
2553
|
+
*/
|
|
2554
|
+
export const GetCallEdgeServerRequest = new GetCallEdgeServerRequest$Type();
|
|
2555
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2556
|
+
class GetCallEdgeServerResponse$Type extends MessageType<GetCallEdgeServerResponse> {
|
|
2557
|
+
constructor() {
|
|
2558
|
+
super("stream.video.coordinator.client_v1_rpc.GetCallEdgeServerResponse", [
|
|
2559
|
+
{ no: 1, name: "call", kind: "message", T: () => CallEnvelope },
|
|
2560
|
+
{ no: 2, name: "credentials", kind: "message", T: () => Credentials }
|
|
2561
|
+
]);
|
|
2562
|
+
}
|
|
2563
|
+
create(value?: PartialMessage<GetCallEdgeServerResponse>): GetCallEdgeServerResponse {
|
|
2564
|
+
const message = {};
|
|
2565
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2566
|
+
if (value !== undefined)
|
|
2567
|
+
reflectionMergePartial<GetCallEdgeServerResponse>(this, message, value);
|
|
2568
|
+
return message;
|
|
2569
|
+
}
|
|
2570
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetCallEdgeServerResponse): GetCallEdgeServerResponse {
|
|
2571
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2572
|
+
while (reader.pos < end) {
|
|
2573
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2574
|
+
switch (fieldNo) {
|
|
2575
|
+
case /* stream.video.coordinator.client_v1_rpc.CallEnvelope call */ 1:
|
|
2576
|
+
message.call = CallEnvelope.internalBinaryRead(reader, reader.uint32(), options, message.call);
|
|
2577
|
+
break;
|
|
2578
|
+
case /* stream.video.coordinator.edge_v1.Credentials credentials */ 2:
|
|
2579
|
+
message.credentials = Credentials.internalBinaryRead(reader, reader.uint32(), options, message.credentials);
|
|
2580
|
+
break;
|
|
2581
|
+
default:
|
|
2582
|
+
let u = options.readUnknownField;
|
|
2583
|
+
if (u === "throw")
|
|
2584
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2585
|
+
let d = reader.skip(wireType);
|
|
2586
|
+
if (u !== false)
|
|
2587
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2588
|
+
}
|
|
2589
|
+
}
|
|
2590
|
+
return message;
|
|
2591
|
+
}
|
|
2592
|
+
internalBinaryWrite(message: GetCallEdgeServerResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2593
|
+
/* stream.video.coordinator.client_v1_rpc.CallEnvelope call = 1; */
|
|
2594
|
+
if (message.call)
|
|
2595
|
+
CallEnvelope.internalBinaryWrite(message.call, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
2596
|
+
/* stream.video.coordinator.edge_v1.Credentials credentials = 2; */
|
|
2597
|
+
if (message.credentials)
|
|
2598
|
+
Credentials.internalBinaryWrite(message.credentials, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
2599
|
+
let u = options.writeUnknownFields;
|
|
2600
|
+
if (u !== false)
|
|
2601
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2602
|
+
return writer;
|
|
2603
|
+
}
|
|
2604
|
+
}
|
|
2605
|
+
/**
|
|
2606
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.GetCallEdgeServerResponse
|
|
2607
|
+
*/
|
|
2608
|
+
export const GetCallEdgeServerResponse = new GetCallEdgeServerResponse$Type();
|
|
2609
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2610
|
+
class CreateDeviceRequest$Type extends MessageType<CreateDeviceRequest> {
|
|
2611
|
+
constructor() {
|
|
2612
|
+
super("stream.video.coordinator.client_v1_rpc.CreateDeviceRequest", [
|
|
2613
|
+
{ no: 1, name: "input", kind: "message", T: () => DeviceInput }
|
|
2614
|
+
]);
|
|
2615
|
+
}
|
|
2616
|
+
create(value?: PartialMessage<CreateDeviceRequest>): CreateDeviceRequest {
|
|
2617
|
+
const message = {};
|
|
2618
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2619
|
+
if (value !== undefined)
|
|
2620
|
+
reflectionMergePartial<CreateDeviceRequest>(this, message, value);
|
|
2621
|
+
return message;
|
|
2622
|
+
}
|
|
2623
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateDeviceRequest): CreateDeviceRequest {
|
|
2624
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2625
|
+
while (reader.pos < end) {
|
|
2626
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2627
|
+
switch (fieldNo) {
|
|
2628
|
+
case /* stream.video.coordinator.push_v1.DeviceInput input */ 1:
|
|
2629
|
+
message.input = DeviceInput.internalBinaryRead(reader, reader.uint32(), options, message.input);
|
|
2630
|
+
break;
|
|
2631
|
+
default:
|
|
2632
|
+
let u = options.readUnknownField;
|
|
2633
|
+
if (u === "throw")
|
|
2634
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2635
|
+
let d = reader.skip(wireType);
|
|
2636
|
+
if (u !== false)
|
|
2637
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2638
|
+
}
|
|
2639
|
+
}
|
|
2640
|
+
return message;
|
|
2641
|
+
}
|
|
2642
|
+
internalBinaryWrite(message: CreateDeviceRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2643
|
+
/* stream.video.coordinator.push_v1.DeviceInput input = 1; */
|
|
2644
|
+
if (message.input)
|
|
2645
|
+
DeviceInput.internalBinaryWrite(message.input, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
2646
|
+
let u = options.writeUnknownFields;
|
|
2647
|
+
if (u !== false)
|
|
2648
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2649
|
+
return writer;
|
|
2650
|
+
}
|
|
2651
|
+
}
|
|
2652
|
+
/**
|
|
2653
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.CreateDeviceRequest
|
|
2654
|
+
*/
|
|
2655
|
+
export const CreateDeviceRequest = new CreateDeviceRequest$Type();
|
|
2656
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2657
|
+
class CreateDeviceResponse$Type extends MessageType<CreateDeviceResponse> {
|
|
2658
|
+
constructor() {
|
|
2659
|
+
super("stream.video.coordinator.client_v1_rpc.CreateDeviceResponse", [
|
|
2660
|
+
{ no: 1, name: "device", kind: "message", T: () => Device }
|
|
2661
|
+
]);
|
|
2662
|
+
}
|
|
2663
|
+
create(value?: PartialMessage<CreateDeviceResponse>): CreateDeviceResponse {
|
|
2664
|
+
const message = {};
|
|
2665
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2666
|
+
if (value !== undefined)
|
|
2667
|
+
reflectionMergePartial<CreateDeviceResponse>(this, message, value);
|
|
2668
|
+
return message;
|
|
2669
|
+
}
|
|
2670
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateDeviceResponse): CreateDeviceResponse {
|
|
2671
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2672
|
+
while (reader.pos < end) {
|
|
2673
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2674
|
+
switch (fieldNo) {
|
|
2675
|
+
case /* stream.video.coordinator.push_v1.Device device */ 1:
|
|
2676
|
+
message.device = Device.internalBinaryRead(reader, reader.uint32(), options, message.device);
|
|
2677
|
+
break;
|
|
2678
|
+
default:
|
|
2679
|
+
let u = options.readUnknownField;
|
|
2680
|
+
if (u === "throw")
|
|
2681
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2682
|
+
let d = reader.skip(wireType);
|
|
2683
|
+
if (u !== false)
|
|
2684
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2685
|
+
}
|
|
2686
|
+
}
|
|
2687
|
+
return message;
|
|
2688
|
+
}
|
|
2689
|
+
internalBinaryWrite(message: CreateDeviceResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2690
|
+
/* stream.video.coordinator.push_v1.Device device = 1; */
|
|
2691
|
+
if (message.device)
|
|
2692
|
+
Device.internalBinaryWrite(message.device, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
2693
|
+
let u = options.writeUnknownFields;
|
|
2694
|
+
if (u !== false)
|
|
2695
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2696
|
+
return writer;
|
|
2697
|
+
}
|
|
2698
|
+
}
|
|
2699
|
+
/**
|
|
2700
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.CreateDeviceResponse
|
|
2701
|
+
*/
|
|
2702
|
+
export const CreateDeviceResponse = new CreateDeviceResponse$Type();
|
|
2703
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2704
|
+
class DeleteDeviceRequest$Type extends MessageType<DeleteDeviceRequest> {
|
|
2705
|
+
constructor() {
|
|
2706
|
+
super("stream.video.coordinator.client_v1_rpc.DeleteDeviceRequest", [
|
|
2707
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2708
|
+
]);
|
|
2709
|
+
}
|
|
2710
|
+
create(value?: PartialMessage<DeleteDeviceRequest>): DeleteDeviceRequest {
|
|
2711
|
+
const message = { id: "" };
|
|
2712
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2713
|
+
if (value !== undefined)
|
|
2714
|
+
reflectionMergePartial<DeleteDeviceRequest>(this, message, value);
|
|
2715
|
+
return message;
|
|
2716
|
+
}
|
|
2717
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteDeviceRequest): DeleteDeviceRequest {
|
|
2718
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2719
|
+
while (reader.pos < end) {
|
|
2720
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2721
|
+
switch (fieldNo) {
|
|
2722
|
+
case /* string id */ 1:
|
|
2723
|
+
message.id = reader.string();
|
|
2724
|
+
break;
|
|
2725
|
+
default:
|
|
2726
|
+
let u = options.readUnknownField;
|
|
2727
|
+
if (u === "throw")
|
|
2728
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2729
|
+
let d = reader.skip(wireType);
|
|
2730
|
+
if (u !== false)
|
|
2731
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2732
|
+
}
|
|
2733
|
+
}
|
|
2734
|
+
return message;
|
|
2735
|
+
}
|
|
2736
|
+
internalBinaryWrite(message: DeleteDeviceRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2737
|
+
/* string id = 1; */
|
|
2738
|
+
if (message.id !== "")
|
|
2739
|
+
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
2740
|
+
let u = options.writeUnknownFields;
|
|
2741
|
+
if (u !== false)
|
|
2742
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2743
|
+
return writer;
|
|
2744
|
+
}
|
|
2745
|
+
}
|
|
2746
|
+
/**
|
|
2747
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.DeleteDeviceRequest
|
|
2748
|
+
*/
|
|
2749
|
+
export const DeleteDeviceRequest = new DeleteDeviceRequest$Type();
|
|
2750
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2751
|
+
class DeleteDeviceResponse$Type extends MessageType<DeleteDeviceResponse> {
|
|
2752
|
+
constructor() {
|
|
2753
|
+
super("stream.video.coordinator.client_v1_rpc.DeleteDeviceResponse", []);
|
|
2754
|
+
}
|
|
2755
|
+
create(value?: PartialMessage<DeleteDeviceResponse>): DeleteDeviceResponse {
|
|
2756
|
+
const message = {};
|
|
2757
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2758
|
+
if (value !== undefined)
|
|
2759
|
+
reflectionMergePartial<DeleteDeviceResponse>(this, message, value);
|
|
2760
|
+
return message;
|
|
2761
|
+
}
|
|
2762
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteDeviceResponse): DeleteDeviceResponse {
|
|
2763
|
+
return target ?? this.create();
|
|
2764
|
+
}
|
|
2765
|
+
internalBinaryWrite(message: DeleteDeviceResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2766
|
+
let u = options.writeUnknownFields;
|
|
2767
|
+
if (u !== false)
|
|
2768
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2769
|
+
return writer;
|
|
2770
|
+
}
|
|
2771
|
+
}
|
|
2772
|
+
/**
|
|
2773
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.DeleteDeviceResponse
|
|
2774
|
+
*/
|
|
2775
|
+
export const DeleteDeviceResponse = new DeleteDeviceResponse$Type();
|
|
2776
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2777
|
+
class QueryDevicesRequest$Type extends MessageType<QueryDevicesRequest> {
|
|
2778
|
+
constructor() {
|
|
2779
|
+
super("stream.video.coordinator.client_v1_rpc.QueryDevicesRequest", []);
|
|
2780
|
+
}
|
|
2781
|
+
create(value?: PartialMessage<QueryDevicesRequest>): QueryDevicesRequest {
|
|
2782
|
+
const message = {};
|
|
2783
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2784
|
+
if (value !== undefined)
|
|
2785
|
+
reflectionMergePartial<QueryDevicesRequest>(this, message, value);
|
|
2786
|
+
return message;
|
|
2787
|
+
}
|
|
2788
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: QueryDevicesRequest): QueryDevicesRequest {
|
|
2789
|
+
return target ?? this.create();
|
|
2790
|
+
}
|
|
2791
|
+
internalBinaryWrite(message: QueryDevicesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2792
|
+
let u = options.writeUnknownFields;
|
|
2793
|
+
if (u !== false)
|
|
2794
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2795
|
+
return writer;
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2798
|
+
/**
|
|
2799
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.QueryDevicesRequest
|
|
2800
|
+
*/
|
|
2801
|
+
export const QueryDevicesRequest = new QueryDevicesRequest$Type();
|
|
2802
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2803
|
+
class QueryDevicesResponse$Type extends MessageType<QueryDevicesResponse> {
|
|
2804
|
+
constructor() {
|
|
2805
|
+
super("stream.video.coordinator.client_v1_rpc.QueryDevicesResponse", [
|
|
2806
|
+
{ no: 1, name: "devices", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Device }
|
|
2807
|
+
]);
|
|
2808
|
+
}
|
|
2809
|
+
create(value?: PartialMessage<QueryDevicesResponse>): QueryDevicesResponse {
|
|
2810
|
+
const message = { devices: [] };
|
|
2811
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2812
|
+
if (value !== undefined)
|
|
2813
|
+
reflectionMergePartial<QueryDevicesResponse>(this, message, value);
|
|
2814
|
+
return message;
|
|
2815
|
+
}
|
|
2816
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: QueryDevicesResponse): QueryDevicesResponse {
|
|
2817
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2818
|
+
while (reader.pos < end) {
|
|
2819
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2820
|
+
switch (fieldNo) {
|
|
2821
|
+
case /* repeated stream.video.coordinator.push_v1.Device devices */ 1:
|
|
2822
|
+
message.devices.push(Device.internalBinaryRead(reader, reader.uint32(), options));
|
|
2823
|
+
break;
|
|
2824
|
+
default:
|
|
2825
|
+
let u = options.readUnknownField;
|
|
2826
|
+
if (u === "throw")
|
|
2827
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2828
|
+
let d = reader.skip(wireType);
|
|
2829
|
+
if (u !== false)
|
|
2830
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2831
|
+
}
|
|
2832
|
+
}
|
|
2833
|
+
return message;
|
|
2834
|
+
}
|
|
2835
|
+
internalBinaryWrite(message: QueryDevicesResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2836
|
+
/* repeated stream.video.coordinator.push_v1.Device devices = 1; */
|
|
2837
|
+
for (let i = 0; i < message.devices.length; i++)
|
|
2838
|
+
Device.internalBinaryWrite(message.devices[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
2839
|
+
let u = options.writeUnknownFields;
|
|
2840
|
+
if (u !== false)
|
|
2841
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2842
|
+
return writer;
|
|
2843
|
+
}
|
|
2844
|
+
}
|
|
2845
|
+
/**
|
|
2846
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.QueryDevicesResponse
|
|
2847
|
+
*/
|
|
2848
|
+
export const QueryDevicesResponse = new QueryDevicesResponse$Type();
|
|
2849
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2850
|
+
class SendEventRequest$Type extends MessageType<SendEventRequest> {
|
|
2851
|
+
constructor() {
|
|
2852
|
+
super("stream.video.coordinator.client_v1_rpc.SendEventRequest", [
|
|
2853
|
+
{ no: 1, name: "call_cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2854
|
+
{ no: 2, name: "event_type", kind: "enum", T: () => ["stream.video.coordinator.client_v1_rpc.UserEventType", UserEventType, "USER_EVENT_TYPE_"] }
|
|
2855
|
+
]);
|
|
2856
|
+
}
|
|
2857
|
+
create(value?: PartialMessage<SendEventRequest>): SendEventRequest {
|
|
2858
|
+
const message = { callCid: "", eventType: 0 };
|
|
2859
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2860
|
+
if (value !== undefined)
|
|
2861
|
+
reflectionMergePartial<SendEventRequest>(this, message, value);
|
|
2862
|
+
return message;
|
|
2863
|
+
}
|
|
2864
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SendEventRequest): SendEventRequest {
|
|
2865
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2866
|
+
while (reader.pos < end) {
|
|
2867
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2868
|
+
switch (fieldNo) {
|
|
2869
|
+
case /* string call_cid */ 1:
|
|
2870
|
+
message.callCid = reader.string();
|
|
2871
|
+
break;
|
|
2872
|
+
case /* stream.video.coordinator.client_v1_rpc.UserEventType event_type */ 2:
|
|
2873
|
+
message.eventType = reader.int32();
|
|
2874
|
+
break;
|
|
2875
|
+
default:
|
|
2876
|
+
let u = options.readUnknownField;
|
|
2877
|
+
if (u === "throw")
|
|
2878
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2879
|
+
let d = reader.skip(wireType);
|
|
2880
|
+
if (u !== false)
|
|
2881
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2882
|
+
}
|
|
2883
|
+
}
|
|
2884
|
+
return message;
|
|
2885
|
+
}
|
|
2886
|
+
internalBinaryWrite(message: SendEventRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2887
|
+
/* string call_cid = 1; */
|
|
2888
|
+
if (message.callCid !== "")
|
|
2889
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callCid);
|
|
2890
|
+
/* stream.video.coordinator.client_v1_rpc.UserEventType event_type = 2; */
|
|
2891
|
+
if (message.eventType !== 0)
|
|
2892
|
+
writer.tag(2, WireType.Varint).int32(message.eventType);
|
|
2893
|
+
let u = options.writeUnknownFields;
|
|
2894
|
+
if (u !== false)
|
|
2895
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2896
|
+
return writer;
|
|
2897
|
+
}
|
|
2898
|
+
}
|
|
2899
|
+
/**
|
|
2900
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.SendEventRequest
|
|
2901
|
+
*/
|
|
2902
|
+
export const SendEventRequest = new SendEventRequest$Type();
|
|
2903
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2904
|
+
class SendEventResponse$Type extends MessageType<SendEventResponse> {
|
|
2905
|
+
constructor() {
|
|
2906
|
+
super("stream.video.coordinator.client_v1_rpc.SendEventResponse", []);
|
|
2907
|
+
}
|
|
2908
|
+
create(value?: PartialMessage<SendEventResponse>): SendEventResponse {
|
|
2909
|
+
const message = {};
|
|
2910
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2911
|
+
if (value !== undefined)
|
|
2912
|
+
reflectionMergePartial<SendEventResponse>(this, message, value);
|
|
2913
|
+
return message;
|
|
2914
|
+
}
|
|
2915
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SendEventResponse): SendEventResponse {
|
|
2916
|
+
return target ?? this.create();
|
|
2917
|
+
}
|
|
2918
|
+
internalBinaryWrite(message: SendEventResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2919
|
+
let u = options.writeUnknownFields;
|
|
2920
|
+
if (u !== false)
|
|
2921
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2922
|
+
return writer;
|
|
2923
|
+
}
|
|
2924
|
+
}
|
|
2925
|
+
/**
|
|
2926
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.SendEventResponse
|
|
2927
|
+
*/
|
|
2928
|
+
export const SendEventResponse = new SendEventResponse$Type();
|
|
2929
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2930
|
+
class SendCustomEventRequest$Type extends MessageType<SendCustomEventRequest> {
|
|
2931
|
+
constructor() {
|
|
2932
|
+
super("stream.video.coordinator.client_v1_rpc.SendCustomEventRequest", [
|
|
2933
|
+
{ no: 1, name: "call_cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2934
|
+
{ no: 2, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2935
|
+
{ no: 3, name: "data_json", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
2936
|
+
]);
|
|
2937
|
+
}
|
|
2938
|
+
create(value?: PartialMessage<SendCustomEventRequest>): SendCustomEventRequest {
|
|
2939
|
+
const message = { callCid: "", type: "", dataJson: new Uint8Array(0) };
|
|
2940
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2941
|
+
if (value !== undefined)
|
|
2942
|
+
reflectionMergePartial<SendCustomEventRequest>(this, message, value);
|
|
2943
|
+
return message;
|
|
2944
|
+
}
|
|
2945
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SendCustomEventRequest): SendCustomEventRequest {
|
|
2946
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2947
|
+
while (reader.pos < end) {
|
|
2948
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2949
|
+
switch (fieldNo) {
|
|
2950
|
+
case /* string call_cid */ 1:
|
|
2951
|
+
message.callCid = reader.string();
|
|
2952
|
+
break;
|
|
2953
|
+
case /* string type */ 2:
|
|
2954
|
+
message.type = reader.string();
|
|
2955
|
+
break;
|
|
2956
|
+
case /* bytes data_json */ 3:
|
|
2957
|
+
message.dataJson = reader.bytes();
|
|
2958
|
+
break;
|
|
2959
|
+
default:
|
|
2960
|
+
let u = options.readUnknownField;
|
|
2961
|
+
if (u === "throw")
|
|
2962
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2963
|
+
let d = reader.skip(wireType);
|
|
2964
|
+
if (u !== false)
|
|
2965
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2966
|
+
}
|
|
2967
|
+
}
|
|
2968
|
+
return message;
|
|
2969
|
+
}
|
|
2970
|
+
internalBinaryWrite(message: SendCustomEventRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
2971
|
+
/* string call_cid = 1; */
|
|
2972
|
+
if (message.callCid !== "")
|
|
2973
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callCid);
|
|
2974
|
+
/* string type = 2; */
|
|
2975
|
+
if (message.type !== "")
|
|
2976
|
+
writer.tag(2, WireType.LengthDelimited).string(message.type);
|
|
2977
|
+
/* bytes data_json = 3; */
|
|
2978
|
+
if (message.dataJson.length)
|
|
2979
|
+
writer.tag(3, WireType.LengthDelimited).bytes(message.dataJson);
|
|
2980
|
+
let u = options.writeUnknownFields;
|
|
2981
|
+
if (u !== false)
|
|
2982
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2983
|
+
return writer;
|
|
2984
|
+
}
|
|
2985
|
+
}
|
|
2986
|
+
/**
|
|
2987
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.SendCustomEventRequest
|
|
2988
|
+
*/
|
|
2989
|
+
export const SendCustomEventRequest = new SendCustomEventRequest$Type();
|
|
2990
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2991
|
+
class SendCustomEventResponse$Type extends MessageType<SendCustomEventResponse> {
|
|
2992
|
+
constructor() {
|
|
2993
|
+
super("stream.video.coordinator.client_v1_rpc.SendCustomEventResponse", []);
|
|
2994
|
+
}
|
|
2995
|
+
create(value?: PartialMessage<SendCustomEventResponse>): SendCustomEventResponse {
|
|
2996
|
+
const message = {};
|
|
2997
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
2998
|
+
if (value !== undefined)
|
|
2999
|
+
reflectionMergePartial<SendCustomEventResponse>(this, message, value);
|
|
3000
|
+
return message;
|
|
3001
|
+
}
|
|
3002
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SendCustomEventResponse): SendCustomEventResponse {
|
|
3003
|
+
return target ?? this.create();
|
|
3004
|
+
}
|
|
3005
|
+
internalBinaryWrite(message: SendCustomEventResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3006
|
+
let u = options.writeUnknownFields;
|
|
3007
|
+
if (u !== false)
|
|
3008
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3009
|
+
return writer;
|
|
3010
|
+
}
|
|
3011
|
+
}
|
|
3012
|
+
/**
|
|
3013
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.SendCustomEventResponse
|
|
3014
|
+
*/
|
|
3015
|
+
export const SendCustomEventResponse = new SendCustomEventResponse$Type();
|
|
3016
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3017
|
+
class ReportCallStatsRequest$Type extends MessageType<ReportCallStatsRequest> {
|
|
3018
|
+
constructor() {
|
|
3019
|
+
super("stream.video.coordinator.client_v1_rpc.ReportCallStatsRequest", [
|
|
3020
|
+
{ no: 1, name: "call_cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3021
|
+
{ no: 2, name: "stats_json", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
3022
|
+
]);
|
|
3023
|
+
}
|
|
3024
|
+
create(value?: PartialMessage<ReportCallStatsRequest>): ReportCallStatsRequest {
|
|
3025
|
+
const message = { callCid: "", statsJson: new Uint8Array(0) };
|
|
3026
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3027
|
+
if (value !== undefined)
|
|
3028
|
+
reflectionMergePartial<ReportCallStatsRequest>(this, message, value);
|
|
3029
|
+
return message;
|
|
3030
|
+
}
|
|
3031
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReportCallStatsRequest): ReportCallStatsRequest {
|
|
3032
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3033
|
+
while (reader.pos < end) {
|
|
3034
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3035
|
+
switch (fieldNo) {
|
|
3036
|
+
case /* string call_cid */ 1:
|
|
3037
|
+
message.callCid = reader.string();
|
|
3038
|
+
break;
|
|
3039
|
+
case /* bytes stats_json */ 2:
|
|
3040
|
+
message.statsJson = reader.bytes();
|
|
3041
|
+
break;
|
|
3042
|
+
default:
|
|
3043
|
+
let u = options.readUnknownField;
|
|
3044
|
+
if (u === "throw")
|
|
3045
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3046
|
+
let d = reader.skip(wireType);
|
|
3047
|
+
if (u !== false)
|
|
3048
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3049
|
+
}
|
|
3050
|
+
}
|
|
3051
|
+
return message;
|
|
3052
|
+
}
|
|
3053
|
+
internalBinaryWrite(message: ReportCallStatsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3054
|
+
/* string call_cid = 1; */
|
|
3055
|
+
if (message.callCid !== "")
|
|
3056
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callCid);
|
|
3057
|
+
/* bytes stats_json = 2; */
|
|
3058
|
+
if (message.statsJson.length)
|
|
3059
|
+
writer.tag(2, WireType.LengthDelimited).bytes(message.statsJson);
|
|
3060
|
+
let u = options.writeUnknownFields;
|
|
3061
|
+
if (u !== false)
|
|
3062
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3063
|
+
return writer;
|
|
3064
|
+
}
|
|
3065
|
+
}
|
|
3066
|
+
/**
|
|
3067
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.ReportCallStatsRequest
|
|
3068
|
+
*/
|
|
3069
|
+
export const ReportCallStatsRequest = new ReportCallStatsRequest$Type();
|
|
3070
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3071
|
+
class ReportCallStatsResponse$Type extends MessageType<ReportCallStatsResponse> {
|
|
3072
|
+
constructor() {
|
|
3073
|
+
super("stream.video.coordinator.client_v1_rpc.ReportCallStatsResponse", []);
|
|
3074
|
+
}
|
|
3075
|
+
create(value?: PartialMessage<ReportCallStatsResponse>): ReportCallStatsResponse {
|
|
3076
|
+
const message = {};
|
|
3077
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3078
|
+
if (value !== undefined)
|
|
3079
|
+
reflectionMergePartial<ReportCallStatsResponse>(this, message, value);
|
|
3080
|
+
return message;
|
|
3081
|
+
}
|
|
3082
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReportCallStatsResponse): ReportCallStatsResponse {
|
|
3083
|
+
return target ?? this.create();
|
|
3084
|
+
}
|
|
3085
|
+
internalBinaryWrite(message: ReportCallStatsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3086
|
+
let u = options.writeUnknownFields;
|
|
3087
|
+
if (u !== false)
|
|
3088
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3089
|
+
return writer;
|
|
3090
|
+
}
|
|
3091
|
+
}
|
|
3092
|
+
/**
|
|
3093
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.ReportCallStatsResponse
|
|
3094
|
+
*/
|
|
3095
|
+
export const ReportCallStatsResponse = new ReportCallStatsResponse$Type();
|
|
3096
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3097
|
+
class ReportCallStatEventRequest$Type extends MessageType<ReportCallStatEventRequest> {
|
|
3098
|
+
constructor() {
|
|
3099
|
+
super("stream.video.coordinator.client_v1_rpc.ReportCallStatEventRequest", [
|
|
3100
|
+
{ no: 1, name: "call_cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3101
|
+
{ no: 2, name: "timestamp", kind: "message", T: () => Timestamp },
|
|
3102
|
+
{ no: 3, name: "participant_connected", kind: "message", oneof: "event", T: () => ParticipantConnected },
|
|
3103
|
+
{ no: 4, name: "participant_disconnected", kind: "message", oneof: "event", T: () => ParticipantDisconnected },
|
|
3104
|
+
{ no: 5, name: "media_state_changed", kind: "message", oneof: "event", T: () => MediaStateChanged }
|
|
3105
|
+
]);
|
|
3106
|
+
}
|
|
3107
|
+
create(value?: PartialMessage<ReportCallStatEventRequest>): ReportCallStatEventRequest {
|
|
3108
|
+
const message = { callCid: "", event: { oneofKind: undefined } };
|
|
3109
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3110
|
+
if (value !== undefined)
|
|
3111
|
+
reflectionMergePartial<ReportCallStatEventRequest>(this, message, value);
|
|
3112
|
+
return message;
|
|
3113
|
+
}
|
|
3114
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReportCallStatEventRequest): ReportCallStatEventRequest {
|
|
3115
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3116
|
+
while (reader.pos < end) {
|
|
3117
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3118
|
+
switch (fieldNo) {
|
|
3119
|
+
case /* string call_cid */ 1:
|
|
3120
|
+
message.callCid = reader.string();
|
|
3121
|
+
break;
|
|
3122
|
+
case /* google.protobuf.Timestamp timestamp */ 2:
|
|
3123
|
+
message.timestamp = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.timestamp);
|
|
3124
|
+
break;
|
|
3125
|
+
case /* stream.video.coordinator.stat_v1.ParticipantConnected participant_connected */ 3:
|
|
3126
|
+
message.event = {
|
|
3127
|
+
oneofKind: "participantConnected",
|
|
3128
|
+
participantConnected: ParticipantConnected.internalBinaryRead(reader, reader.uint32(), options, (message.event as any).participantConnected)
|
|
3129
|
+
};
|
|
3130
|
+
break;
|
|
3131
|
+
case /* stream.video.coordinator.stat_v1.ParticipantDisconnected participant_disconnected */ 4:
|
|
3132
|
+
message.event = {
|
|
3133
|
+
oneofKind: "participantDisconnected",
|
|
3134
|
+
participantDisconnected: ParticipantDisconnected.internalBinaryRead(reader, reader.uint32(), options, (message.event as any).participantDisconnected)
|
|
3135
|
+
};
|
|
3136
|
+
break;
|
|
3137
|
+
case /* stream.video.coordinator.stat_v1.MediaStateChanged media_state_changed */ 5:
|
|
3138
|
+
message.event = {
|
|
3139
|
+
oneofKind: "mediaStateChanged",
|
|
3140
|
+
mediaStateChanged: MediaStateChanged.internalBinaryRead(reader, reader.uint32(), options, (message.event as any).mediaStateChanged)
|
|
3141
|
+
};
|
|
3142
|
+
break;
|
|
3143
|
+
default:
|
|
3144
|
+
let u = options.readUnknownField;
|
|
3145
|
+
if (u === "throw")
|
|
3146
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3147
|
+
let d = reader.skip(wireType);
|
|
3148
|
+
if (u !== false)
|
|
3149
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3150
|
+
}
|
|
3151
|
+
}
|
|
3152
|
+
return message;
|
|
3153
|
+
}
|
|
3154
|
+
internalBinaryWrite(message: ReportCallStatEventRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3155
|
+
/* string call_cid = 1; */
|
|
3156
|
+
if (message.callCid !== "")
|
|
3157
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callCid);
|
|
3158
|
+
/* google.protobuf.Timestamp timestamp = 2; */
|
|
3159
|
+
if (message.timestamp)
|
|
3160
|
+
Timestamp.internalBinaryWrite(message.timestamp, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
3161
|
+
/* stream.video.coordinator.stat_v1.ParticipantConnected participant_connected = 3; */
|
|
3162
|
+
if (message.event.oneofKind === "participantConnected")
|
|
3163
|
+
ParticipantConnected.internalBinaryWrite(message.event.participantConnected, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
3164
|
+
/* stream.video.coordinator.stat_v1.ParticipantDisconnected participant_disconnected = 4; */
|
|
3165
|
+
if (message.event.oneofKind === "participantDisconnected")
|
|
3166
|
+
ParticipantDisconnected.internalBinaryWrite(message.event.participantDisconnected, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
3167
|
+
/* stream.video.coordinator.stat_v1.MediaStateChanged media_state_changed = 5; */
|
|
3168
|
+
if (message.event.oneofKind === "mediaStateChanged")
|
|
3169
|
+
MediaStateChanged.internalBinaryWrite(message.event.mediaStateChanged, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
3170
|
+
let u = options.writeUnknownFields;
|
|
3171
|
+
if (u !== false)
|
|
3172
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3173
|
+
return writer;
|
|
3174
|
+
}
|
|
3175
|
+
}
|
|
3176
|
+
/**
|
|
3177
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.ReportCallStatEventRequest
|
|
3178
|
+
*/
|
|
3179
|
+
export const ReportCallStatEventRequest = new ReportCallStatEventRequest$Type();
|
|
3180
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3181
|
+
class ReportCallStatEventResponse$Type extends MessageType<ReportCallStatEventResponse> {
|
|
3182
|
+
constructor() {
|
|
3183
|
+
super("stream.video.coordinator.client_v1_rpc.ReportCallStatEventResponse", []);
|
|
3184
|
+
}
|
|
3185
|
+
create(value?: PartialMessage<ReportCallStatEventResponse>): ReportCallStatEventResponse {
|
|
3186
|
+
const message = {};
|
|
3187
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3188
|
+
if (value !== undefined)
|
|
3189
|
+
reflectionMergePartial<ReportCallStatEventResponse>(this, message, value);
|
|
3190
|
+
return message;
|
|
3191
|
+
}
|
|
3192
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReportCallStatEventResponse): ReportCallStatEventResponse {
|
|
3193
|
+
return target ?? this.create();
|
|
3194
|
+
}
|
|
3195
|
+
internalBinaryWrite(message: ReportCallStatEventResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3196
|
+
let u = options.writeUnknownFields;
|
|
3197
|
+
if (u !== false)
|
|
3198
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3199
|
+
return writer;
|
|
3200
|
+
}
|
|
3201
|
+
}
|
|
3202
|
+
/**
|
|
3203
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.ReportCallStatEventResponse
|
|
3204
|
+
*/
|
|
3205
|
+
export const ReportCallStatEventResponse = new ReportCallStatEventResponse$Type();
|
|
3206
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3207
|
+
class GetCallStatsRequest$Type extends MessageType<GetCallStatsRequest> {
|
|
3208
|
+
constructor() {
|
|
3209
|
+
super("stream.video.coordinator.client_v1_rpc.GetCallStatsRequest", [
|
|
3210
|
+
{ no: 1, name: "call_cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3211
|
+
]);
|
|
3212
|
+
}
|
|
3213
|
+
create(value?: PartialMessage<GetCallStatsRequest>): GetCallStatsRequest {
|
|
3214
|
+
const message = { callCid: "" };
|
|
3215
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3216
|
+
if (value !== undefined)
|
|
3217
|
+
reflectionMergePartial<GetCallStatsRequest>(this, message, value);
|
|
3218
|
+
return message;
|
|
3219
|
+
}
|
|
3220
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetCallStatsRequest): GetCallStatsRequest {
|
|
3221
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3222
|
+
while (reader.pos < end) {
|
|
3223
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3224
|
+
switch (fieldNo) {
|
|
3225
|
+
case /* string call_cid */ 1:
|
|
3226
|
+
message.callCid = reader.string();
|
|
3227
|
+
break;
|
|
3228
|
+
default:
|
|
3229
|
+
let u = options.readUnknownField;
|
|
3230
|
+
if (u === "throw")
|
|
3231
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3232
|
+
let d = reader.skip(wireType);
|
|
3233
|
+
if (u !== false)
|
|
3234
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3235
|
+
}
|
|
3236
|
+
}
|
|
3237
|
+
return message;
|
|
3238
|
+
}
|
|
3239
|
+
internalBinaryWrite(message: GetCallStatsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3240
|
+
/* string call_cid = 1; */
|
|
3241
|
+
if (message.callCid !== "")
|
|
3242
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callCid);
|
|
3243
|
+
let u = options.writeUnknownFields;
|
|
3244
|
+
if (u !== false)
|
|
3245
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3246
|
+
return writer;
|
|
3247
|
+
}
|
|
3248
|
+
}
|
|
3249
|
+
/**
|
|
3250
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.GetCallStatsRequest
|
|
3251
|
+
*/
|
|
3252
|
+
export const GetCallStatsRequest = new GetCallStatsRequest$Type();
|
|
3253
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3254
|
+
class ReportIssueRequest$Type extends MessageType<ReportIssueRequest> {
|
|
3255
|
+
constructor() {
|
|
3256
|
+
super("stream.video.coordinator.client_v1_rpc.ReportIssueRequest", [
|
|
3257
|
+
{ no: 1, name: "call_cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3258
|
+
{ no: 2, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3259
|
+
{ no: 3, name: "custom_json", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
3260
|
+
]);
|
|
3261
|
+
}
|
|
3262
|
+
create(value?: PartialMessage<ReportIssueRequest>): ReportIssueRequest {
|
|
3263
|
+
const message = { callCid: "", description: "", customJson: new Uint8Array(0) };
|
|
3264
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3265
|
+
if (value !== undefined)
|
|
3266
|
+
reflectionMergePartial<ReportIssueRequest>(this, message, value);
|
|
3267
|
+
return message;
|
|
3268
|
+
}
|
|
3269
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReportIssueRequest): ReportIssueRequest {
|
|
3270
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3271
|
+
while (reader.pos < end) {
|
|
3272
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3273
|
+
switch (fieldNo) {
|
|
3274
|
+
case /* string call_cid */ 1:
|
|
3275
|
+
message.callCid = reader.string();
|
|
3276
|
+
break;
|
|
3277
|
+
case /* string description */ 2:
|
|
3278
|
+
message.description = reader.string();
|
|
3279
|
+
break;
|
|
3280
|
+
case /* bytes custom_json */ 3:
|
|
3281
|
+
message.customJson = reader.bytes();
|
|
3282
|
+
break;
|
|
3283
|
+
default:
|
|
3284
|
+
let u = options.readUnknownField;
|
|
3285
|
+
if (u === "throw")
|
|
3286
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3287
|
+
let d = reader.skip(wireType);
|
|
3288
|
+
if (u !== false)
|
|
3289
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3290
|
+
}
|
|
3291
|
+
}
|
|
3292
|
+
return message;
|
|
3293
|
+
}
|
|
3294
|
+
internalBinaryWrite(message: ReportIssueRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3295
|
+
/* string call_cid = 1; */
|
|
3296
|
+
if (message.callCid !== "")
|
|
3297
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callCid);
|
|
3298
|
+
/* string description = 2; */
|
|
3299
|
+
if (message.description !== "")
|
|
3300
|
+
writer.tag(2, WireType.LengthDelimited).string(message.description);
|
|
3301
|
+
/* bytes custom_json = 3; */
|
|
3302
|
+
if (message.customJson.length)
|
|
3303
|
+
writer.tag(3, WireType.LengthDelimited).bytes(message.customJson);
|
|
3304
|
+
let u = options.writeUnknownFields;
|
|
3305
|
+
if (u !== false)
|
|
3306
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3307
|
+
return writer;
|
|
3308
|
+
}
|
|
3309
|
+
}
|
|
3310
|
+
/**
|
|
3311
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.ReportIssueRequest
|
|
3312
|
+
*/
|
|
3313
|
+
export const ReportIssueRequest = new ReportIssueRequest$Type();
|
|
3314
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3315
|
+
class ReportIssueResponse$Type extends MessageType<ReportIssueResponse> {
|
|
3316
|
+
constructor() {
|
|
3317
|
+
super("stream.video.coordinator.client_v1_rpc.ReportIssueResponse", []);
|
|
3318
|
+
}
|
|
3319
|
+
create(value?: PartialMessage<ReportIssueResponse>): ReportIssueResponse {
|
|
3320
|
+
const message = {};
|
|
3321
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3322
|
+
if (value !== undefined)
|
|
3323
|
+
reflectionMergePartial<ReportIssueResponse>(this, message, value);
|
|
3324
|
+
return message;
|
|
3325
|
+
}
|
|
3326
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReportIssueResponse): ReportIssueResponse {
|
|
3327
|
+
return target ?? this.create();
|
|
3328
|
+
}
|
|
3329
|
+
internalBinaryWrite(message: ReportIssueResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3330
|
+
let u = options.writeUnknownFields;
|
|
3331
|
+
if (u !== false)
|
|
3332
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3333
|
+
return writer;
|
|
3334
|
+
}
|
|
3335
|
+
}
|
|
3336
|
+
/**
|
|
3337
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.ReportIssueResponse
|
|
3338
|
+
*/
|
|
3339
|
+
export const ReportIssueResponse = new ReportIssueResponse$Type();
|
|
3340
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3341
|
+
class ReviewCallRequest$Type extends MessageType<ReviewCallRequest> {
|
|
3342
|
+
constructor() {
|
|
3343
|
+
super("stream.video.coordinator.client_v1_rpc.ReviewCallRequest", [
|
|
3344
|
+
{ no: 1, name: "call_cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3345
|
+
{ no: 2, name: "stars", kind: "scalar", T: 2 /*ScalarType.FLOAT*/ },
|
|
3346
|
+
{ no: 3, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3347
|
+
{ no: 4, name: "custom_json", kind: "scalar", T: 12 /*ScalarType.BYTES*/ }
|
|
3348
|
+
]);
|
|
3349
|
+
}
|
|
3350
|
+
create(value?: PartialMessage<ReviewCallRequest>): ReviewCallRequest {
|
|
3351
|
+
const message = { callCid: "", stars: 0, description: "", customJson: new Uint8Array(0) };
|
|
3352
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3353
|
+
if (value !== undefined)
|
|
3354
|
+
reflectionMergePartial<ReviewCallRequest>(this, message, value);
|
|
3355
|
+
return message;
|
|
3356
|
+
}
|
|
3357
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReviewCallRequest): ReviewCallRequest {
|
|
3358
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3359
|
+
while (reader.pos < end) {
|
|
3360
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3361
|
+
switch (fieldNo) {
|
|
3362
|
+
case /* string call_cid */ 1:
|
|
3363
|
+
message.callCid = reader.string();
|
|
3364
|
+
break;
|
|
3365
|
+
case /* float stars */ 2:
|
|
3366
|
+
message.stars = reader.float();
|
|
3367
|
+
break;
|
|
3368
|
+
case /* string description */ 3:
|
|
3369
|
+
message.description = reader.string();
|
|
3370
|
+
break;
|
|
3371
|
+
case /* bytes custom_json */ 4:
|
|
3372
|
+
message.customJson = reader.bytes();
|
|
3373
|
+
break;
|
|
3374
|
+
default:
|
|
3375
|
+
let u = options.readUnknownField;
|
|
3376
|
+
if (u === "throw")
|
|
3377
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3378
|
+
let d = reader.skip(wireType);
|
|
3379
|
+
if (u !== false)
|
|
3380
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3381
|
+
}
|
|
3382
|
+
}
|
|
3383
|
+
return message;
|
|
3384
|
+
}
|
|
3385
|
+
internalBinaryWrite(message: ReviewCallRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3386
|
+
/* string call_cid = 1; */
|
|
3387
|
+
if (message.callCid !== "")
|
|
3388
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callCid);
|
|
3389
|
+
/* float stars = 2; */
|
|
3390
|
+
if (message.stars !== 0)
|
|
3391
|
+
writer.tag(2, WireType.Bit32).float(message.stars);
|
|
3392
|
+
/* string description = 3; */
|
|
3393
|
+
if (message.description !== "")
|
|
3394
|
+
writer.tag(3, WireType.LengthDelimited).string(message.description);
|
|
3395
|
+
/* bytes custom_json = 4; */
|
|
3396
|
+
if (message.customJson.length)
|
|
3397
|
+
writer.tag(4, WireType.LengthDelimited).bytes(message.customJson);
|
|
3398
|
+
let u = options.writeUnknownFields;
|
|
3399
|
+
if (u !== false)
|
|
3400
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3401
|
+
return writer;
|
|
3402
|
+
}
|
|
3403
|
+
}
|
|
3404
|
+
/**
|
|
3405
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.ReviewCallRequest
|
|
3406
|
+
*/
|
|
3407
|
+
export const ReviewCallRequest = new ReviewCallRequest$Type();
|
|
3408
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3409
|
+
class ReviewCallResponse$Type extends MessageType<ReviewCallResponse> {
|
|
3410
|
+
constructor() {
|
|
3411
|
+
super("stream.video.coordinator.client_v1_rpc.ReviewCallResponse", []);
|
|
3412
|
+
}
|
|
3413
|
+
create(value?: PartialMessage<ReviewCallResponse>): ReviewCallResponse {
|
|
3414
|
+
const message = {};
|
|
3415
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3416
|
+
if (value !== undefined)
|
|
3417
|
+
reflectionMergePartial<ReviewCallResponse>(this, message, value);
|
|
3418
|
+
return message;
|
|
3419
|
+
}
|
|
3420
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReviewCallResponse): ReviewCallResponse {
|
|
3421
|
+
return target ?? this.create();
|
|
3422
|
+
}
|
|
3423
|
+
internalBinaryWrite(message: ReviewCallResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3424
|
+
let u = options.writeUnknownFields;
|
|
3425
|
+
if (u !== false)
|
|
3426
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3427
|
+
return writer;
|
|
3428
|
+
}
|
|
3429
|
+
}
|
|
3430
|
+
/**
|
|
3431
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.ReviewCallResponse
|
|
3432
|
+
*/
|
|
3433
|
+
export const ReviewCallResponse = new ReviewCallResponse$Type();
|
|
3434
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3435
|
+
class StartBroadcastRequest$Type extends MessageType<StartBroadcastRequest> {
|
|
3436
|
+
constructor() {
|
|
3437
|
+
super("stream.video.coordinator.client_v1_rpc.StartBroadcastRequest", [
|
|
3438
|
+
{ no: 1, name: "call_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3439
|
+
{ no: 2, name: "call_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3440
|
+
{ no: 3, name: "hls_broadcast", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3441
|
+
{ no: 5, name: "rtmp", kind: "message", T: () => RTMPOptions }
|
|
3442
|
+
]);
|
|
3443
|
+
}
|
|
3444
|
+
create(value?: PartialMessage<StartBroadcastRequest>): StartBroadcastRequest {
|
|
3445
|
+
const message = { callType: "", callId: "", hlsBroadcast: false };
|
|
3446
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3447
|
+
if (value !== undefined)
|
|
3448
|
+
reflectionMergePartial<StartBroadcastRequest>(this, message, value);
|
|
3449
|
+
return message;
|
|
3450
|
+
}
|
|
3451
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartBroadcastRequest): StartBroadcastRequest {
|
|
3452
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3453
|
+
while (reader.pos < end) {
|
|
3454
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3455
|
+
switch (fieldNo) {
|
|
3456
|
+
case /* string call_type */ 1:
|
|
3457
|
+
message.callType = reader.string();
|
|
3458
|
+
break;
|
|
3459
|
+
case /* string call_id */ 2:
|
|
3460
|
+
message.callId = reader.string();
|
|
3461
|
+
break;
|
|
3462
|
+
case /* bool hls_broadcast */ 3:
|
|
3463
|
+
message.hlsBroadcast = reader.bool();
|
|
3464
|
+
break;
|
|
3465
|
+
case /* stream.video.coordinator.broadcast_v1.RTMPOptions rtmp */ 5:
|
|
3466
|
+
message.rtmp = RTMPOptions.internalBinaryRead(reader, reader.uint32(), options, message.rtmp);
|
|
3467
|
+
break;
|
|
3468
|
+
default:
|
|
3469
|
+
let u = options.readUnknownField;
|
|
3470
|
+
if (u === "throw")
|
|
3471
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3472
|
+
let d = reader.skip(wireType);
|
|
3473
|
+
if (u !== false)
|
|
3474
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3475
|
+
}
|
|
3476
|
+
}
|
|
3477
|
+
return message;
|
|
3478
|
+
}
|
|
3479
|
+
internalBinaryWrite(message: StartBroadcastRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3480
|
+
/* string call_type = 1; */
|
|
3481
|
+
if (message.callType !== "")
|
|
3482
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callType);
|
|
3483
|
+
/* string call_id = 2; */
|
|
3484
|
+
if (message.callId !== "")
|
|
3485
|
+
writer.tag(2, WireType.LengthDelimited).string(message.callId);
|
|
3486
|
+
/* bool hls_broadcast = 3; */
|
|
3487
|
+
if (message.hlsBroadcast !== false)
|
|
3488
|
+
writer.tag(3, WireType.Varint).bool(message.hlsBroadcast);
|
|
3489
|
+
/* stream.video.coordinator.broadcast_v1.RTMPOptions rtmp = 5; */
|
|
3490
|
+
if (message.rtmp)
|
|
3491
|
+
RTMPOptions.internalBinaryWrite(message.rtmp, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
3492
|
+
let u = options.writeUnknownFields;
|
|
3493
|
+
if (u !== false)
|
|
3494
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3495
|
+
return writer;
|
|
3496
|
+
}
|
|
3497
|
+
}
|
|
3498
|
+
/**
|
|
3499
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.StartBroadcastRequest
|
|
3500
|
+
*/
|
|
3501
|
+
export const StartBroadcastRequest = new StartBroadcastRequest$Type();
|
|
3502
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3503
|
+
class StartBroadcastResponse$Type extends MessageType<StartBroadcastResponse> {
|
|
3504
|
+
constructor() {
|
|
3505
|
+
super("stream.video.coordinator.client_v1_rpc.StartBroadcastResponse", [
|
|
3506
|
+
{ no: 1, name: "broadcast", kind: "message", T: () => Broadcast }
|
|
3507
|
+
]);
|
|
3508
|
+
}
|
|
3509
|
+
create(value?: PartialMessage<StartBroadcastResponse>): StartBroadcastResponse {
|
|
3510
|
+
const message = {};
|
|
3511
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3512
|
+
if (value !== undefined)
|
|
3513
|
+
reflectionMergePartial<StartBroadcastResponse>(this, message, value);
|
|
3514
|
+
return message;
|
|
3515
|
+
}
|
|
3516
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartBroadcastResponse): StartBroadcastResponse {
|
|
3517
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3518
|
+
while (reader.pos < end) {
|
|
3519
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3520
|
+
switch (fieldNo) {
|
|
3521
|
+
case /* stream.video.coordinator.broadcast_v1.Broadcast broadcast */ 1:
|
|
3522
|
+
message.broadcast = Broadcast.internalBinaryRead(reader, reader.uint32(), options, message.broadcast);
|
|
3523
|
+
break;
|
|
3524
|
+
default:
|
|
3525
|
+
let u = options.readUnknownField;
|
|
3526
|
+
if (u === "throw")
|
|
3527
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3528
|
+
let d = reader.skip(wireType);
|
|
3529
|
+
if (u !== false)
|
|
3530
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3531
|
+
}
|
|
3532
|
+
}
|
|
3533
|
+
return message;
|
|
3534
|
+
}
|
|
3535
|
+
internalBinaryWrite(message: StartBroadcastResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3536
|
+
/* stream.video.coordinator.broadcast_v1.Broadcast broadcast = 1; */
|
|
3537
|
+
if (message.broadcast)
|
|
3538
|
+
Broadcast.internalBinaryWrite(message.broadcast, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
3539
|
+
let u = options.writeUnknownFields;
|
|
3540
|
+
if (u !== false)
|
|
3541
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3542
|
+
return writer;
|
|
3543
|
+
}
|
|
3544
|
+
}
|
|
3545
|
+
/**
|
|
3546
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.StartBroadcastResponse
|
|
3547
|
+
*/
|
|
3548
|
+
export const StartBroadcastResponse = new StartBroadcastResponse$Type();
|
|
3549
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3550
|
+
class StopBroadcastRequest$Type extends MessageType<StopBroadcastRequest> {
|
|
3551
|
+
constructor() {
|
|
3552
|
+
super("stream.video.coordinator.client_v1_rpc.StopBroadcastRequest", [
|
|
3553
|
+
{ no: 1, name: "call_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3554
|
+
{ no: 2, name: "call_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3555
|
+
]);
|
|
3556
|
+
}
|
|
3557
|
+
create(value?: PartialMessage<StopBroadcastRequest>): StopBroadcastRequest {
|
|
3558
|
+
const message = { callType: "", callId: "" };
|
|
3559
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3560
|
+
if (value !== undefined)
|
|
3561
|
+
reflectionMergePartial<StopBroadcastRequest>(this, message, value);
|
|
3562
|
+
return message;
|
|
3563
|
+
}
|
|
3564
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopBroadcastRequest): StopBroadcastRequest {
|
|
3565
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3566
|
+
while (reader.pos < end) {
|
|
3567
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3568
|
+
switch (fieldNo) {
|
|
3569
|
+
case /* string call_type */ 1:
|
|
3570
|
+
message.callType = reader.string();
|
|
3571
|
+
break;
|
|
3572
|
+
case /* string call_id */ 2:
|
|
3573
|
+
message.callId = reader.string();
|
|
3574
|
+
break;
|
|
3575
|
+
default:
|
|
3576
|
+
let u = options.readUnknownField;
|
|
3577
|
+
if (u === "throw")
|
|
3578
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3579
|
+
let d = reader.skip(wireType);
|
|
3580
|
+
if (u !== false)
|
|
3581
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3582
|
+
}
|
|
3583
|
+
}
|
|
3584
|
+
return message;
|
|
3585
|
+
}
|
|
3586
|
+
internalBinaryWrite(message: StopBroadcastRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3587
|
+
/* string call_type = 1; */
|
|
3588
|
+
if (message.callType !== "")
|
|
3589
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callType);
|
|
3590
|
+
/* string call_id = 2; */
|
|
3591
|
+
if (message.callId !== "")
|
|
3592
|
+
writer.tag(2, WireType.LengthDelimited).string(message.callId);
|
|
3593
|
+
let u = options.writeUnknownFields;
|
|
3594
|
+
if (u !== false)
|
|
3595
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3596
|
+
return writer;
|
|
3597
|
+
}
|
|
3598
|
+
}
|
|
3599
|
+
/**
|
|
3600
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.StopBroadcastRequest
|
|
3601
|
+
*/
|
|
3602
|
+
export const StopBroadcastRequest = new StopBroadcastRequest$Type();
|
|
3603
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3604
|
+
class StopBroadcastResponse$Type extends MessageType<StopBroadcastResponse> {
|
|
3605
|
+
constructor() {
|
|
3606
|
+
super("stream.video.coordinator.client_v1_rpc.StopBroadcastResponse", []);
|
|
3607
|
+
}
|
|
3608
|
+
create(value?: PartialMessage<StopBroadcastResponse>): StopBroadcastResponse {
|
|
3609
|
+
const message = {};
|
|
3610
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3611
|
+
if (value !== undefined)
|
|
3612
|
+
reflectionMergePartial<StopBroadcastResponse>(this, message, value);
|
|
3613
|
+
return message;
|
|
3614
|
+
}
|
|
3615
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopBroadcastResponse): StopBroadcastResponse {
|
|
3616
|
+
return target ?? this.create();
|
|
3617
|
+
}
|
|
3618
|
+
internalBinaryWrite(message: StopBroadcastResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3619
|
+
let u = options.writeUnknownFields;
|
|
3620
|
+
if (u !== false)
|
|
3621
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3622
|
+
return writer;
|
|
3623
|
+
}
|
|
3624
|
+
}
|
|
3625
|
+
/**
|
|
3626
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.StopBroadcastResponse
|
|
3627
|
+
*/
|
|
3628
|
+
export const StopBroadcastResponse = new StopBroadcastResponse$Type();
|
|
3629
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3630
|
+
class StartRecordingRequest$Type extends MessageType<StartRecordingRequest> {
|
|
3631
|
+
constructor() {
|
|
3632
|
+
super("stream.video.coordinator.client_v1_rpc.StartRecordingRequest", [
|
|
3633
|
+
{ no: 1, name: "call_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3634
|
+
{ no: 2, name: "call_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3635
|
+
]);
|
|
3636
|
+
}
|
|
3637
|
+
create(value?: PartialMessage<StartRecordingRequest>): StartRecordingRequest {
|
|
3638
|
+
const message = { callType: "", callId: "" };
|
|
3639
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3640
|
+
if (value !== undefined)
|
|
3641
|
+
reflectionMergePartial<StartRecordingRequest>(this, message, value);
|
|
3642
|
+
return message;
|
|
3643
|
+
}
|
|
3644
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartRecordingRequest): StartRecordingRequest {
|
|
3645
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3646
|
+
while (reader.pos < end) {
|
|
3647
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3648
|
+
switch (fieldNo) {
|
|
3649
|
+
case /* string call_type */ 1:
|
|
3650
|
+
message.callType = reader.string();
|
|
3651
|
+
break;
|
|
3652
|
+
case /* string call_id */ 2:
|
|
3653
|
+
message.callId = reader.string();
|
|
3654
|
+
break;
|
|
3655
|
+
default:
|
|
3656
|
+
let u = options.readUnknownField;
|
|
3657
|
+
if (u === "throw")
|
|
3658
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3659
|
+
let d = reader.skip(wireType);
|
|
3660
|
+
if (u !== false)
|
|
3661
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3662
|
+
}
|
|
3663
|
+
}
|
|
3664
|
+
return message;
|
|
3665
|
+
}
|
|
3666
|
+
internalBinaryWrite(message: StartRecordingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3667
|
+
/* string call_type = 1; */
|
|
3668
|
+
if (message.callType !== "")
|
|
3669
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callType);
|
|
3670
|
+
/* string call_id = 2; */
|
|
3671
|
+
if (message.callId !== "")
|
|
3672
|
+
writer.tag(2, WireType.LengthDelimited).string(message.callId);
|
|
3673
|
+
let u = options.writeUnknownFields;
|
|
3674
|
+
if (u !== false)
|
|
3675
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3676
|
+
return writer;
|
|
3677
|
+
}
|
|
3678
|
+
}
|
|
3679
|
+
/**
|
|
3680
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.StartRecordingRequest
|
|
3681
|
+
*/
|
|
3682
|
+
export const StartRecordingRequest = new StartRecordingRequest$Type();
|
|
3683
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3684
|
+
class StartRecordingResponse$Type extends MessageType<StartRecordingResponse> {
|
|
3685
|
+
constructor() {
|
|
3686
|
+
super("stream.video.coordinator.client_v1_rpc.StartRecordingResponse", []);
|
|
3687
|
+
}
|
|
3688
|
+
create(value?: PartialMessage<StartRecordingResponse>): StartRecordingResponse {
|
|
3689
|
+
const message = {};
|
|
3690
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3691
|
+
if (value !== undefined)
|
|
3692
|
+
reflectionMergePartial<StartRecordingResponse>(this, message, value);
|
|
3693
|
+
return message;
|
|
3694
|
+
}
|
|
3695
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartRecordingResponse): StartRecordingResponse {
|
|
3696
|
+
return target ?? this.create();
|
|
3697
|
+
}
|
|
3698
|
+
internalBinaryWrite(message: StartRecordingResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3699
|
+
let u = options.writeUnknownFields;
|
|
3700
|
+
if (u !== false)
|
|
3701
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3702
|
+
return writer;
|
|
3703
|
+
}
|
|
3704
|
+
}
|
|
3705
|
+
/**
|
|
3706
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.StartRecordingResponse
|
|
3707
|
+
*/
|
|
3708
|
+
export const StartRecordingResponse = new StartRecordingResponse$Type();
|
|
3709
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3710
|
+
class StopRecordingRequest$Type extends MessageType<StopRecordingRequest> {
|
|
3711
|
+
constructor() {
|
|
3712
|
+
super("stream.video.coordinator.client_v1_rpc.StopRecordingRequest", [
|
|
3713
|
+
{ no: 1, name: "call_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3714
|
+
{ no: 2, name: "call_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3715
|
+
]);
|
|
3716
|
+
}
|
|
3717
|
+
create(value?: PartialMessage<StopRecordingRequest>): StopRecordingRequest {
|
|
3718
|
+
const message = { callType: "", callId: "" };
|
|
3719
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3720
|
+
if (value !== undefined)
|
|
3721
|
+
reflectionMergePartial<StopRecordingRequest>(this, message, value);
|
|
3722
|
+
return message;
|
|
3723
|
+
}
|
|
3724
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopRecordingRequest): StopRecordingRequest {
|
|
3725
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3726
|
+
while (reader.pos < end) {
|
|
3727
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3728
|
+
switch (fieldNo) {
|
|
3729
|
+
case /* string call_type */ 1:
|
|
3730
|
+
message.callType = reader.string();
|
|
3731
|
+
break;
|
|
3732
|
+
case /* string call_id */ 2:
|
|
3733
|
+
message.callId = reader.string();
|
|
3734
|
+
break;
|
|
3735
|
+
default:
|
|
3736
|
+
let u = options.readUnknownField;
|
|
3737
|
+
if (u === "throw")
|
|
3738
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3739
|
+
let d = reader.skip(wireType);
|
|
3740
|
+
if (u !== false)
|
|
3741
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3742
|
+
}
|
|
3743
|
+
}
|
|
3744
|
+
return message;
|
|
3745
|
+
}
|
|
3746
|
+
internalBinaryWrite(message: StopRecordingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3747
|
+
/* string call_type = 1; */
|
|
3748
|
+
if (message.callType !== "")
|
|
3749
|
+
writer.tag(1, WireType.LengthDelimited).string(message.callType);
|
|
3750
|
+
/* string call_id = 2; */
|
|
3751
|
+
if (message.callId !== "")
|
|
3752
|
+
writer.tag(2, WireType.LengthDelimited).string(message.callId);
|
|
3753
|
+
let u = options.writeUnknownFields;
|
|
3754
|
+
if (u !== false)
|
|
3755
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3756
|
+
return writer;
|
|
3757
|
+
}
|
|
3758
|
+
}
|
|
3759
|
+
/**
|
|
3760
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.StopRecordingRequest
|
|
3761
|
+
*/
|
|
3762
|
+
export const StopRecordingRequest = new StopRecordingRequest$Type();
|
|
3763
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3764
|
+
class StopRecordingResponse$Type extends MessageType<StopRecordingResponse> {
|
|
3765
|
+
constructor() {
|
|
3766
|
+
super("stream.video.coordinator.client_v1_rpc.StopRecordingResponse", []);
|
|
3767
|
+
}
|
|
3768
|
+
create(value?: PartialMessage<StopRecordingResponse>): StopRecordingResponse {
|
|
3769
|
+
const message = {};
|
|
3770
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
|
3771
|
+
if (value !== undefined)
|
|
3772
|
+
reflectionMergePartial<StopRecordingResponse>(this, message, value);
|
|
3773
|
+
return message;
|
|
3774
|
+
}
|
|
3775
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopRecordingResponse): StopRecordingResponse {
|
|
3776
|
+
return target ?? this.create();
|
|
3777
|
+
}
|
|
3778
|
+
internalBinaryWrite(message: StopRecordingResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3779
|
+
let u = options.writeUnknownFields;
|
|
3780
|
+
if (u !== false)
|
|
3781
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3782
|
+
return writer;
|
|
3783
|
+
}
|
|
3784
|
+
}
|
|
3785
|
+
/**
|
|
3786
|
+
* @generated MessageType for protobuf message stream.video.coordinator.client_v1_rpc.StopRecordingResponse
|
|
3787
|
+
*/
|
|
3788
|
+
export const StopRecordingResponse = new StopRecordingResponse$Type();
|
|
3789
|
+
/**
|
|
3790
|
+
* @generated ServiceType for protobuf service stream.video.coordinator.client_v1_rpc.ClientRPC
|
|
3791
|
+
*/
|
|
3792
|
+
export const ClientRPC = new ServiceType("stream.video.coordinator.client_v1_rpc.ClientRPC", [
|
|
3793
|
+
{ name: "CreateCall", options: {}, I: CreateCallRequest, O: CreateCallResponse },
|
|
3794
|
+
{ name: "GetOrCreateCall", options: {}, I: GetOrCreateCallRequest, O: GetOrCreateCallResponse },
|
|
3795
|
+
{ name: "JoinCall", options: {}, I: JoinCallRequest, O: JoinCallResponse },
|
|
3796
|
+
{ name: "GetCallEdgeServer", options: {}, I: GetCallEdgeServerRequest, O: GetCallEdgeServerResponse },
|
|
3797
|
+
{ name: "UpdateCall", options: {}, I: UpdateCallRequest, O: UpdateCallResponse },
|
|
3798
|
+
{ name: "UpdateCallPermissions", options: {}, I: UpdateCallPermissionsRequest, O: UpdateCallPermissionsResponse },
|
|
3799
|
+
{ name: "EndCall", options: {}, I: EndCallRequest, O: EndCallResponse },
|
|
3800
|
+
{ name: "QueryCalls", options: {}, I: QueryCallsRequest, O: QueryCallsResponse },
|
|
3801
|
+
{ name: "QueryMembers", options: {}, I: QueryMembersRequest, O: QueryMembersResponse },
|
|
3802
|
+
{ name: "CreateDevice", options: {}, I: CreateDeviceRequest, O: CreateDeviceResponse },
|
|
3803
|
+
{ name: "DeleteDevice", options: {}, I: DeleteDeviceRequest, O: DeleteDeviceResponse },
|
|
3804
|
+
{ name: "QueryDevices", options: {}, I: QueryDevicesRequest, O: QueryDevicesResponse },
|
|
3805
|
+
{ name: "StartBroadcast", options: {}, I: StartBroadcastRequest, O: StartBroadcastResponse },
|
|
3806
|
+
{ name: "StopBroadcast", options: {}, I: StopBroadcastRequest, O: StopBroadcastResponse },
|
|
3807
|
+
{ name: "StartRecording", options: {}, I: StartRecordingRequest, O: StartRecordingResponse },
|
|
3808
|
+
{ name: "StopRecording", options: {}, I: StopRecordingRequest, O: StopRecordingResponse },
|
|
3809
|
+
{ name: "UpsertCallMembers", options: {}, I: UpsertCallMembersRequest, O: UpsertCallMembersResponse },
|
|
3810
|
+
{ name: "DeleteCallMembers", options: {}, I: DeleteCallMembersRequest, O: DeleteCallMembersResponse },
|
|
3811
|
+
{ name: "SendEvent", options: {}, I: SendEventRequest, O: SendEventResponse },
|
|
3812
|
+
{ name: "SendCustomEvent", options: {}, I: SendCustomEventRequest, O: SendCustomEventResponse },
|
|
3813
|
+
{ name: "QueryUsers", options: {}, I: QueryUsersRequest, O: QueryUsersResponse },
|
|
3814
|
+
{ name: "UpsertUsers", options: {}, I: UpsertUsersRequest, O: UpsertUsersResponse },
|
|
3815
|
+
{ name: "ReportCallStats", options: {}, I: ReportCallStatsRequest, O: ReportCallStatsResponse },
|
|
3816
|
+
{ name: "ReportCallStatEvent", options: {}, I: ReportCallStatEventRequest, O: ReportCallStatEventResponse },
|
|
3817
|
+
{ name: "ReviewCall", options: {}, I: ReviewCallRequest, O: ReviewCallResponse },
|
|
3818
|
+
{ name: "ReportIssue", options: {}, I: ReportIssueRequest, O: ReportIssueResponse }
|
|
3819
|
+
]);
|