@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.
Files changed (157) hide show
  1. package/LICENSE +219 -0
  2. package/README.md +14 -0
  3. package/dist/index.d.ts +23 -0
  4. package/dist/index.js +14663 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/src/Batcher.d.ts +12 -0
  7. package/dist/src/CallDropScheduler.d.ts +44 -0
  8. package/dist/src/StreamSfuClient.d.ts +25 -0
  9. package/dist/src/StreamVideoClient.d.ts +145 -0
  10. package/dist/src/__tests__/StreamVideoClient.test.d.ts +1 -0
  11. package/dist/src/config/defaultConfigs.d.ts +2 -0
  12. package/dist/src/config/types.d.ts +29 -0
  13. package/dist/src/coordinator/StreamCoordinatorClient.d.ts +19 -0
  14. package/dist/src/coordinator/connection/base64.d.ts +2 -0
  15. package/dist/src/coordinator/connection/client.d.ts +174 -0
  16. package/dist/src/coordinator/connection/connection.d.ts +139 -0
  17. package/dist/src/coordinator/connection/connection_fallback.d.ts +38 -0
  18. package/dist/src/coordinator/connection/errors.d.ts +16 -0
  19. package/dist/src/coordinator/connection/events.d.ts +7 -0
  20. package/dist/src/coordinator/connection/insights.d.ts +58 -0
  21. package/dist/src/coordinator/connection/signing.d.ts +30 -0
  22. package/dist/src/coordinator/connection/token_manager.d.ts +39 -0
  23. package/dist/src/coordinator/connection/types.d.ts +96 -0
  24. package/dist/src/coordinator/connection/utils.d.ts +25 -0
  25. package/dist/src/devices.d.ts +79 -0
  26. package/dist/src/events/call.d.ts +26 -0
  27. package/dist/src/events/internal.d.ts +8 -0
  28. package/dist/src/events/participant.d.ts +21 -0
  29. package/dist/src/events/speaker.d.ts +10 -0
  30. package/dist/src/gen/coordinator/index.d.ts +1664 -0
  31. package/dist/src/gen/google/protobuf/descriptor.d.ts +1650 -0
  32. package/dist/src/gen/google/protobuf/duration.d.ts +113 -0
  33. package/dist/src/gen/google/protobuf/struct.d.ts +184 -0
  34. package/dist/src/gen/google/protobuf/timestamp.d.ts +158 -0
  35. package/dist/src/gen/video/coordinator/broadcast_v1/broadcast.d.ts +66 -0
  36. package/dist/src/gen/video/coordinator/call_v1/call.d.ts +254 -0
  37. package/dist/src/gen/video/coordinator/client_v1_rpc/client_rpc.client.d.ts +351 -0
  38. package/dist/src/gen/video/coordinator/client_v1_rpc/client_rpc.d.ts +1488 -0
  39. package/dist/src/gen/video/coordinator/client_v1_rpc/envelopes.d.ts +143 -0
  40. package/dist/src/gen/video/coordinator/client_v1_rpc/websocket.d.ts +292 -0
  41. package/dist/src/gen/video/coordinator/edge_v1/edge.d.ts +183 -0
  42. package/dist/src/gen/video/coordinator/event_v1/event.d.ts +411 -0
  43. package/dist/src/gen/video/coordinator/geofence_v1/geofence.d.ts +63 -0
  44. package/dist/src/gen/video/coordinator/member_v1/member.d.ts +59 -0
  45. package/dist/src/gen/video/coordinator/participant_v1/participant.d.ts +103 -0
  46. package/dist/src/gen/video/coordinator/push_v1/push.d.ts +240 -0
  47. package/dist/src/gen/video/coordinator/stat_v1/stat.d.ts +308 -0
  48. package/dist/src/gen/video/coordinator/user_v1/user.d.ts +112 -0
  49. package/dist/src/gen/video/coordinator/utils_v1/utils.d.ts +47 -0
  50. package/dist/src/gen/video/sfu/event/events.d.ts +736 -0
  51. package/dist/src/gen/video/sfu/models/models.d.ts +460 -0
  52. package/dist/src/gen/video/sfu/signal_rpc/signal.client.d.ts +89 -0
  53. package/dist/src/gen/video/sfu/signal_rpc/signal.d.ts +320 -0
  54. package/dist/src/helpers/browsers.d.ts +8 -0
  55. package/dist/src/helpers/sound-detector.d.ts +34 -0
  56. package/dist/src/rpc/createClient.d.ts +10 -0
  57. package/dist/src/rpc/index.d.ts +2 -0
  58. package/dist/src/rpc/latency.d.ts +9 -0
  59. package/dist/src/rtc/Call.d.ts +180 -0
  60. package/dist/src/rtc/CallMetadata.d.ts +9 -0
  61. package/dist/src/rtc/Dispatcher.d.ts +9 -0
  62. package/dist/src/rtc/IceTrickleBuffer.d.ts +11 -0
  63. package/dist/src/rtc/callEventHandlers.d.ts +5 -0
  64. package/dist/src/rtc/codecs.d.ts +2 -0
  65. package/dist/src/rtc/helpers/iceCandidate.d.ts +2 -0
  66. package/dist/src/rtc/helpers/tracks.d.ts +3 -0
  67. package/dist/src/rtc/publisher.d.ts +53 -0
  68. package/dist/src/rtc/signal.d.ts +5 -0
  69. package/dist/src/rtc/subscriber.d.ts +7 -0
  70. package/dist/src/rtc/types.d.ts +84 -0
  71. package/dist/src/rtc/videoLayers.d.ts +17 -0
  72. package/dist/src/stats/coordinator-stats-reporter.d.ts +10 -0
  73. package/dist/src/stats/state-store-stats-reporter.d.ts +57 -0
  74. package/dist/src/stats/types.d.ts +42 -0
  75. package/dist/src/store/index.d.ts +2 -0
  76. package/dist/src/store/rxUtils.d.ts +18 -0
  77. package/dist/src/store/stateStore.d.ts +182 -0
  78. package/generate-openapi.sh +32 -0
  79. package/index.ts +30 -0
  80. package/openapitools.json +7 -0
  81. package/package.json +54 -0
  82. package/rollup.config.mjs +48 -0
  83. package/src/Batcher.ts +43 -0
  84. package/src/CallDropScheduler.ts +192 -0
  85. package/src/StreamSfuClient.ts +185 -0
  86. package/src/StreamVideoClient.ts +487 -0
  87. package/src/__tests__/StreamVideoClient.test.ts +83 -0
  88. package/src/config/defaultConfigs.ts +15 -0
  89. package/src/config/types.ts +30 -0
  90. package/src/coordinator/StreamCoordinatorClient.ts +111 -0
  91. package/src/coordinator/connection/base64.ts +80 -0
  92. package/src/coordinator/connection/client.ts +815 -0
  93. package/src/coordinator/connection/connection.ts +750 -0
  94. package/src/coordinator/connection/connection_fallback.ts +239 -0
  95. package/src/coordinator/connection/errors.ts +70 -0
  96. package/src/coordinator/connection/events.ts +10 -0
  97. package/src/coordinator/connection/insights.ts +88 -0
  98. package/src/coordinator/connection/signing.ts +104 -0
  99. package/src/coordinator/connection/token_manager.ts +160 -0
  100. package/src/coordinator/connection/types.ts +120 -0
  101. package/src/coordinator/connection/utils.ts +148 -0
  102. package/src/devices.ts +266 -0
  103. package/src/events/call.ts +166 -0
  104. package/src/events/internal.ts +47 -0
  105. package/src/events/participant.ts +97 -0
  106. package/src/events/speaker.ts +62 -0
  107. package/src/gen/coordinator/index.ts +1653 -0
  108. package/src/gen/google/protobuf/descriptor.ts +3466 -0
  109. package/src/gen/google/protobuf/duration.ts +232 -0
  110. package/src/gen/google/protobuf/struct.ts +481 -0
  111. package/src/gen/google/protobuf/timestamp.ts +291 -0
  112. package/src/gen/video/coordinator/broadcast_v1/broadcast.ts +154 -0
  113. package/src/gen/video/coordinator/call_v1/call.ts +651 -0
  114. package/src/gen/video/coordinator/client_v1_rpc/client_rpc.client.ts +463 -0
  115. package/src/gen/video/coordinator/client_v1_rpc/client_rpc.ts +3819 -0
  116. package/src/gen/video/coordinator/client_v1_rpc/envelopes.ts +424 -0
  117. package/src/gen/video/coordinator/client_v1_rpc/websocket.ts +719 -0
  118. package/src/gen/video/coordinator/edge_v1/edge.ts +532 -0
  119. package/src/gen/video/coordinator/event_v1/event.ts +1171 -0
  120. package/src/gen/video/coordinator/geofence_v1/geofence.ts +128 -0
  121. package/src/gen/video/coordinator/member_v1/member.ts +138 -0
  122. package/src/gen/video/coordinator/participant_v1/participant.ts +261 -0
  123. package/src/gen/video/coordinator/push_v1/push.ts +651 -0
  124. package/src/gen/video/coordinator/stat_v1/stat.ts +656 -0
  125. package/src/gen/video/coordinator/user_v1/user.ts +277 -0
  126. package/src/gen/video/coordinator/utils_v1/utils.ts +98 -0
  127. package/src/gen/video/sfu/event/events.ts +1962 -0
  128. package/src/gen/video/sfu/models/models.ts +1062 -0
  129. package/src/gen/video/sfu/signal_rpc/signal.client.ts +108 -0
  130. package/src/gen/video/sfu/signal_rpc/signal.ts +906 -0
  131. package/src/helpers/browsers.ts +13 -0
  132. package/src/helpers/sound-detector.ts +85 -0
  133. package/src/rpc/createClient.ts +50 -0
  134. package/src/rpc/index.ts +2 -0
  135. package/src/rpc/latency.ts +43 -0
  136. package/src/rtc/Call.ts +585 -0
  137. package/src/rtc/CallMetadata.ts +24 -0
  138. package/src/rtc/Dispatcher.ts +46 -0
  139. package/src/rtc/IceTrickleBuffer.ts +21 -0
  140. package/src/rtc/callEventHandlers.ts +37 -0
  141. package/src/rtc/codecs.ts +61 -0
  142. package/src/rtc/helpers/iceCandidate.ts +16 -0
  143. package/src/rtc/helpers/tracks.ts +18 -0
  144. package/src/rtc/publisher.ts +305 -0
  145. package/src/rtc/signal.ts +34 -0
  146. package/src/rtc/subscriber.ts +85 -0
  147. package/src/rtc/types.ts +105 -0
  148. package/src/rtc/videoLayers.ts +103 -0
  149. package/src/stats/coordinator-stats-reporter.ts +167 -0
  150. package/src/stats/state-store-stats-reporter.ts +364 -0
  151. package/src/stats/types.ts +46 -0
  152. package/src/store/index.ts +2 -0
  153. package/src/store/rxUtils.ts +42 -0
  154. package/src/store/stateStore.ts +341 -0
  155. package/tsconfig.json +25 -0
  156. package/typedoc.json +11 -0
  157. package/vite.config.ts +11 -0
