@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,463 @@
|
|
|
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 type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
6
|
+
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
7
|
+
import { ClientRPC } from "./client_rpc";
|
|
8
|
+
import type { ReportIssueResponse } from "./client_rpc";
|
|
9
|
+
import type { ReportIssueRequest } from "./client_rpc";
|
|
10
|
+
import type { ReviewCallResponse } from "./client_rpc";
|
|
11
|
+
import type { ReviewCallRequest } from "./client_rpc";
|
|
12
|
+
import type { ReportCallStatEventResponse } from "./client_rpc";
|
|
13
|
+
import type { ReportCallStatEventRequest } from "./client_rpc";
|
|
14
|
+
import type { ReportCallStatsResponse } from "./client_rpc";
|
|
15
|
+
import type { ReportCallStatsRequest } from "./client_rpc";
|
|
16
|
+
import type { UpsertUsersResponse } from "./client_rpc";
|
|
17
|
+
import type { UpsertUsersRequest } from "./client_rpc";
|
|
18
|
+
import type { QueryUsersResponse } from "./client_rpc";
|
|
19
|
+
import type { QueryUsersRequest } from "./client_rpc";
|
|
20
|
+
import type { SendCustomEventResponse } from "./client_rpc";
|
|
21
|
+
import type { SendCustomEventRequest } from "./client_rpc";
|
|
22
|
+
import type { SendEventResponse } from "./client_rpc";
|
|
23
|
+
import type { SendEventRequest } from "./client_rpc";
|
|
24
|
+
import type { DeleteCallMembersResponse } from "./client_rpc";
|
|
25
|
+
import type { DeleteCallMembersRequest } from "./client_rpc";
|
|
26
|
+
import type { UpsertCallMembersResponse } from "./client_rpc";
|
|
27
|
+
import type { UpsertCallMembersRequest } from "./client_rpc";
|
|
28
|
+
import type { StopRecordingResponse } from "./client_rpc";
|
|
29
|
+
import type { StopRecordingRequest } from "./client_rpc";
|
|
30
|
+
import type { StartRecordingResponse } from "./client_rpc";
|
|
31
|
+
import type { StartRecordingRequest } from "./client_rpc";
|
|
32
|
+
import type { StopBroadcastResponse } from "./client_rpc";
|
|
33
|
+
import type { StopBroadcastRequest } from "./client_rpc";
|
|
34
|
+
import type { StartBroadcastResponse } from "./client_rpc";
|
|
35
|
+
import type { StartBroadcastRequest } from "./client_rpc";
|
|
36
|
+
import type { QueryDevicesResponse } from "./client_rpc";
|
|
37
|
+
import type { QueryDevicesRequest } from "./client_rpc";
|
|
38
|
+
import type { DeleteDeviceResponse } from "./client_rpc";
|
|
39
|
+
import type { DeleteDeviceRequest } from "./client_rpc";
|
|
40
|
+
import type { CreateDeviceResponse } from "./client_rpc";
|
|
41
|
+
import type { CreateDeviceRequest } from "./client_rpc";
|
|
42
|
+
import type { QueryMembersResponse } from "./client_rpc";
|
|
43
|
+
import type { QueryMembersRequest } from "./client_rpc";
|
|
44
|
+
import type { QueryCallsResponse } from "./client_rpc";
|
|
45
|
+
import type { QueryCallsRequest } from "./client_rpc";
|
|
46
|
+
import type { EndCallResponse } from "./client_rpc";
|
|
47
|
+
import type { EndCallRequest } from "./client_rpc";
|
|
48
|
+
import type { UpdateCallPermissionsResponse } from "./client_rpc";
|
|
49
|
+
import type { UpdateCallPermissionsRequest } from "./client_rpc";
|
|
50
|
+
import type { UpdateCallResponse } from "./client_rpc";
|
|
51
|
+
import type { UpdateCallRequest } from "./client_rpc";
|
|
52
|
+
import type { GetCallEdgeServerResponse } from "./client_rpc";
|
|
53
|
+
import type { GetCallEdgeServerRequest } from "./client_rpc";
|
|
54
|
+
import type { JoinCallResponse } from "./client_rpc";
|
|
55
|
+
import type { JoinCallRequest } from "./client_rpc";
|
|
56
|
+
import type { GetOrCreateCallResponse } from "./client_rpc";
|
|
57
|
+
import type { GetOrCreateCallRequest } from "./client_rpc";
|
|
58
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
59
|
+
import type { CreateCallResponse } from "./client_rpc";
|
|
60
|
+
import type { CreateCallRequest } from "./client_rpc";
|
|
61
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
62
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
63
|
+
/**
|
|
64
|
+
* @generated from protobuf service stream.video.coordinator.client_v1_rpc.ClientRPC
|
|
65
|
+
*/
|
|
66
|
+
export interface IClientRPCClient {
|
|
67
|
+
/**
|
|
68
|
+
* rpc GetCall(GetCallRequest) returns (GetCallResponse);
|
|
69
|
+
*
|
|
70
|
+
* @generated from protobuf rpc: CreateCall(stream.video.coordinator.client_v1_rpc.CreateCallRequest) returns (stream.video.coordinator.client_v1_rpc.CreateCallResponse);
|
|
71
|
+
*/
|
|
72
|
+
createCall(input: CreateCallRequest, options?: RpcOptions): UnaryCall<CreateCallRequest, CreateCallResponse>;
|
|
73
|
+
/**
|
|
74
|
+
* @generated from protobuf rpc: GetOrCreateCall(stream.video.coordinator.client_v1_rpc.GetOrCreateCallRequest) returns (stream.video.coordinator.client_v1_rpc.GetOrCreateCallResponse);
|
|
75
|
+
*/
|
|
76
|
+
getOrCreateCall(input: GetOrCreateCallRequest, options?: RpcOptions): UnaryCall<GetOrCreateCallRequest, GetOrCreateCallResponse>;
|
|
77
|
+
/**
|
|
78
|
+
* JoinCall acts as GetOrCreateCall, but additionally returns list of datacenters to measure latency
|
|
79
|
+
*
|
|
80
|
+
* @generated from protobuf rpc: JoinCall(stream.video.coordinator.client_v1_rpc.JoinCallRequest) returns (stream.video.coordinator.client_v1_rpc.JoinCallResponse);
|
|
81
|
+
*/
|
|
82
|
+
joinCall(input: JoinCallRequest, options?: RpcOptions): UnaryCall<JoinCallRequest, JoinCallResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* GetCallSFU returns SFU information that is required to establish a connection
|
|
85
|
+
*
|
|
86
|
+
* @generated from protobuf rpc: GetCallEdgeServer(stream.video.coordinator.client_v1_rpc.GetCallEdgeServerRequest) returns (stream.video.coordinator.client_v1_rpc.GetCallEdgeServerResponse);
|
|
87
|
+
*/
|
|
88
|
+
getCallEdgeServer(input: GetCallEdgeServerRequest, options?: RpcOptions): UnaryCall<GetCallEdgeServerRequest, GetCallEdgeServerResponse>;
|
|
89
|
+
/**
|
|
90
|
+
* @generated from protobuf rpc: UpdateCall(stream.video.coordinator.client_v1_rpc.UpdateCallRequest) returns (stream.video.coordinator.client_v1_rpc.UpdateCallResponse);
|
|
91
|
+
*/
|
|
92
|
+
updateCall(input: UpdateCallRequest, options?: RpcOptions): UnaryCall<UpdateCallRequest, UpdateCallResponse>;
|
|
93
|
+
/**
|
|
94
|
+
* UpdateCallPermissions allows users to change permissions granted to members
|
|
95
|
+
* this can be done in three ways:
|
|
96
|
+
* 1. grant users a different role for this call (eg. make a host)
|
|
97
|
+
* 2. grant users a permission on this call (eg. allow one user to screen-share)
|
|
98
|
+
* 3. grant some permissions to all users (eg. allow participants to unmute themselves)
|
|
99
|
+
*
|
|
100
|
+
* @generated from protobuf rpc: UpdateCallPermissions(stream.video.coordinator.client_v1_rpc.UpdateCallPermissionsRequest) returns (stream.video.coordinator.client_v1_rpc.UpdateCallPermissionsResponse);
|
|
101
|
+
*/
|
|
102
|
+
updateCallPermissions(input: UpdateCallPermissionsRequest, options?: RpcOptions): UnaryCall<UpdateCallPermissionsRequest, UpdateCallPermissionsResponse>;
|
|
103
|
+
/**
|
|
104
|
+
* EndCall sets the call as ended with the following side-effects:
|
|
105
|
+
* the call itself is updated and ended_at set to current time
|
|
106
|
+
* on-going call recording and broadcasting is stopped
|
|
107
|
+
* all participants connected to the call are disconnected
|
|
108
|
+
*
|
|
109
|
+
* @generated from protobuf rpc: EndCall(stream.video.coordinator.client_v1_rpc.EndCallRequest) returns (stream.video.coordinator.client_v1_rpc.EndCallResponse);
|
|
110
|
+
*/
|
|
111
|
+
endCall(input: EndCallRequest, options?: RpcOptions): UnaryCall<EndCallRequest, EndCallResponse>;
|
|
112
|
+
/**
|
|
113
|
+
* @generated from protobuf rpc: QueryCalls(stream.video.coordinator.client_v1_rpc.QueryCallsRequest) returns (stream.video.coordinator.client_v1_rpc.QueryCallsResponse);
|
|
114
|
+
*/
|
|
115
|
+
queryCalls(input: QueryCallsRequest, options?: RpcOptions): UnaryCall<QueryCallsRequest, QueryCallsResponse>;
|
|
116
|
+
/**
|
|
117
|
+
* QueryMembers gets a list of members that match your query criteria
|
|
118
|
+
*
|
|
119
|
+
* @generated from protobuf rpc: QueryMembers(stream.video.coordinator.client_v1_rpc.QueryMembersRequest) returns (stream.video.coordinator.client_v1_rpc.QueryMembersResponse);
|
|
120
|
+
*/
|
|
121
|
+
queryMembers(input: QueryMembersRequest, options?: RpcOptions): UnaryCall<QueryMembersRequest, QueryMembersResponse>;
|
|
122
|
+
/**
|
|
123
|
+
* @generated from protobuf rpc: CreateDevice(stream.video.coordinator.client_v1_rpc.CreateDeviceRequest) returns (stream.video.coordinator.client_v1_rpc.CreateDeviceResponse);
|
|
124
|
+
*/
|
|
125
|
+
createDevice(input: CreateDeviceRequest, options?: RpcOptions): UnaryCall<CreateDeviceRequest, CreateDeviceResponse>;
|
|
126
|
+
/**
|
|
127
|
+
* @generated from protobuf rpc: DeleteDevice(stream.video.coordinator.client_v1_rpc.DeleteDeviceRequest) returns (stream.video.coordinator.client_v1_rpc.DeleteDeviceResponse);
|
|
128
|
+
*/
|
|
129
|
+
deleteDevice(input: DeleteDeviceRequest, options?: RpcOptions): UnaryCall<DeleteDeviceRequest, DeleteDeviceResponse>;
|
|
130
|
+
/**
|
|
131
|
+
* @generated from protobuf rpc: QueryDevices(stream.video.coordinator.client_v1_rpc.QueryDevicesRequest) returns (stream.video.coordinator.client_v1_rpc.QueryDevicesResponse);
|
|
132
|
+
*/
|
|
133
|
+
queryDevices(input: QueryDevicesRequest, options?: RpcOptions): UnaryCall<QueryDevicesRequest, QueryDevicesResponse>;
|
|
134
|
+
// UNSTABLE ENDPOINTS BELOW
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* starts broadcast to HLS and/or RTMP, replaces existing settings if broadcasting is already started
|
|
138
|
+
*
|
|
139
|
+
* @generated from protobuf rpc: StartBroadcast(stream.video.coordinator.client_v1_rpc.StartBroadcastRequest) returns (stream.video.coordinator.client_v1_rpc.StartBroadcastResponse);
|
|
140
|
+
*/
|
|
141
|
+
startBroadcast(input: StartBroadcastRequest, options?: RpcOptions): UnaryCall<StartBroadcastRequest, StartBroadcastResponse>;
|
|
142
|
+
/**
|
|
143
|
+
* stops broadcasting to HLS and/or RTMP
|
|
144
|
+
*
|
|
145
|
+
* @generated from protobuf rpc: StopBroadcast(stream.video.coordinator.client_v1_rpc.StopBroadcastRequest) returns (stream.video.coordinator.client_v1_rpc.StopBroadcastResponse);
|
|
146
|
+
*/
|
|
147
|
+
stopBroadcast(input: StopBroadcastRequest, options?: RpcOptions): UnaryCall<StopBroadcastRequest, StopBroadcastResponse>;
|
|
148
|
+
/**
|
|
149
|
+
* @generated from protobuf rpc: StartRecording(stream.video.coordinator.client_v1_rpc.StartRecordingRequest) returns (stream.video.coordinator.client_v1_rpc.StartRecordingResponse);
|
|
150
|
+
*/
|
|
151
|
+
startRecording(input: StartRecordingRequest, options?: RpcOptions): UnaryCall<StartRecordingRequest, StartRecordingResponse>;
|
|
152
|
+
/**
|
|
153
|
+
* @generated from protobuf rpc: StopRecording(stream.video.coordinator.client_v1_rpc.StopRecordingRequest) returns (stream.video.coordinator.client_v1_rpc.StopRecordingResponse);
|
|
154
|
+
*/
|
|
155
|
+
stopRecording(input: StopRecordingRequest, options?: RpcOptions): UnaryCall<StopRecordingRequest, StopRecordingResponse>;
|
|
156
|
+
// UpdateMembers creates or updates members in a call.
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Adds members to a call
|
|
160
|
+
*
|
|
161
|
+
* @generated from protobuf rpc: UpsertCallMembers(stream.video.coordinator.client_v1_rpc.UpsertCallMembersRequest) returns (stream.video.coordinator.client_v1_rpc.UpsertCallMembersResponse);
|
|
162
|
+
*/
|
|
163
|
+
upsertCallMembers(input: UpsertCallMembersRequest, options?: RpcOptions): UnaryCall<UpsertCallMembersRequest, UpsertCallMembersResponse>;
|
|
164
|
+
/**
|
|
165
|
+
* DeleteMembers deletes members from a room.
|
|
166
|
+
*
|
|
167
|
+
* @generated from protobuf rpc: DeleteCallMembers(stream.video.coordinator.client_v1_rpc.DeleteCallMembersRequest) returns (stream.video.coordinator.client_v1_rpc.DeleteCallMembersResponse);
|
|
168
|
+
*/
|
|
169
|
+
deleteCallMembers(input: DeleteCallMembersRequest, options?: RpcOptions): UnaryCall<DeleteCallMembersRequest, DeleteCallMembersResponse>;
|
|
170
|
+
/**
|
|
171
|
+
* @generated from protobuf rpc: SendEvent(stream.video.coordinator.client_v1_rpc.SendEventRequest) returns (stream.video.coordinator.client_v1_rpc.SendEventResponse);
|
|
172
|
+
*/
|
|
173
|
+
sendEvent(input: SendEventRequest, options?: RpcOptions): UnaryCall<SendEventRequest, SendEventResponse>;
|
|
174
|
+
/**
|
|
175
|
+
* @generated from protobuf rpc: SendCustomEvent(stream.video.coordinator.client_v1_rpc.SendCustomEventRequest) returns (stream.video.coordinator.client_v1_rpc.SendCustomEventResponse);
|
|
176
|
+
*/
|
|
177
|
+
sendCustomEvent(input: SendCustomEventRequest, options?: RpcOptions): UnaryCall<SendCustomEventRequest, SendCustomEventResponse>;
|
|
178
|
+
/**
|
|
179
|
+
* @generated from protobuf rpc: QueryUsers(stream.video.coordinator.client_v1_rpc.QueryUsersRequest) returns (stream.video.coordinator.client_v1_rpc.QueryUsersResponse);
|
|
180
|
+
*/
|
|
181
|
+
queryUsers(input: QueryUsersRequest, options?: RpcOptions): UnaryCall<QueryUsersRequest, QueryUsersResponse>;
|
|
182
|
+
/**
|
|
183
|
+
* @generated from protobuf rpc: UpsertUsers(stream.video.coordinator.client_v1_rpc.UpsertUsersRequest) returns (stream.video.coordinator.client_v1_rpc.UpsertUsersResponse);
|
|
184
|
+
*/
|
|
185
|
+
upsertUsers(input: UpsertUsersRequest, options?: RpcOptions): UnaryCall<UpsertUsersRequest, UpsertUsersResponse>;
|
|
186
|
+
// room is a confusing name. better to call it breakout room
|
|
187
|
+
// breakout rooms have their own audio/video track
|
|
188
|
+
// breakout rooms have their own chat
|
|
189
|
+
|
|
190
|
+
// *
|
|
191
|
+
// TODO
|
|
192
|
+
// rpc CreateBreakoutRoom(CreateBreakoutRoomRequest) returns (CreateBreakoutRoomResponse);
|
|
193
|
+
// rpc JoinBreakoutRoom() returns ();
|
|
194
|
+
// rpc LeaveBreakoutRoom() returns ();
|
|
195
|
+
// rpc DeleteBreakoutRoom() returns ();
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* endpoint for storing stats (perhaps we should move this to the SFU layer though)
|
|
199
|
+
*
|
|
200
|
+
* @generated from protobuf rpc: ReportCallStats(stream.video.coordinator.client_v1_rpc.ReportCallStatsRequest) returns (stream.video.coordinator.client_v1_rpc.ReportCallStatsResponse);
|
|
201
|
+
*/
|
|
202
|
+
reportCallStats(input: ReportCallStatsRequest, options?: RpcOptions): UnaryCall<ReportCallStatsRequest, ReportCallStatsResponse>;
|
|
203
|
+
/**
|
|
204
|
+
* endpoint for storing stat-related events raised by the client
|
|
205
|
+
*
|
|
206
|
+
* @generated from protobuf rpc: ReportCallStatEvent(stream.video.coordinator.client_v1_rpc.ReportCallStatEventRequest) returns (stream.video.coordinator.client_v1_rpc.ReportCallStatEventResponse);
|
|
207
|
+
*/
|
|
208
|
+
reportCallStatEvent(input: ReportCallStatEventRequest, options?: RpcOptions): UnaryCall<ReportCallStatEventRequest, ReportCallStatEventResponse>;
|
|
209
|
+
/**
|
|
210
|
+
* endpoint for reviewing/rating the quality of calls
|
|
211
|
+
*
|
|
212
|
+
* @generated from protobuf rpc: ReviewCall(stream.video.coordinator.client_v1_rpc.ReviewCallRequest) returns (stream.video.coordinator.client_v1_rpc.ReviewCallResponse);
|
|
213
|
+
*/
|
|
214
|
+
reviewCall(input: ReviewCallRequest, options?: RpcOptions): UnaryCall<ReviewCallRequest, ReviewCallResponse>;
|
|
215
|
+
/**
|
|
216
|
+
* endpoint for users to report issues with a call
|
|
217
|
+
*
|
|
218
|
+
* @generated from protobuf rpc: ReportIssue(stream.video.coordinator.client_v1_rpc.ReportIssueRequest) returns (stream.video.coordinator.client_v1_rpc.ReportIssueResponse);
|
|
219
|
+
*/
|
|
220
|
+
reportIssue(input: ReportIssueRequest, options?: RpcOptions): UnaryCall<ReportIssueRequest, ReportIssueResponse>;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* @generated from protobuf service stream.video.coordinator.client_v1_rpc.ClientRPC
|
|
224
|
+
*/
|
|
225
|
+
export class ClientRPCClient implements IClientRPCClient, ServiceInfo {
|
|
226
|
+
typeName = ClientRPC.typeName;
|
|
227
|
+
methods = ClientRPC.methods;
|
|
228
|
+
options = ClientRPC.options;
|
|
229
|
+
constructor(private readonly _transport: RpcTransport) {
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* rpc GetCall(GetCallRequest) returns (GetCallResponse);
|
|
233
|
+
*
|
|
234
|
+
* @generated from protobuf rpc: CreateCall(stream.video.coordinator.client_v1_rpc.CreateCallRequest) returns (stream.video.coordinator.client_v1_rpc.CreateCallResponse);
|
|
235
|
+
*/
|
|
236
|
+
createCall(input: CreateCallRequest, options?: RpcOptions): UnaryCall<CreateCallRequest, CreateCallResponse> {
|
|
237
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
238
|
+
return stackIntercept<CreateCallRequest, CreateCallResponse>("unary", this._transport, method, opt, input);
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* @generated from protobuf rpc: GetOrCreateCall(stream.video.coordinator.client_v1_rpc.GetOrCreateCallRequest) returns (stream.video.coordinator.client_v1_rpc.GetOrCreateCallResponse);
|
|
242
|
+
*/
|
|
243
|
+
getOrCreateCall(input: GetOrCreateCallRequest, options?: RpcOptions): UnaryCall<GetOrCreateCallRequest, GetOrCreateCallResponse> {
|
|
244
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
245
|
+
return stackIntercept<GetOrCreateCallRequest, GetOrCreateCallResponse>("unary", this._transport, method, opt, input);
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* JoinCall acts as GetOrCreateCall, but additionally returns list of datacenters to measure latency
|
|
249
|
+
*
|
|
250
|
+
* @generated from protobuf rpc: JoinCall(stream.video.coordinator.client_v1_rpc.JoinCallRequest) returns (stream.video.coordinator.client_v1_rpc.JoinCallResponse);
|
|
251
|
+
*/
|
|
252
|
+
joinCall(input: JoinCallRequest, options?: RpcOptions): UnaryCall<JoinCallRequest, JoinCallResponse> {
|
|
253
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
254
|
+
return stackIntercept<JoinCallRequest, JoinCallResponse>("unary", this._transport, method, opt, input);
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* GetCallSFU returns SFU information that is required to establish a connection
|
|
258
|
+
*
|
|
259
|
+
* @generated from protobuf rpc: GetCallEdgeServer(stream.video.coordinator.client_v1_rpc.GetCallEdgeServerRequest) returns (stream.video.coordinator.client_v1_rpc.GetCallEdgeServerResponse);
|
|
260
|
+
*/
|
|
261
|
+
getCallEdgeServer(input: GetCallEdgeServerRequest, options?: RpcOptions): UnaryCall<GetCallEdgeServerRequest, GetCallEdgeServerResponse> {
|
|
262
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
263
|
+
return stackIntercept<GetCallEdgeServerRequest, GetCallEdgeServerResponse>("unary", this._transport, method, opt, input);
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* @generated from protobuf rpc: UpdateCall(stream.video.coordinator.client_v1_rpc.UpdateCallRequest) returns (stream.video.coordinator.client_v1_rpc.UpdateCallResponse);
|
|
267
|
+
*/
|
|
268
|
+
updateCall(input: UpdateCallRequest, options?: RpcOptions): UnaryCall<UpdateCallRequest, UpdateCallResponse> {
|
|
269
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
270
|
+
return stackIntercept<UpdateCallRequest, UpdateCallResponse>("unary", this._transport, method, opt, input);
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* UpdateCallPermissions allows users to change permissions granted to members
|
|
274
|
+
* this can be done in three ways:
|
|
275
|
+
* 1. grant users a different role for this call (eg. make a host)
|
|
276
|
+
* 2. grant users a permission on this call (eg. allow one user to screen-share)
|
|
277
|
+
* 3. grant some permissions to all users (eg. allow participants to unmute themselves)
|
|
278
|
+
*
|
|
279
|
+
* @generated from protobuf rpc: UpdateCallPermissions(stream.video.coordinator.client_v1_rpc.UpdateCallPermissionsRequest) returns (stream.video.coordinator.client_v1_rpc.UpdateCallPermissionsResponse);
|
|
280
|
+
*/
|
|
281
|
+
updateCallPermissions(input: UpdateCallPermissionsRequest, options?: RpcOptions): UnaryCall<UpdateCallPermissionsRequest, UpdateCallPermissionsResponse> {
|
|
282
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
283
|
+
return stackIntercept<UpdateCallPermissionsRequest, UpdateCallPermissionsResponse>("unary", this._transport, method, opt, input);
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* EndCall sets the call as ended with the following side-effects:
|
|
287
|
+
* the call itself is updated and ended_at set to current time
|
|
288
|
+
* on-going call recording and broadcasting is stopped
|
|
289
|
+
* all participants connected to the call are disconnected
|
|
290
|
+
*
|
|
291
|
+
* @generated from protobuf rpc: EndCall(stream.video.coordinator.client_v1_rpc.EndCallRequest) returns (stream.video.coordinator.client_v1_rpc.EndCallResponse);
|
|
292
|
+
*/
|
|
293
|
+
endCall(input: EndCallRequest, options?: RpcOptions): UnaryCall<EndCallRequest, EndCallResponse> {
|
|
294
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
295
|
+
return stackIntercept<EndCallRequest, EndCallResponse>("unary", this._transport, method, opt, input);
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* @generated from protobuf rpc: QueryCalls(stream.video.coordinator.client_v1_rpc.QueryCallsRequest) returns (stream.video.coordinator.client_v1_rpc.QueryCallsResponse);
|
|
299
|
+
*/
|
|
300
|
+
queryCalls(input: QueryCallsRequest, options?: RpcOptions): UnaryCall<QueryCallsRequest, QueryCallsResponse> {
|
|
301
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
302
|
+
return stackIntercept<QueryCallsRequest, QueryCallsResponse>("unary", this._transport, method, opt, input);
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* QueryMembers gets a list of members that match your query criteria
|
|
306
|
+
*
|
|
307
|
+
* @generated from protobuf rpc: QueryMembers(stream.video.coordinator.client_v1_rpc.QueryMembersRequest) returns (stream.video.coordinator.client_v1_rpc.QueryMembersResponse);
|
|
308
|
+
*/
|
|
309
|
+
queryMembers(input: QueryMembersRequest, options?: RpcOptions): UnaryCall<QueryMembersRequest, QueryMembersResponse> {
|
|
310
|
+
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
311
|
+
return stackIntercept<QueryMembersRequest, QueryMembersResponse>("unary", this._transport, method, opt, input);
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* @generated from protobuf rpc: CreateDevice(stream.video.coordinator.client_v1_rpc.CreateDeviceRequest) returns (stream.video.coordinator.client_v1_rpc.CreateDeviceResponse);
|
|
315
|
+
*/
|
|
316
|
+
createDevice(input: CreateDeviceRequest, options?: RpcOptions): UnaryCall<CreateDeviceRequest, CreateDeviceResponse> {
|
|
317
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
318
|
+
return stackIntercept<CreateDeviceRequest, CreateDeviceResponse>("unary", this._transport, method, opt, input);
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* @generated from protobuf rpc: DeleteDevice(stream.video.coordinator.client_v1_rpc.DeleteDeviceRequest) returns (stream.video.coordinator.client_v1_rpc.DeleteDeviceResponse);
|
|
322
|
+
*/
|
|
323
|
+
deleteDevice(input: DeleteDeviceRequest, options?: RpcOptions): UnaryCall<DeleteDeviceRequest, DeleteDeviceResponse> {
|
|
324
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
325
|
+
return stackIntercept<DeleteDeviceRequest, DeleteDeviceResponse>("unary", this._transport, method, opt, input);
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* @generated from protobuf rpc: QueryDevices(stream.video.coordinator.client_v1_rpc.QueryDevicesRequest) returns (stream.video.coordinator.client_v1_rpc.QueryDevicesResponse);
|
|
329
|
+
*/
|
|
330
|
+
queryDevices(input: QueryDevicesRequest, options?: RpcOptions): UnaryCall<QueryDevicesRequest, QueryDevicesResponse> {
|
|
331
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
332
|
+
return stackIntercept<QueryDevicesRequest, QueryDevicesResponse>("unary", this._transport, method, opt, input);
|
|
333
|
+
}
|
|
334
|
+
// UNSTABLE ENDPOINTS BELOW
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* starts broadcast to HLS and/or RTMP, replaces existing settings if broadcasting is already started
|
|
338
|
+
*
|
|
339
|
+
* @generated from protobuf rpc: StartBroadcast(stream.video.coordinator.client_v1_rpc.StartBroadcastRequest) returns (stream.video.coordinator.client_v1_rpc.StartBroadcastResponse);
|
|
340
|
+
*/
|
|
341
|
+
startBroadcast(input: StartBroadcastRequest, options?: RpcOptions): UnaryCall<StartBroadcastRequest, StartBroadcastResponse> {
|
|
342
|
+
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
343
|
+
return stackIntercept<StartBroadcastRequest, StartBroadcastResponse>("unary", this._transport, method, opt, input);
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* stops broadcasting to HLS and/or RTMP
|
|
347
|
+
*
|
|
348
|
+
* @generated from protobuf rpc: StopBroadcast(stream.video.coordinator.client_v1_rpc.StopBroadcastRequest) returns (stream.video.coordinator.client_v1_rpc.StopBroadcastResponse);
|
|
349
|
+
*/
|
|
350
|
+
stopBroadcast(input: StopBroadcastRequest, options?: RpcOptions): UnaryCall<StopBroadcastRequest, StopBroadcastResponse> {
|
|
351
|
+
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
352
|
+
return stackIntercept<StopBroadcastRequest, StopBroadcastResponse>("unary", this._transport, method, opt, input);
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* @generated from protobuf rpc: StartRecording(stream.video.coordinator.client_v1_rpc.StartRecordingRequest) returns (stream.video.coordinator.client_v1_rpc.StartRecordingResponse);
|
|
356
|
+
*/
|
|
357
|
+
startRecording(input: StartRecordingRequest, options?: RpcOptions): UnaryCall<StartRecordingRequest, StartRecordingResponse> {
|
|
358
|
+
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
359
|
+
return stackIntercept<StartRecordingRequest, StartRecordingResponse>("unary", this._transport, method, opt, input);
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* @generated from protobuf rpc: StopRecording(stream.video.coordinator.client_v1_rpc.StopRecordingRequest) returns (stream.video.coordinator.client_v1_rpc.StopRecordingResponse);
|
|
363
|
+
*/
|
|
364
|
+
stopRecording(input: StopRecordingRequest, options?: RpcOptions): UnaryCall<StopRecordingRequest, StopRecordingResponse> {
|
|
365
|
+
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
366
|
+
return stackIntercept<StopRecordingRequest, StopRecordingResponse>("unary", this._transport, method, opt, input);
|
|
367
|
+
}
|
|
368
|
+
// UpdateMembers creates or updates members in a call.
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Adds members to a call
|
|
372
|
+
*
|
|
373
|
+
* @generated from protobuf rpc: UpsertCallMembers(stream.video.coordinator.client_v1_rpc.UpsertCallMembersRequest) returns (stream.video.coordinator.client_v1_rpc.UpsertCallMembersResponse);
|
|
374
|
+
*/
|
|
375
|
+
upsertCallMembers(input: UpsertCallMembersRequest, options?: RpcOptions): UnaryCall<UpsertCallMembersRequest, UpsertCallMembersResponse> {
|
|
376
|
+
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
377
|
+
return stackIntercept<UpsertCallMembersRequest, UpsertCallMembersResponse>("unary", this._transport, method, opt, input);
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* DeleteMembers deletes members from a room.
|
|
381
|
+
*
|
|
382
|
+
* @generated from protobuf rpc: DeleteCallMembers(stream.video.coordinator.client_v1_rpc.DeleteCallMembersRequest) returns (stream.video.coordinator.client_v1_rpc.DeleteCallMembersResponse);
|
|
383
|
+
*/
|
|
384
|
+
deleteCallMembers(input: DeleteCallMembersRequest, options?: RpcOptions): UnaryCall<DeleteCallMembersRequest, DeleteCallMembersResponse> {
|
|
385
|
+
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
386
|
+
return stackIntercept<DeleteCallMembersRequest, DeleteCallMembersResponse>("unary", this._transport, method, opt, input);
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* @generated from protobuf rpc: SendEvent(stream.video.coordinator.client_v1_rpc.SendEventRequest) returns (stream.video.coordinator.client_v1_rpc.SendEventResponse);
|
|
390
|
+
*/
|
|
391
|
+
sendEvent(input: SendEventRequest, options?: RpcOptions): UnaryCall<SendEventRequest, SendEventResponse> {
|
|
392
|
+
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
393
|
+
return stackIntercept<SendEventRequest, SendEventResponse>("unary", this._transport, method, opt, input);
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* @generated from protobuf rpc: SendCustomEvent(stream.video.coordinator.client_v1_rpc.SendCustomEventRequest) returns (stream.video.coordinator.client_v1_rpc.SendCustomEventResponse);
|
|
397
|
+
*/
|
|
398
|
+
sendCustomEvent(input: SendCustomEventRequest, options?: RpcOptions): UnaryCall<SendCustomEventRequest, SendCustomEventResponse> {
|
|
399
|
+
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
400
|
+
return stackIntercept<SendCustomEventRequest, SendCustomEventResponse>("unary", this._transport, method, opt, input);
|
|
401
|
+
}
|
|
402
|
+
/**
|
|
403
|
+
* @generated from protobuf rpc: QueryUsers(stream.video.coordinator.client_v1_rpc.QueryUsersRequest) returns (stream.video.coordinator.client_v1_rpc.QueryUsersResponse);
|
|
404
|
+
*/
|
|
405
|
+
queryUsers(input: QueryUsersRequest, options?: RpcOptions): UnaryCall<QueryUsersRequest, QueryUsersResponse> {
|
|
406
|
+
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
|
407
|
+
return stackIntercept<QueryUsersRequest, QueryUsersResponse>("unary", this._transport, method, opt, input);
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* @generated from protobuf rpc: UpsertUsers(stream.video.coordinator.client_v1_rpc.UpsertUsersRequest) returns (stream.video.coordinator.client_v1_rpc.UpsertUsersResponse);
|
|
411
|
+
*/
|
|
412
|
+
upsertUsers(input: UpsertUsersRequest, options?: RpcOptions): UnaryCall<UpsertUsersRequest, UpsertUsersResponse> {
|
|
413
|
+
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
|
414
|
+
return stackIntercept<UpsertUsersRequest, UpsertUsersResponse>("unary", this._transport, method, opt, input);
|
|
415
|
+
}
|
|
416
|
+
// room is a confusing name. better to call it breakout room
|
|
417
|
+
// breakout rooms have their own audio/video track
|
|
418
|
+
// breakout rooms have their own chat
|
|
419
|
+
|
|
420
|
+
// *
|
|
421
|
+
// TODO
|
|
422
|
+
// rpc CreateBreakoutRoom(CreateBreakoutRoomRequest) returns (CreateBreakoutRoomResponse);
|
|
423
|
+
// rpc JoinBreakoutRoom() returns ();
|
|
424
|
+
// rpc LeaveBreakoutRoom() returns ();
|
|
425
|
+
// rpc DeleteBreakoutRoom() returns ();
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* endpoint for storing stats (perhaps we should move this to the SFU layer though)
|
|
429
|
+
*
|
|
430
|
+
* @generated from protobuf rpc: ReportCallStats(stream.video.coordinator.client_v1_rpc.ReportCallStatsRequest) returns (stream.video.coordinator.client_v1_rpc.ReportCallStatsResponse);
|
|
431
|
+
*/
|
|
432
|
+
reportCallStats(input: ReportCallStatsRequest, options?: RpcOptions): UnaryCall<ReportCallStatsRequest, ReportCallStatsResponse> {
|
|
433
|
+
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
|
434
|
+
return stackIntercept<ReportCallStatsRequest, ReportCallStatsResponse>("unary", this._transport, method, opt, input);
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* endpoint for storing stat-related events raised by the client
|
|
438
|
+
*
|
|
439
|
+
* @generated from protobuf rpc: ReportCallStatEvent(stream.video.coordinator.client_v1_rpc.ReportCallStatEventRequest) returns (stream.video.coordinator.client_v1_rpc.ReportCallStatEventResponse);
|
|
440
|
+
*/
|
|
441
|
+
reportCallStatEvent(input: ReportCallStatEventRequest, options?: RpcOptions): UnaryCall<ReportCallStatEventRequest, ReportCallStatEventResponse> {
|
|
442
|
+
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
|
443
|
+
return stackIntercept<ReportCallStatEventRequest, ReportCallStatEventResponse>("unary", this._transport, method, opt, input);
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* endpoint for reviewing/rating the quality of calls
|
|
447
|
+
*
|
|
448
|
+
* @generated from protobuf rpc: ReviewCall(stream.video.coordinator.client_v1_rpc.ReviewCallRequest) returns (stream.video.coordinator.client_v1_rpc.ReviewCallResponse);
|
|
449
|
+
*/
|
|
450
|
+
reviewCall(input: ReviewCallRequest, options?: RpcOptions): UnaryCall<ReviewCallRequest, ReviewCallResponse> {
|
|
451
|
+
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
|
452
|
+
return stackIntercept<ReviewCallRequest, ReviewCallResponse>("unary", this._transport, method, opt, input);
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* endpoint for users to report issues with a call
|
|
456
|
+
*
|
|
457
|
+
* @generated from protobuf rpc: ReportIssue(stream.video.coordinator.client_v1_rpc.ReportIssueRequest) returns (stream.video.coordinator.client_v1_rpc.ReportIssueResponse);
|
|
458
|
+
*/
|
|
459
|
+
reportIssue(input: ReportIssueRequest, options?: RpcOptions): UnaryCall<ReportIssueRequest, ReportIssueResponse> {
|
|
460
|
+
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
|
461
|
+
return stackIntercept<ReportIssueRequest, ReportIssueResponse>("unary", this._transport, method, opt, input);
|
|
462
|
+
}
|
|
463
|
+
}
|