@@ -0,0 +1,254 @@
1
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
2
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
3
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
4
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
5
+ import type { PartialMessage } from "@protobuf-ts/runtime";
6
+ import { MessageType } from "@protobuf-ts/runtime";
7
+ import { Member } from "../member_v1/member";
8
+ import { Timestamp } from "../../../google/protobuf/timestamp";
9
+ /**
10
+ * @generated from protobuf message stream.video.coordinator.call_v1.CallType
11
+ */
12
+ export interface CallType {
13
+ /**
14
+ * The unique name for the call type.
15
+ *
16
+ * @generated from protobuf field: string name = 1;
17
+ */
18
+ name: string;
19
+ /**
20
+ * @generated from protobuf field: stream.video.coordinator.call_v1.CallSettings settings = 2;
21
+ */
22
+ settings?: CallSettings;
23
+ /**
24
+ * @generated from protobuf field: google.protobuf.Timestamp created_at = 3;
25
+ */
26
+ createdAt?: Timestamp;
27
+ /**
28
+ * @generated from protobuf field: google.protobuf.Timestamp updated_at = 4;
29
+ */
30
+ updatedAt?: Timestamp;
31
+ }
32
+ /**
33
+ * @generated from protobuf message stream.video.coordinator.call_v1.Call
34
+ */
35
+ export interface Call {
36
+ /**
37
+ * The call type.
38
+ *
39
+ * @generated from protobuf field: string type = 1;
40
+ */
41
+ type: string;
42
+ /**
43
+ * The call id.
44
+ *
45
+ * @generated from protobuf field: string id = 2;
46
+ */
47
+ id: string;
48
+ /**
49
+ * A concatenation of call type and call id with ":" inbetween
50
+ *
51
+ * @generated from protobuf field: string call_cid = 3;
52
+ */
53
+ callCid: string;
54
+ /**
55
+ * The id of the user that created this call.
56
+ *
57
+ * @generated from protobuf field: string created_by_user_id = 4;
58
+ */
59
+ createdByUserId: string;
60
+ /**
61
+ * @generated from protobuf field: bytes custom_json = 5;
62
+ */
63
+ customJson: Uint8Array;
64
+ /**
65
+ * Call settings overrides that are set explicitly in this call
66
+ * This set of settings does not include CallType settings
67
+ *
68
+ * @generated from protobuf field: stream.video.coordinator.call_v1.CallSettings settings_overrides = 6;
69
+ */
70
+ settingsOverrides?: CallSettings;
71
+ /**
72
+ * @generated from protobuf field: google.protobuf.Timestamp created_at = 7;
73
+ */
74
+ createdAt?: Timestamp;
75
+ /**
76
+ * @generated from protobuf field: google.protobuf.Timestamp updated_at = 8;
77
+ */
78
+ updatedAt?: Timestamp;
79
+ /**
80
+ * If true, the call is currently recording
81
+ *
82
+ * @generated from protobuf field: bool recording_active = 9;
83
+ */
84
+ recordingActive: boolean;
85
+ /**
86
+ * If true, the call is currently broadcasting
87
+ *
88
+ * @generated from protobuf field: bool broadcasting_active = 10;
89
+ */
90
+ broadcastingActive: boolean;
91
+ }
92
+ /**
93
+ * CallDetails contains call additional details
94
+ *
95
+ * @generated from protobuf message stream.video.coordinator.call_v1.CallDetails
96
+ */
97
+ export interface CallDetails {
98
+ /**
99
+ * Call settings_overrides merged with CallType settings
100
+ *
101
+ * @generated from protobuf field: stream.video.coordinator.call_v1.CallSettings settings = 1;
102
+ */
103
+ settings?: CallSettings;
104
+ /**
105
+ * Ordered list of member user IDs
106
+ *
107
+ * @generated from protobuf field: repeated string member_user_ids = 2;
108
+ */
109
+ memberUserIds: string[];
110
+ /**
111
+ * Call members map indexed by Member.user_id
112
+ * Cannot have more than 100 members
113
+ *
114
+ * @generated from protobuf field: map<string, stream.video.coordinator.member_v1.Member> members = 3;
115
+ */
116
+ members: {
117
+ [key: string]: Member;
118
+ };
119
+ }
120
+ /**
121
+ * CallSettings contains all options available to change for a CallType
122
+ * Settings can also be set on the call level where they will be merged with call options using `json.Merge`
123
+ * To make sure options can be overridden on the call level, all underlying option fields should be optional
124
+ *
125
+ * @generated from protobuf message stream.video.coordinator.call_v1.CallSettings
126
+ */
127
+ export interface CallSettings {
128
+ /**
129
+ * @generated from protobuf field: stream.video.coordinator.call_v1.RecordingSettings recording = 1;
130
+ */
131
+ recording?: RecordingSettings;
132
+ /**
133
+ * @generated from protobuf field: stream.video.coordinator.call_v1.BroadcastingSettings broadcasting = 2;
134
+ */
135
+ broadcasting?: BroadcastingSettings;
136
+ /**
137
+ * @generated from protobuf field: stream.video.coordinator.call_v1.GeofencingSettings geofencing = 3;
138
+ */
139
+ geofencing?: GeofencingSettings;
140
+ }
141
+ /**
142
+ * Contains all settings regarding to call recording
143
+ *
144
+ * @generated from protobuf message stream.video.coordinator.call_v1.RecordingSettings
145
+ */
146
+ export interface RecordingSettings {
147
+ /**
148
+ * Whether recording feature is enabled
149
+ * Default: false
150
+ *
151
+ * @generated from protobuf field: optional bool enabled = 1;
152
+ */
153
+ enabled?: boolean;
154
+ }
155
+ /**
156
+ * Contains all settings regarding to call broadcasting
157
+ *
158
+ * @generated from protobuf message stream.video.coordinator.call_v1.BroadcastingSettings
159
+ */
160
+ export interface BroadcastingSettings {
161
+ /**
162
+ * Whether broadcasting feature is enabled
163
+ * Default: false
164
+ *
165
+ * @generated from protobuf field: optional bool enabled = 1;
166
+ */
167
+ enabled?: boolean;
168
+ }
169
+ /**
170
+ * Contains all settings regarding to call geofencing
171
+ * Initialization of geofencing enables the feature
172
+ *
173
+ * @generated from protobuf message stream.video.coordinator.call_v1.GeofencingSettings
174
+ */
175
+ export interface GeofencingSettings {
176
+ /**
177
+ * Names of the geofences that are selected
178
+ *
179
+ * @generated from protobuf field: repeated string names = 1;
180
+ */
181
+ names: string[];
182
+ }
183
+ declare class CallType$Type extends MessageType<CallType> {
184
+ constructor();
185
+ create(value?: PartialMessage<CallType>): CallType;
186
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CallType): CallType;
187
+ internalBinaryWrite(message: CallType, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
188
+ }
189
+ /**
190
+ * @generated MessageType for protobuf message stream.video.coordinator.call_v1.CallType
191
+ */
192
+ export declare const CallType: CallType$Type;
193
+ declare class Call$Type extends MessageType<Call> {
194
+ constructor();
195
+ create(value?: PartialMessage<Call>): Call;
196
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Call): Call;
197
+ internalBinaryWrite(message: Call, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
198
+ }
199
+ /**
200
+ * @generated MessageType for protobuf message stream.video.coordinator.call_v1.Call
201
+ */
202
+ export declare const Call: Call$Type;
203
+ declare class CallDetails$Type extends MessageType<CallDetails> {
204
+ constructor();
205
+ create(value?: PartialMessage<CallDetails>): CallDetails;
206
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CallDetails): CallDetails;
207
+ private binaryReadMap3;
208
+ internalBinaryWrite(message: CallDetails, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
209
+ }
210
+ /**
211
+ * @generated MessageType for protobuf message stream.video.coordinator.call_v1.CallDetails
212
+ */
213
+ export declare const CallDetails: CallDetails$Type;
214
+ declare class CallSettings$Type extends MessageType<CallSettings> {
215
+ constructor();
216
+ create(value?: PartialMessage<CallSettings>): CallSettings;
217
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CallSettings): CallSettings;
218
+ internalBinaryWrite(message: CallSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
219
+ }
220
+ /**
221
+ * @generated MessageType for protobuf message stream.video.coordinator.call_v1.CallSettings
222
+ */
223
+ export declare const CallSettings: CallSettings$Type;
224
+ declare class RecordingSettings$Type extends MessageType<RecordingSettings> {
225
+ constructor();
226
+ create(value?: PartialMessage<RecordingSettings>): RecordingSettings;
227
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RecordingSettings): RecordingSettings;
228
+ internalBinaryWrite(message: RecordingSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
229
+ }
230
+ /**
231
+ * @generated MessageType for protobuf message stream.video.coordinator.call_v1.RecordingSettings
232
+ */
233
+ export declare const RecordingSettings: RecordingSettings$Type;
234
+ declare class BroadcastingSettings$Type extends MessageType<BroadcastingSettings> {
235
+ constructor();
236
+ create(value?: PartialMessage<BroadcastingSettings>): BroadcastingSettings;
237
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BroadcastingSettings): BroadcastingSettings;
238
+ internalBinaryWrite(message: BroadcastingSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
239
+ }
240
+ /**
241
+ * @generated MessageType for protobuf message stream.video.coordinator.call_v1.BroadcastingSettings
242
+ */
243
+ export declare const BroadcastingSettings: BroadcastingSettings$Type;
244
+ declare class GeofencingSettings$Type extends MessageType<GeofencingSettings> {
245
+ constructor();
246
+ create(value?: PartialMessage<GeofencingSettings>): GeofencingSettings;
247
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GeofencingSettings): GeofencingSettings;
248
+ internalBinaryWrite(message: GeofencingSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
249
+ }
250
+ /**
251
+ * @generated MessageType for protobuf message stream.video.coordinator.call_v1.GeofencingSettings
252
+ */
253
+ export declare const GeofencingSettings: GeofencingSettings$Type;
254
+ export {};
@@ -0,0 +1,351 @@
1
+ import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
2
+ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
3
+ import type { ReportIssueResponse } from "./client_rpc";
4
+ import type { ReportIssueRequest } from "./client_rpc";
5
+ import type { ReviewCallResponse } from "./client_rpc";
6
+ import type { ReviewCallRequest } from "./client_rpc";
7
+ import type { ReportCallStatEventResponse } from "./client_rpc";
8
+ import type { ReportCallStatEventRequest } from "./client_rpc";
9
+ import type { ReportCallStatsResponse } from "./client_rpc";
10
+ import type { ReportCallStatsRequest } from "./client_rpc";
11
+ import type { UpsertUsersResponse } from "./client_rpc";
12
+ import type { UpsertUsersRequest } from "./client_rpc";
13
+ import type { QueryUsersResponse } from "./client_rpc";
14
+ import type { QueryUsersRequest } from "./client_rpc";
15
+ import type { SendCustomEventResponse } from "./client_rpc";
16
+ import type { SendCustomEventRequest } from "./client_rpc";
17
+ import type { SendEventResponse } from "./client_rpc";
18
+ import type { SendEventRequest } from "./client_rpc";
19
+ import type { DeleteCallMembersResponse } from "./client_rpc";
20
+ import type { DeleteCallMembersRequest } from "./client_rpc";
21
+ import type { UpsertCallMembersResponse } from "./client_rpc";
22
+ import type { UpsertCallMembersRequest } from "./client_rpc";
23
+ import type { StopRecordingResponse } from "./client_rpc";
24
+ import type { StopRecordingRequest } from "./client_rpc";
25
+ import type { StartRecordingResponse } from "./client_rpc";
26
+ import type { StartRecordingRequest } from "./client_rpc";
27
+ import type { StopBroadcastResponse } from "./client_rpc";
28
+ import type { StopBroadcastRequest } from "./client_rpc";
29
+ import type { StartBroadcastResponse } from "./client_rpc";
30
+ import type { StartBroadcastRequest } from "./client_rpc";
31
+ import type { QueryDevicesResponse } from "./client_rpc";
32
+ import type { QueryDevicesRequest } from "./client_rpc";
33
+ import type { DeleteDeviceResponse } from "./client_rpc";
34
+ import type { DeleteDeviceRequest } from "./client_rpc";
35
+ import type { CreateDeviceResponse } from "./client_rpc";
36
+ import type { CreateDeviceRequest } from "./client_rpc";
37
+ import type { QueryMembersResponse } from "./client_rpc";
38
+ import type { QueryMembersRequest } from "./client_rpc";
39
+ import type { QueryCallsResponse } from "./client_rpc";
40
+ import type { QueryCallsRequest } from "./client_rpc";
41
+ import type { EndCallResponse } from "./client_rpc";
42
+ import type { EndCallRequest } from "./client_rpc";
43
+ import type { UpdateCallPermissionsResponse } from "./client_rpc";
44
+ import type { UpdateCallPermissionsRequest } from "./client_rpc";
45
+ import type { UpdateCallResponse } from "./client_rpc";
46
+ import type { UpdateCallRequest } from "./client_rpc";
47
+ import type { GetCallEdgeServerResponse } from "./client_rpc";
48
+ import type { GetCallEdgeServerRequest } from "./client_rpc";
49
+ import type { JoinCallResponse } from "./client_rpc";
50
+ import type { JoinCallRequest } from "./client_rpc";
51
+ import type { GetOrCreateCallResponse } from "./client_rpc";
52
+ import type { GetOrCreateCallRequest } from "./client_rpc";
53
+ import type { CreateCallResponse } from "./client_rpc";
54
+ import type { CreateCallRequest } from "./client_rpc";
55
+ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
56
+ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
57
+ /**
58
+ * @generated from protobuf service stream.video.coordinator.client_v1_rpc.ClientRPC
59
+ */
60
+ export interface IClientRPCClient {
61
+ /**
62
+ * rpc GetCall(GetCallRequest) returns (GetCallResponse);
63
+ *
64
+ * @generated from protobuf rpc: CreateCall(stream.video.coordinator.client_v1_rpc.CreateCallRequest) returns (stream.video.coordinator.client_v1_rpc.CreateCallResponse);
65
+ */
66
+ createCall(input: CreateCallRequest, options?: RpcOptions): UnaryCall<CreateCallRequest, CreateCallResponse>;
67
+ /**
68
+ * @generated from protobuf rpc: GetOrCreateCall(stream.video.coordinator.client_v1_rpc.GetOrCreateCallRequest) returns (stream.video.coordinator.client_v1_rpc.GetOrCreateCallResponse);
69
+ */
70
+ getOrCreateCall(input: GetOrCreateCallRequest, options?: RpcOptions): UnaryCall<GetOrCreateCallRequest, GetOrCreateCallResponse>;
71
+ /**
72
+ * JoinCall acts as GetOrCreateCall, but additionally returns list of datacenters to measure latency
73
+ *
74
+ * @generated from protobuf rpc: JoinCall(stream.video.coordinator.client_v1_rpc.JoinCallRequest) returns (stream.video.coordinator.client_v1_rpc.JoinCallResponse);
75
+ */
76
+ joinCall(input: JoinCallRequest, options?: RpcOptions): UnaryCall<JoinCallRequest, JoinCallResponse>;
77
+ /**
78
+ * GetCallSFU returns SFU information that is required to establish a connection
79
+ *
80
+ * @generated from protobuf rpc: GetCallEdgeServer(stream.video.coordinator.client_v1_rpc.GetCallEdgeServerRequest) returns (stream.video.coordinator.client_v1_rpc.GetCallEdgeServerResponse);
81
+ */
82
+ getCallEdgeServer(input: GetCallEdgeServerRequest, options?: RpcOptions): UnaryCall<GetCallEdgeServerRequest, GetCallEdgeServerResponse>;
83
+ /**
84
+ * @generated from protobuf rpc: UpdateCall(stream.video.coordinator.client_v1_rpc.UpdateCallRequest) returns (stream.video.coordinator.client_v1_rpc.UpdateCallResponse);
85
+ */
86
+ updateCall(input: UpdateCallRequest, options?: RpcOptions): UnaryCall<UpdateCallRequest, UpdateCallResponse>;
87
+ /**
88
+ * UpdateCallPermissions allows users to change permissions granted to members
89
+ * this can be done in three ways:
90
+ * 1. grant users a different role for this call (eg. make a host)
91
+ * 2. grant users a permission on this call (eg. allow one user to screen-share)
92
+ * 3. grant some permissions to all users (eg. allow participants to unmute themselves)
93
+ *
94
+ * @generated from protobuf rpc: UpdateCallPermissions(stream.video.coordinator.client_v1_rpc.UpdateCallPermissionsRequest) returns (stream.video.coordinator.client_v1_rpc.UpdateCallPermissionsResponse);
95
+ */
96
+ updateCallPermissions(input: UpdateCallPermissionsRequest, options?: RpcOptions): UnaryCall<UpdateCallPermissionsRequest, UpdateCallPermissionsResponse>;
97
+ /**
98
+ * EndCall sets the call as ended with the following side-effects:
99
+ * the call itself is updated and ended_at set to current time
100
+ * on-going call recording and broadcasting is stopped
101
+ * all participants connected to the call are disconnected
102
+ *
103
+ * @generated from protobuf rpc: EndCall(stream.video.coordinator.client_v1_rpc.EndCallRequest) returns (stream.video.coordinator.client_v1_rpc.EndCallResponse);
104
+ */
105
+ endCall(input: EndCallRequest, options?: RpcOptions): UnaryCall<EndCallRequest, EndCallResponse>;
106
+ /**
107
+ * @generated from protobuf rpc: QueryCalls(stream.video.coordinator.client_v1_rpc.QueryCallsRequest) returns (stream.video.coordinator.client_v1_rpc.QueryCallsResponse);
108
+ */
109
+ queryCalls(input: QueryCallsRequest, options?: RpcOptions): UnaryCall<QueryCallsRequest, QueryCallsResponse>;
110
+ /**
111
+ * QueryMembers gets a list of members that match your query criteria
112
+ *
113
+ * @generated from protobuf rpc: QueryMembers(stream.video.coordinator.client_v1_rpc.QueryMembersRequest) returns (stream.video.coordinator.client_v1_rpc.QueryMembersResponse);
114
+ */
115
+ queryMembers(input: QueryMembersRequest, options?: RpcOptions): UnaryCall<QueryMembersRequest, QueryMembersResponse>;
116
+ /**
117
+ * @generated from protobuf rpc: CreateDevice(stream.video.coordinator.client_v1_rpc.CreateDeviceRequest) returns (stream.video.coordinator.client_v1_rpc.CreateDeviceResponse);
118
+ */
119
+ createDevice(input: CreateDeviceRequest, options?: RpcOptions): UnaryCall<CreateDeviceRequest, CreateDeviceResponse>;
120
+ /**
121
+ * @generated from protobuf rpc: DeleteDevice(stream.video.coordinator.client_v1_rpc.DeleteDeviceRequest) returns (stream.video.coordinator.client_v1_rpc.DeleteDeviceResponse);
122
+ */
123
+ deleteDevice(input: DeleteDeviceRequest, options?: RpcOptions): UnaryCall<DeleteDeviceRequest, DeleteDeviceResponse>;
124
+ /**
125
+ * @generated from protobuf rpc: QueryDevices(stream.video.coordinator.client_v1_rpc.QueryDevicesRequest) returns (stream.video.coordinator.client_v1_rpc.QueryDevicesResponse);
126
+ */
127
+ queryDevices(input: QueryDevicesRequest, options?: RpcOptions): UnaryCall<QueryDevicesRequest, QueryDevicesResponse>;
128
+ /**
129
+ * starts broadcast to HLS and/or RTMP, replaces existing settings if broadcasting is already started
130
+ *
131
+ * @generated from protobuf rpc: StartBroadcast(stream.video.coordinator.client_v1_rpc.StartBroadcastRequest) returns (stream.video.coordinator.client_v1_rpc.StartBroadcastResponse);
132
+ */
133
+ startBroadcast(input: StartBroadcastRequest, options?: RpcOptions): UnaryCall<StartBroadcastRequest, StartBroadcastResponse>;
134
+ /**
135
+ * stops broadcasting to HLS and/or RTMP
136
+ *
137
+ * @generated from protobuf rpc: StopBroadcast(stream.video.coordinator.client_v1_rpc.StopBroadcastRequest) returns (stream.video.coordinator.client_v1_rpc.StopBroadcastResponse);
138
+ */
139
+ stopBroadcast(input: StopBroadcastRequest, options?: RpcOptions): UnaryCall<StopBroadcastRequest, StopBroadcastResponse>;
140
+ /**
141
+ * @generated from protobuf rpc: StartRecording(stream.video.coordinator.client_v1_rpc.StartRecordingRequest) returns (stream.video.coordinator.client_v1_rpc.StartRecordingResponse);
142
+ */
143
+ startRecording(input: StartRecordingRequest, options?: RpcOptions): UnaryCall<StartRecordingRequest, StartRecordingResponse>;
144
+ /**
145
+ * @generated from protobuf rpc: StopRecording(stream.video.coordinator.client_v1_rpc.StopRecordingRequest) returns (stream.video.coordinator.client_v1_rpc.StopRecordingResponse);
146
+ */
147
+ stopRecording(input: StopRecordingRequest, options?: RpcOptions): UnaryCall<StopRecordingRequest, StopRecordingResponse>;
148
+ /**
149
+ * Adds members to a call
150
+ *
151
+ * @generated from protobuf rpc: UpsertCallMembers(stream.video.coordinator.client_v1_rpc.UpsertCallMembersRequest) returns (stream.video.coordinator.client_v1_rpc.UpsertCallMembersResponse);
152
+ */
153
+ upsertCallMembers(input: UpsertCallMembersRequest, options?: RpcOptions): UnaryCall<UpsertCallMembersRequest, UpsertCallMembersResponse>;
154
+ /**
155
+ * DeleteMembers deletes members from a room.
156
+ *
157
+ * @generated from protobuf rpc: DeleteCallMembers(stream.video.coordinator.client_v1_rpc.DeleteCallMembersRequest) returns (stream.video.coordinator.client_v1_rpc.DeleteCallMembersResponse);
158
+ */
159
+ deleteCallMembers(input: DeleteCallMembersRequest, options?: RpcOptions): UnaryCall<DeleteCallMembersRequest, DeleteCallMembersResponse>;
160
+ /**
161
+ * @generated from protobuf rpc: SendEvent(stream.video.coordinator.client_v1_rpc.SendEventRequest) returns (stream.video.coordinator.client_v1_rpc.SendEventResponse);
162
+ */
163
+ sendEvent(input: SendEventRequest, options?: RpcOptions): UnaryCall<SendEventRequest, SendEventResponse>;
164
+ /**
165
+ * @generated from protobuf rpc: SendCustomEvent(stream.video.coordinator.client_v1_rpc.SendCustomEventRequest) returns (stream.video.coordinator.client_v1_rpc.SendCustomEventResponse);
166
+ */
167
+ sendCustomEvent(input: SendCustomEventRequest, options?: RpcOptions): UnaryCall<SendCustomEventRequest, SendCustomEventResponse>;
168
+ /**
169
+ * @generated from protobuf rpc: QueryUsers(stream.video.coordinator.client_v1_rpc.QueryUsersRequest) returns (stream.video.coordinator.client_v1_rpc.QueryUsersResponse);
170
+ */
171
+ queryUsers(input: QueryUsersRequest, options?: RpcOptions): UnaryCall<QueryUsersRequest, QueryUsersResponse>;
172
+ /**
173
+ * @generated from protobuf rpc: UpsertUsers(stream.video.coordinator.client_v1_rpc.UpsertUsersRequest) returns (stream.video.coordinator.client_v1_rpc.UpsertUsersResponse);
174
+ */
175
+ upsertUsers(input: UpsertUsersRequest, options?: RpcOptions): UnaryCall<UpsertUsersRequest, UpsertUsersResponse>;
176
+ /**
177
+ * endpoint for storing stats (perhaps we should move this to the SFU layer though)
178
+ *
179
+ * @generated from protobuf rpc: ReportCallStats(stream.video.coordinator.client_v1_rpc.ReportCallStatsRequest) returns (stream.video.coordinator.client_v1_rpc.ReportCallStatsResponse);
180
+ */
181
+ reportCallStats(input: ReportCallStatsRequest, options?: RpcOptions): UnaryCall<ReportCallStatsRequest, ReportCallStatsResponse>;
182
+ /**
183
+ * endpoint for storing stat-related events raised by the client
184
+ *
185
+ * @generated from protobuf rpc: ReportCallStatEvent(stream.video.coordinator.client_v1_rpc.ReportCallStatEventRequest) returns (stream.video.coordinator.client_v1_rpc.ReportCallStatEventResponse);
186
+ */
187
+ reportCallStatEvent(input: ReportCallStatEventRequest, options?: RpcOptions): UnaryCall<ReportCallStatEventRequest, ReportCallStatEventResponse>;
188
+ /**
189
+ * endpoint for reviewing/rating the quality of calls
190
+ *
191
+ * @generated from protobuf rpc: ReviewCall(stream.video.coordinator.client_v1_rpc.ReviewCallRequest) returns (stream.video.coordinator.client_v1_rpc.ReviewCallResponse);
192
+ */
193
+ reviewCall(input: ReviewCallRequest, options?: RpcOptions): UnaryCall<ReviewCallRequest, ReviewCallResponse>;
194
+ /**
195
+ * endpoint for users to report issues with a call
196
+ *
197
+ * @generated from protobuf rpc: ReportIssue(stream.video.coordinator.client_v1_rpc.ReportIssueRequest) returns (stream.video.coordinator.client_v1_rpc.ReportIssueResponse);
198
+ */
199
+ reportIssue(input: ReportIssueRequest, options?: RpcOptions): UnaryCall<ReportIssueRequest, ReportIssueResponse>;
200
+ }
201
+ /**
202
+ * @generated from protobuf service stream.video.coordinator.client_v1_rpc.ClientRPC
203
+ */
204
+ export declare class ClientRPCClient implements IClientRPCClient, ServiceInfo {
205
+ private readonly _transport;
206
+ typeName: string;
207
+ methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
208
+ options: {
209
+ [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
210
+ };
211
+ constructor(_transport: RpcTransport);
212
+ /**
213
+ * rpc GetCall(GetCallRequest) returns (GetCallResponse);
214
+ *
215
+ * @generated from protobuf rpc: CreateCall(stream.video.coordinator.client_v1_rpc.CreateCallRequest) returns (stream.video.coordinator.client_v1_rpc.CreateCallResponse);
216
+ */
217
+ createCall(input: CreateCallRequest, options?: RpcOptions): UnaryCall<CreateCallRequest, CreateCallResponse>;
218
+ /**
219
+ * @generated from protobuf rpc: GetOrCreateCall(stream.video.coordinator.client_v1_rpc.GetOrCreateCallRequest) returns (stream.video.coordinator.client_v1_rpc.GetOrCreateCallResponse);
220
+ */
221
+ getOrCreateCall(input: GetOrCreateCallRequest, options?: RpcOptions): UnaryCall<GetOrCreateCallRequest, GetOrCreateCallResponse>;
222
+ /**
223
+ * JoinCall acts as GetOrCreateCall, but additionally returns list of datacenters to measure latency
224
+ *
225
+ * @generated from protobuf rpc: JoinCall(stream.video.coordinator.client_v1_rpc.JoinCallRequest) returns (stream.video.coordinator.client_v1_rpc.JoinCallResponse);
226
+ */
227
+ joinCall(input: JoinCallRequest, options?: RpcOptions): UnaryCall<JoinCallRequest, JoinCallResponse>;
228
+ /**
229
+ * GetCallSFU returns SFU information that is required to establish a connection
230
+ *
231
+ * @generated from protobuf rpc: GetCallEdgeServer(stream.video.coordinator.client_v1_rpc.GetCallEdgeServerRequest) returns (stream.video.coordinator.client_v1_rpc.GetCallEdgeServerResponse);
232
+ */
233
+ getCallEdgeServer(input: GetCallEdgeServerRequest, options?: RpcOptions): UnaryCall<GetCallEdgeServerRequest, GetCallEdgeServerResponse>;
234
+ /**
235
+ * @generated from protobuf rpc: UpdateCall(stream.video.coordinator.client_v1_rpc.UpdateCallRequest) returns (stream.video.coordinator.client_v1_rpc.UpdateCallResponse);
236
+ */
237
+ updateCall(input: UpdateCallRequest, options?: RpcOptions): UnaryCall<UpdateCallRequest, UpdateCallResponse>;
238
+ /**
239
+ * UpdateCallPermissions allows users to change permissions granted to members
240
+ * this can be done in three ways:
241
+ * 1. grant users a different role for this call (eg. make a host)
242
+ * 2. grant users a permission on this call (eg. allow one user to screen-share)
243
+ * 3. grant some permissions to all users (eg. allow participants to unmute themselves)
244
+ *
245
+ * @generated from protobuf rpc: UpdateCallPermissions(stream.video.coordinator.client_v1_rpc.UpdateCallPermissionsRequest) returns (stream.video.coordinator.client_v1_rpc.UpdateCallPermissionsResponse);
246
+ */
247
+ updateCallPermissions(input: UpdateCallPermissionsRequest, options?: RpcOptions): UnaryCall<UpdateCallPermissionsRequest, UpdateCallPermissionsResponse>;
248
+ /**
249
+ * EndCall sets the call as ended with the following side-effects:
250
+ * the call itself is updated and ended_at set to current time
251
+ * on-going call recording and broadcasting is stopped
252
+ * all participants connected to the call are disconnected
253
+ *
254
+ * @generated from protobuf rpc: EndCall(stream.video.coordinator.client_v1_rpc.EndCallRequest) returns (stream.video.coordinator.client_v1_rpc.EndCallResponse);
255
+ */
256
+ endCall(input: EndCallRequest, options?: RpcOptions): UnaryCall<EndCallRequest, EndCallResponse>;
257
+ /**
258
+ * @generated from protobuf rpc: QueryCalls(stream.video.coordinator.client_v1_rpc.QueryCallsRequest) returns (stream.video.coordinator.client_v1_rpc.QueryCallsResponse);
259
+ */
260
+ queryCalls(input: QueryCallsRequest, options?: RpcOptions): UnaryCall<QueryCallsRequest, QueryCallsResponse>;
261
+ /**
262
+ * QueryMembers gets a list of members that match your query criteria
263
+ *
264
+ * @generated from protobuf rpc: QueryMembers(stream.video.coordinator.client_v1_rpc.QueryMembersRequest) returns (stream.video.coordinator.client_v1_rpc.QueryMembersResponse);
265
+ */
266
+ queryMembers(input: QueryMembersRequest, options?: RpcOptions): UnaryCall<QueryMembersRequest, QueryMembersResponse>;
267
+ /**
268
+ * @generated from protobuf rpc: CreateDevice(stream.video.coordinator.client_v1_rpc.CreateDeviceRequest) returns (stream.video.coordinator.client_v1_rpc.CreateDeviceResponse);
269
+ */
270
+ createDevice(input: CreateDeviceRequest, options?: RpcOptions): UnaryCall<CreateDeviceRequest, CreateDeviceResponse>;
271
+ /**
272
+ * @generated from protobuf rpc: DeleteDevice(stream.video.coordinator.client_v1_rpc.DeleteDeviceRequest) returns (stream.video.coordinator.client_v1_rpc.DeleteDeviceResponse);
273
+ */
274
+ deleteDevice(input: DeleteDeviceRequest, options?: RpcOptions): UnaryCall<DeleteDeviceRequest, DeleteDeviceResponse>;
275
+ /**
276
+ * @generated from protobuf rpc: QueryDevices(stream.video.coordinator.client_v1_rpc.QueryDevicesRequest) returns (stream.video.coordinator.client_v1_rpc.QueryDevicesResponse);
277
+ */
278
+ queryDevices(input: QueryDevicesRequest, options?: RpcOptions): UnaryCall<QueryDevicesRequest, QueryDevicesResponse>;
279
+ /**
280
+ * starts broadcast to HLS and/or RTMP, replaces existing settings if broadcasting is already started
281
+ *
282
+ * @generated from protobuf rpc: StartBroadcast(stream.video.coordinator.client_v1_rpc.StartBroadcastRequest) returns (stream.video.coordinator.client_v1_rpc.StartBroadcastResponse);
283
+ */
284
+ startBroadcast(input: StartBroadcastRequest, options?: RpcOptions): UnaryCall<StartBroadcastRequest, StartBroadcastResponse>;
285
+ /**
286
+ * stops broadcasting to HLS and/or RTMP
287
+ *
288
+ * @generated from protobuf rpc: StopBroadcast(stream.video.coordinator.client_v1_rpc.StopBroadcastRequest) returns (stream.video.coordinator.client_v1_rpc.StopBroadcastResponse);
289
+ */
290
+ stopBroadcast(input: StopBroadcastRequest, options?: RpcOptions): UnaryCall<StopBroadcastRequest, StopBroadcastResponse>;
291
+ /**
292
+ * @generated from protobuf rpc: StartRecording(stream.video.coordinator.client_v1_rpc.StartRecordingRequest) returns (stream.video.coordinator.client_v1_rpc.StartRecordingResponse);
293
+ */
294
+ startRecording(input: StartRecordingRequest, options?: RpcOptions): UnaryCall<StartRecordingRequest, StartRecordingResponse>;
295
+ /**
296
+ * @generated from protobuf rpc: StopRecording(stream.video.coordinator.client_v1_rpc.StopRecordingRequest) returns (stream.video.coordinator.client_v1_rpc.StopRecordingResponse);
297
+ */
298
+ stopRecording(input: StopRecordingRequest, options?: RpcOptions): UnaryCall<StopRecordingRequest, StopRecordingResponse>;
299
+ /**
300
+ * Adds members to a call
301
+ *
302
+ * @generated from protobuf rpc: UpsertCallMembers(stream.video.coordinator.client_v1_rpc.UpsertCallMembersRequest) returns (stream.video.coordinator.client_v1_rpc.UpsertCallMembersResponse);
303
+ */
304
+ upsertCallMembers(input: UpsertCallMembersRequest, options?: RpcOptions): UnaryCall<UpsertCallMembersRequest, UpsertCallMembersResponse>;
305
+ /**
306
+ * DeleteMembers deletes members from a room.
307
+ *
308
+ * @generated from protobuf rpc: DeleteCallMembers(stream.video.coordinator.client_v1_rpc.DeleteCallMembersRequest) returns (stream.video.coordinator.client_v1_rpc.DeleteCallMembersResponse);
309
+ */
310
+ deleteCallMembers(input: DeleteCallMembersRequest, options?: RpcOptions): UnaryCall<DeleteCallMembersRequest, DeleteCallMembersResponse>;
311
+ /**
312
+ * @generated from protobuf rpc: SendEvent(stream.video.coordinator.client_v1_rpc.SendEventRequest) returns (stream.video.coordinator.client_v1_rpc.SendEventResponse);
313
+ */
314
+ sendEvent(input: SendEventRequest, options?: RpcOptions): UnaryCall<SendEventRequest, SendEventResponse>;
315
+ /**
316
+ * @generated from protobuf rpc: SendCustomEvent(stream.video.coordinator.client_v1_rpc.SendCustomEventRequest) returns (stream.video.coordinator.client_v1_rpc.SendCustomEventResponse);
317
+ */
318
+ sendCustomEvent(input: SendCustomEventRequest, options?: RpcOptions): UnaryCall<SendCustomEventRequest, SendCustomEventResponse>;
319
+ /**
320
+ * @generated from protobuf rpc: QueryUsers(stream.video.coordinator.client_v1_rpc.QueryUsersRequest) returns (stream.video.coordinator.client_v1_rpc.QueryUsersResponse);
321
+ */
322
+ queryUsers(input: QueryUsersRequest, options?: RpcOptions): UnaryCall<QueryUsersRequest, QueryUsersResponse>;
323
+ /**
324
+ * @generated from protobuf rpc: UpsertUsers(stream.video.coordinator.client_v1_rpc.UpsertUsersRequest) returns (stream.video.coordinator.client_v1_rpc.UpsertUsersResponse);
325
+ */
326
+ upsertUsers(input: UpsertUsersRequest, options?: RpcOptions): UnaryCall<UpsertUsersRequest, UpsertUsersResponse>;
327
+ /**
328
+ * endpoint for storing stats (perhaps we should move this to the SFU layer though)
329
+ *
330
+ * @generated from protobuf rpc: ReportCallStats(stream.video.coordinator.client_v1_rpc.ReportCallStatsRequest) returns (stream.video.coordinator.client_v1_rpc.ReportCallStatsResponse);
331
+ */
332
+ reportCallStats(input: ReportCallStatsRequest, options?: RpcOptions): UnaryCall<ReportCallStatsRequest, ReportCallStatsResponse>;
333
+ /**
334
+ * endpoint for storing stat-related events raised by the client
335
+ *
336
+ * @generated from protobuf rpc: ReportCallStatEvent(stream.video.coordinator.client_v1_rpc.ReportCallStatEventRequest) returns (stream.video.coordinator.client_v1_rpc.ReportCallStatEventResponse);
337
+ */
338
+ reportCallStatEvent(input: ReportCallStatEventRequest, options?: RpcOptions): UnaryCall<ReportCallStatEventRequest, ReportCallStatEventResponse>;
339
+ /**
340
+ * endpoint for reviewing/rating the quality of calls
341
+ *
342
+ * @generated from protobuf rpc: ReviewCall(stream.video.coordinator.client_v1_rpc.ReviewCallRequest) returns (stream.video.coordinator.client_v1_rpc.ReviewCallResponse);
343
+ */
344
+ reviewCall(input: ReviewCallRequest, options?: RpcOptions): UnaryCall<ReviewCallRequest, ReviewCallResponse>;
345
+ /**
346
+ * endpoint for users to report issues with a call
347
+ *
348
+ * @generated from protobuf rpc: ReportIssue(stream.video.coordinator.client_v1_rpc.ReportIssueRequest) returns (stream.video.coordinator.client_v1_rpc.ReportIssueResponse);
349
+ */
350
+ reportIssue(input: ReportIssueRequest, options?: RpcOptions): UnaryCall<ReportIssueRequest, ReportIssueResponse>;
351
+ }