@formant/protos 1.241.12 → 1.241.15
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/api/signaling/v1/signaling.proto +117 -0
- package/api/signaling/v1/signaling_grpc_web_pb.d.ts +125 -0
- package/api/signaling/v1/signaling_grpc_web_pb.js +626 -0
- package/api/signaling/v1/signaling_pb.d.ts +462 -0
- package/api/signaling/v1/signaling_pb.js +3884 -0
- package/package.json +7 -1
- package/publish.sh +0 -50
|
@@ -0,0 +1,626 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for v1.signaling.api
|
|
3
|
+
* @enhanceable
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v3.19.1
|
|
11
|
+
// source: api/signaling/v1/signaling.proto
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/* eslint-disable */
|
|
15
|
+
// @ts-nocheck
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
const grpc = {};
|
|
20
|
+
grpc.web = require('grpc-web');
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js')
|
|
24
|
+
const proto = {};
|
|
25
|
+
proto.v1 = {};
|
|
26
|
+
proto.v1.signaling = {};
|
|
27
|
+
proto.v1.signaling.api = require('./signaling_pb.js');
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @param {string} hostname
|
|
31
|
+
* @param {?Object} credentials
|
|
32
|
+
* @param {?grpc.web.ClientOptions} options
|
|
33
|
+
* @constructor
|
|
34
|
+
* @struct
|
|
35
|
+
* @final
|
|
36
|
+
*/
|
|
37
|
+
proto.v1.signaling.api.SignalingClient =
|
|
38
|
+
function(hostname, credentials, options) {
|
|
39
|
+
if (!options) options = {};
|
|
40
|
+
options.format = 'text';
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
44
|
+
*/
|
|
45
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @private @const {string} The hostname
|
|
49
|
+
*/
|
|
50
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
51
|
+
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @param {string} hostname
|
|
57
|
+
* @param {?Object} credentials
|
|
58
|
+
* @param {?grpc.web.ClientOptions} options
|
|
59
|
+
* @constructor
|
|
60
|
+
* @struct
|
|
61
|
+
* @final
|
|
62
|
+
*/
|
|
63
|
+
proto.v1.signaling.api.SignalingPromiseClient =
|
|
64
|
+
function(hostname, credentials, options) {
|
|
65
|
+
if (!options) options = {};
|
|
66
|
+
options.format = 'text';
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
70
|
+
*/
|
|
71
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @private @const {string} The hostname
|
|
75
|
+
*/
|
|
76
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
77
|
+
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @const
|
|
83
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
84
|
+
* !proto.v1.signaling.api.GetHealthRequest,
|
|
85
|
+
* !proto.v1.signaling.api.GetHealthResponse>}
|
|
86
|
+
*/
|
|
87
|
+
const methodDescriptor_Signaling_GetHealth = new grpc.web.MethodDescriptor(
|
|
88
|
+
'/v1.signaling.api.Signaling/GetHealth',
|
|
89
|
+
grpc.web.MethodType.UNARY,
|
|
90
|
+
proto.v1.signaling.api.GetHealthRequest,
|
|
91
|
+
proto.v1.signaling.api.GetHealthResponse,
|
|
92
|
+
/**
|
|
93
|
+
* @param {!proto.v1.signaling.api.GetHealthRequest} request
|
|
94
|
+
* @return {!Uint8Array}
|
|
95
|
+
*/
|
|
96
|
+
function(request) {
|
|
97
|
+
return request.serializeBinary();
|
|
98
|
+
},
|
|
99
|
+
proto.v1.signaling.api.GetHealthResponse.deserializeBinary
|
|
100
|
+
);
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @param {!proto.v1.signaling.api.GetHealthRequest} request The
|
|
105
|
+
* request proto
|
|
106
|
+
* @param {?Object<string, string>} metadata User defined
|
|
107
|
+
* call metadata
|
|
108
|
+
* @param {function(?grpc.web.RpcError, ?proto.v1.signaling.api.GetHealthResponse)}
|
|
109
|
+
* callback The callback function(error, response)
|
|
110
|
+
* @return {!grpc.web.ClientReadableStream<!proto.v1.signaling.api.GetHealthResponse>|undefined}
|
|
111
|
+
* The XHR Node Readable Stream
|
|
112
|
+
*/
|
|
113
|
+
proto.v1.signaling.api.SignalingClient.prototype.getHealth =
|
|
114
|
+
function(request, metadata, callback) {
|
|
115
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
116
|
+
'/v1.signaling.api.Signaling/GetHealth',
|
|
117
|
+
request,
|
|
118
|
+
metadata || {},
|
|
119
|
+
methodDescriptor_Signaling_GetHealth,
|
|
120
|
+
callback);
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @param {!proto.v1.signaling.api.GetHealthRequest} request The
|
|
126
|
+
* request proto
|
|
127
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
128
|
+
* call metadata
|
|
129
|
+
* @return {!Promise<!proto.v1.signaling.api.GetHealthResponse>}
|
|
130
|
+
* Promise that resolves to the response
|
|
131
|
+
*/
|
|
132
|
+
proto.v1.signaling.api.SignalingPromiseClient.prototype.getHealth =
|
|
133
|
+
function(request, metadata) {
|
|
134
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
135
|
+
'/v1.signaling.api.Signaling/GetHealth',
|
|
136
|
+
request,
|
|
137
|
+
metadata || {},
|
|
138
|
+
methodDescriptor_Signaling_GetHealth);
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @const
|
|
144
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
145
|
+
* !proto.v1.signaling.api.CreatePeerRequest,
|
|
146
|
+
* !proto.v1.signaling.api.CreatePeerResponse>}
|
|
147
|
+
*/
|
|
148
|
+
const methodDescriptor_Signaling_CreatePeer = new grpc.web.MethodDescriptor(
|
|
149
|
+
'/v1.signaling.api.Signaling/CreatePeer',
|
|
150
|
+
grpc.web.MethodType.UNARY,
|
|
151
|
+
proto.v1.signaling.api.CreatePeerRequest,
|
|
152
|
+
proto.v1.signaling.api.CreatePeerResponse,
|
|
153
|
+
/**
|
|
154
|
+
* @param {!proto.v1.signaling.api.CreatePeerRequest} request
|
|
155
|
+
* @return {!Uint8Array}
|
|
156
|
+
*/
|
|
157
|
+
function(request) {
|
|
158
|
+
return request.serializeBinary();
|
|
159
|
+
},
|
|
160
|
+
proto.v1.signaling.api.CreatePeerResponse.deserializeBinary
|
|
161
|
+
);
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @param {!proto.v1.signaling.api.CreatePeerRequest} request The
|
|
166
|
+
* request proto
|
|
167
|
+
* @param {?Object<string, string>} metadata User defined
|
|
168
|
+
* call metadata
|
|
169
|
+
* @param {function(?grpc.web.RpcError, ?proto.v1.signaling.api.CreatePeerResponse)}
|
|
170
|
+
* callback The callback function(error, response)
|
|
171
|
+
* @return {!grpc.web.ClientReadableStream<!proto.v1.signaling.api.CreatePeerResponse>|undefined}
|
|
172
|
+
* The XHR Node Readable Stream
|
|
173
|
+
*/
|
|
174
|
+
proto.v1.signaling.api.SignalingClient.prototype.createPeer =
|
|
175
|
+
function(request, metadata, callback) {
|
|
176
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
177
|
+
'/v1.signaling.api.Signaling/CreatePeer',
|
|
178
|
+
request,
|
|
179
|
+
metadata || {},
|
|
180
|
+
methodDescriptor_Signaling_CreatePeer,
|
|
181
|
+
callback);
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* @param {!proto.v1.signaling.api.CreatePeerRequest} request The
|
|
187
|
+
* request proto
|
|
188
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
189
|
+
* call metadata
|
|
190
|
+
* @return {!Promise<!proto.v1.signaling.api.CreatePeerResponse>}
|
|
191
|
+
* Promise that resolves to the response
|
|
192
|
+
*/
|
|
193
|
+
proto.v1.signaling.api.SignalingPromiseClient.prototype.createPeer =
|
|
194
|
+
function(request, metadata) {
|
|
195
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
196
|
+
'/v1.signaling.api.Signaling/CreatePeer',
|
|
197
|
+
request,
|
|
198
|
+
metadata || {},
|
|
199
|
+
methodDescriptor_Signaling_CreatePeer);
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @const
|
|
205
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
206
|
+
* !proto.v1.signaling.api.DeletePeerRequest,
|
|
207
|
+
* !proto.v1.signaling.api.DeletePeerResponse>}
|
|
208
|
+
*/
|
|
209
|
+
const methodDescriptor_Signaling_DeletePeer = new grpc.web.MethodDescriptor(
|
|
210
|
+
'/v1.signaling.api.Signaling/DeletePeer',
|
|
211
|
+
grpc.web.MethodType.UNARY,
|
|
212
|
+
proto.v1.signaling.api.DeletePeerRequest,
|
|
213
|
+
proto.v1.signaling.api.DeletePeerResponse,
|
|
214
|
+
/**
|
|
215
|
+
* @param {!proto.v1.signaling.api.DeletePeerRequest} request
|
|
216
|
+
* @return {!Uint8Array}
|
|
217
|
+
*/
|
|
218
|
+
function(request) {
|
|
219
|
+
return request.serializeBinary();
|
|
220
|
+
},
|
|
221
|
+
proto.v1.signaling.api.DeletePeerResponse.deserializeBinary
|
|
222
|
+
);
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* @param {!proto.v1.signaling.api.DeletePeerRequest} request The
|
|
227
|
+
* request proto
|
|
228
|
+
* @param {?Object<string, string>} metadata User defined
|
|
229
|
+
* call metadata
|
|
230
|
+
* @param {function(?grpc.web.RpcError, ?proto.v1.signaling.api.DeletePeerResponse)}
|
|
231
|
+
* callback The callback function(error, response)
|
|
232
|
+
* @return {!grpc.web.ClientReadableStream<!proto.v1.signaling.api.DeletePeerResponse>|undefined}
|
|
233
|
+
* The XHR Node Readable Stream
|
|
234
|
+
*/
|
|
235
|
+
proto.v1.signaling.api.SignalingClient.prototype.deletePeer =
|
|
236
|
+
function(request, metadata, callback) {
|
|
237
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
238
|
+
'/v1.signaling.api.Signaling/DeletePeer',
|
|
239
|
+
request,
|
|
240
|
+
metadata || {},
|
|
241
|
+
methodDescriptor_Signaling_DeletePeer,
|
|
242
|
+
callback);
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* @param {!proto.v1.signaling.api.DeletePeerRequest} request The
|
|
248
|
+
* request proto
|
|
249
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
250
|
+
* call metadata
|
|
251
|
+
* @return {!Promise<!proto.v1.signaling.api.DeletePeerResponse>}
|
|
252
|
+
* Promise that resolves to the response
|
|
253
|
+
*/
|
|
254
|
+
proto.v1.signaling.api.SignalingPromiseClient.prototype.deletePeer =
|
|
255
|
+
function(request, metadata) {
|
|
256
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
257
|
+
'/v1.signaling.api.Signaling/DeletePeer',
|
|
258
|
+
request,
|
|
259
|
+
metadata || {},
|
|
260
|
+
methodDescriptor_Signaling_DeletePeer);
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @const
|
|
266
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
267
|
+
* !proto.v1.signaling.api.RefreshPeerRequest,
|
|
268
|
+
* !proto.v1.signaling.api.RefreshPeerResponse>}
|
|
269
|
+
*/
|
|
270
|
+
const methodDescriptor_Signaling_RefreshPeer = new grpc.web.MethodDescriptor(
|
|
271
|
+
'/v1.signaling.api.Signaling/RefreshPeer',
|
|
272
|
+
grpc.web.MethodType.UNARY,
|
|
273
|
+
proto.v1.signaling.api.RefreshPeerRequest,
|
|
274
|
+
proto.v1.signaling.api.RefreshPeerResponse,
|
|
275
|
+
/**
|
|
276
|
+
* @param {!proto.v1.signaling.api.RefreshPeerRequest} request
|
|
277
|
+
* @return {!Uint8Array}
|
|
278
|
+
*/
|
|
279
|
+
function(request) {
|
|
280
|
+
return request.serializeBinary();
|
|
281
|
+
},
|
|
282
|
+
proto.v1.signaling.api.RefreshPeerResponse.deserializeBinary
|
|
283
|
+
);
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @param {!proto.v1.signaling.api.RefreshPeerRequest} request The
|
|
288
|
+
* request proto
|
|
289
|
+
* @param {?Object<string, string>} metadata User defined
|
|
290
|
+
* call metadata
|
|
291
|
+
* @param {function(?grpc.web.RpcError, ?proto.v1.signaling.api.RefreshPeerResponse)}
|
|
292
|
+
* callback The callback function(error, response)
|
|
293
|
+
* @return {!grpc.web.ClientReadableStream<!proto.v1.signaling.api.RefreshPeerResponse>|undefined}
|
|
294
|
+
* The XHR Node Readable Stream
|
|
295
|
+
*/
|
|
296
|
+
proto.v1.signaling.api.SignalingClient.prototype.refreshPeer =
|
|
297
|
+
function(request, metadata, callback) {
|
|
298
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
299
|
+
'/v1.signaling.api.Signaling/RefreshPeer',
|
|
300
|
+
request,
|
|
301
|
+
metadata || {},
|
|
302
|
+
methodDescriptor_Signaling_RefreshPeer,
|
|
303
|
+
callback);
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* @param {!proto.v1.signaling.api.RefreshPeerRequest} request The
|
|
309
|
+
* request proto
|
|
310
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
311
|
+
* call metadata
|
|
312
|
+
* @return {!Promise<!proto.v1.signaling.api.RefreshPeerResponse>}
|
|
313
|
+
* Promise that resolves to the response
|
|
314
|
+
*/
|
|
315
|
+
proto.v1.signaling.api.SignalingPromiseClient.prototype.refreshPeer =
|
|
316
|
+
function(request, metadata) {
|
|
317
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
318
|
+
'/v1.signaling.api.Signaling/RefreshPeer',
|
|
319
|
+
request,
|
|
320
|
+
metadata || {},
|
|
321
|
+
methodDescriptor_Signaling_RefreshPeer);
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* @const
|
|
327
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
328
|
+
* !proto.v1.signaling.api.GetPeersRequest,
|
|
329
|
+
* !proto.v1.signaling.api.GetPeersResponse>}
|
|
330
|
+
*/
|
|
331
|
+
const methodDescriptor_Signaling_GetPeers = new grpc.web.MethodDescriptor(
|
|
332
|
+
'/v1.signaling.api.Signaling/GetPeers',
|
|
333
|
+
grpc.web.MethodType.UNARY,
|
|
334
|
+
proto.v1.signaling.api.GetPeersRequest,
|
|
335
|
+
proto.v1.signaling.api.GetPeersResponse,
|
|
336
|
+
/**
|
|
337
|
+
* @param {!proto.v1.signaling.api.GetPeersRequest} request
|
|
338
|
+
* @return {!Uint8Array}
|
|
339
|
+
*/
|
|
340
|
+
function(request) {
|
|
341
|
+
return request.serializeBinary();
|
|
342
|
+
},
|
|
343
|
+
proto.v1.signaling.api.GetPeersResponse.deserializeBinary
|
|
344
|
+
);
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* @param {!proto.v1.signaling.api.GetPeersRequest} request The
|
|
349
|
+
* request proto
|
|
350
|
+
* @param {?Object<string, string>} metadata User defined
|
|
351
|
+
* call metadata
|
|
352
|
+
* @param {function(?grpc.web.RpcError, ?proto.v1.signaling.api.GetPeersResponse)}
|
|
353
|
+
* callback The callback function(error, response)
|
|
354
|
+
* @return {!grpc.web.ClientReadableStream<!proto.v1.signaling.api.GetPeersResponse>|undefined}
|
|
355
|
+
* The XHR Node Readable Stream
|
|
356
|
+
*/
|
|
357
|
+
proto.v1.signaling.api.SignalingClient.prototype.getPeers =
|
|
358
|
+
function(request, metadata, callback) {
|
|
359
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
360
|
+
'/v1.signaling.api.Signaling/GetPeers',
|
|
361
|
+
request,
|
|
362
|
+
metadata || {},
|
|
363
|
+
methodDescriptor_Signaling_GetPeers,
|
|
364
|
+
callback);
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* @param {!proto.v1.signaling.api.GetPeersRequest} request The
|
|
370
|
+
* request proto
|
|
371
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
372
|
+
* call metadata
|
|
373
|
+
* @return {!Promise<!proto.v1.signaling.api.GetPeersResponse>}
|
|
374
|
+
* Promise that resolves to the response
|
|
375
|
+
*/
|
|
376
|
+
proto.v1.signaling.api.SignalingPromiseClient.prototype.getPeers =
|
|
377
|
+
function(request, metadata) {
|
|
378
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
379
|
+
'/v1.signaling.api.Signaling/GetPeers',
|
|
380
|
+
request,
|
|
381
|
+
metadata || {},
|
|
382
|
+
methodDescriptor_Signaling_GetPeers);
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* @const
|
|
388
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
389
|
+
* !proto.v1.signaling.api.GetIceServersRequest,
|
|
390
|
+
* !proto.v1.signaling.api.GetIceServersResponse>}
|
|
391
|
+
*/
|
|
392
|
+
const methodDescriptor_Signaling_GetIceServers = new grpc.web.MethodDescriptor(
|
|
393
|
+
'/v1.signaling.api.Signaling/GetIceServers',
|
|
394
|
+
grpc.web.MethodType.UNARY,
|
|
395
|
+
proto.v1.signaling.api.GetIceServersRequest,
|
|
396
|
+
proto.v1.signaling.api.GetIceServersResponse,
|
|
397
|
+
/**
|
|
398
|
+
* @param {!proto.v1.signaling.api.GetIceServersRequest} request
|
|
399
|
+
* @return {!Uint8Array}
|
|
400
|
+
*/
|
|
401
|
+
function(request) {
|
|
402
|
+
return request.serializeBinary();
|
|
403
|
+
},
|
|
404
|
+
proto.v1.signaling.api.GetIceServersResponse.deserializeBinary
|
|
405
|
+
);
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* @param {!proto.v1.signaling.api.GetIceServersRequest} request The
|
|
410
|
+
* request proto
|
|
411
|
+
* @param {?Object<string, string>} metadata User defined
|
|
412
|
+
* call metadata
|
|
413
|
+
* @param {function(?grpc.web.RpcError, ?proto.v1.signaling.api.GetIceServersResponse)}
|
|
414
|
+
* callback The callback function(error, response)
|
|
415
|
+
* @return {!grpc.web.ClientReadableStream<!proto.v1.signaling.api.GetIceServersResponse>|undefined}
|
|
416
|
+
* The XHR Node Readable Stream
|
|
417
|
+
*/
|
|
418
|
+
proto.v1.signaling.api.SignalingClient.prototype.getIceServers =
|
|
419
|
+
function(request, metadata, callback) {
|
|
420
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
421
|
+
'/v1.signaling.api.Signaling/GetIceServers',
|
|
422
|
+
request,
|
|
423
|
+
metadata || {},
|
|
424
|
+
methodDescriptor_Signaling_GetIceServers,
|
|
425
|
+
callback);
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* @param {!proto.v1.signaling.api.GetIceServersRequest} request The
|
|
431
|
+
* request proto
|
|
432
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
433
|
+
* call metadata
|
|
434
|
+
* @return {!Promise<!proto.v1.signaling.api.GetIceServersResponse>}
|
|
435
|
+
* Promise that resolves to the response
|
|
436
|
+
*/
|
|
437
|
+
proto.v1.signaling.api.SignalingPromiseClient.prototype.getIceServers =
|
|
438
|
+
function(request, metadata) {
|
|
439
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
440
|
+
'/v1.signaling.api.Signaling/GetIceServers',
|
|
441
|
+
request,
|
|
442
|
+
metadata || {},
|
|
443
|
+
methodDescriptor_Signaling_GetIceServers);
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* @const
|
|
449
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
450
|
+
* !proto.v1.signaling.api.SendSignalRequest,
|
|
451
|
+
* !proto.v1.signaling.api.SendSignalResponse>}
|
|
452
|
+
*/
|
|
453
|
+
const methodDescriptor_Signaling_SendSignal = new grpc.web.MethodDescriptor(
|
|
454
|
+
'/v1.signaling.api.Signaling/SendSignal',
|
|
455
|
+
grpc.web.MethodType.UNARY,
|
|
456
|
+
proto.v1.signaling.api.SendSignalRequest,
|
|
457
|
+
proto.v1.signaling.api.SendSignalResponse,
|
|
458
|
+
/**
|
|
459
|
+
* @param {!proto.v1.signaling.api.SendSignalRequest} request
|
|
460
|
+
* @return {!Uint8Array}
|
|
461
|
+
*/
|
|
462
|
+
function(request) {
|
|
463
|
+
return request.serializeBinary();
|
|
464
|
+
},
|
|
465
|
+
proto.v1.signaling.api.SendSignalResponse.deserializeBinary
|
|
466
|
+
);
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* @param {!proto.v1.signaling.api.SendSignalRequest} request The
|
|
471
|
+
* request proto
|
|
472
|
+
* @param {?Object<string, string>} metadata User defined
|
|
473
|
+
* call metadata
|
|
474
|
+
* @param {function(?grpc.web.RpcError, ?proto.v1.signaling.api.SendSignalResponse)}
|
|
475
|
+
* callback The callback function(error, response)
|
|
476
|
+
* @return {!grpc.web.ClientReadableStream<!proto.v1.signaling.api.SendSignalResponse>|undefined}
|
|
477
|
+
* The XHR Node Readable Stream
|
|
478
|
+
*/
|
|
479
|
+
proto.v1.signaling.api.SignalingClient.prototype.sendSignal =
|
|
480
|
+
function(request, metadata, callback) {
|
|
481
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
482
|
+
'/v1.signaling.api.Signaling/SendSignal',
|
|
483
|
+
request,
|
|
484
|
+
metadata || {},
|
|
485
|
+
methodDescriptor_Signaling_SendSignal,
|
|
486
|
+
callback);
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* @param {!proto.v1.signaling.api.SendSignalRequest} request The
|
|
492
|
+
* request proto
|
|
493
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
494
|
+
* call metadata
|
|
495
|
+
* @return {!Promise<!proto.v1.signaling.api.SendSignalResponse>}
|
|
496
|
+
* Promise that resolves to the response
|
|
497
|
+
*/
|
|
498
|
+
proto.v1.signaling.api.SignalingPromiseClient.prototype.sendSignal =
|
|
499
|
+
function(request, metadata) {
|
|
500
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
501
|
+
'/v1.signaling.api.Signaling/SendSignal',
|
|
502
|
+
request,
|
|
503
|
+
metadata || {},
|
|
504
|
+
methodDescriptor_Signaling_SendSignal);
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* @const
|
|
510
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
511
|
+
* !proto.v1.signaling.api.ReceiveSignalStreamRequest,
|
|
512
|
+
* !proto.v1.signaling.api.ReceiveSignalStreamResponse>}
|
|
513
|
+
*/
|
|
514
|
+
const methodDescriptor_Signaling_ReceiveSignalStream = new grpc.web.MethodDescriptor(
|
|
515
|
+
'/v1.signaling.api.Signaling/ReceiveSignalStream',
|
|
516
|
+
grpc.web.MethodType.SERVER_STREAMING,
|
|
517
|
+
proto.v1.signaling.api.ReceiveSignalStreamRequest,
|
|
518
|
+
proto.v1.signaling.api.ReceiveSignalStreamResponse,
|
|
519
|
+
/**
|
|
520
|
+
* @param {!proto.v1.signaling.api.ReceiveSignalStreamRequest} request
|
|
521
|
+
* @return {!Uint8Array}
|
|
522
|
+
*/
|
|
523
|
+
function(request) {
|
|
524
|
+
return request.serializeBinary();
|
|
525
|
+
},
|
|
526
|
+
proto.v1.signaling.api.ReceiveSignalStreamResponse.deserializeBinary
|
|
527
|
+
);
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* @param {!proto.v1.signaling.api.ReceiveSignalStreamRequest} request The request proto
|
|
532
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
533
|
+
* call metadata
|
|
534
|
+
* @return {!grpc.web.ClientReadableStream<!proto.v1.signaling.api.ReceiveSignalStreamResponse>}
|
|
535
|
+
* The XHR Node Readable Stream
|
|
536
|
+
*/
|
|
537
|
+
proto.v1.signaling.api.SignalingClient.prototype.receiveSignalStream =
|
|
538
|
+
function(request, metadata) {
|
|
539
|
+
return this.client_.serverStreaming(this.hostname_ +
|
|
540
|
+
'/v1.signaling.api.Signaling/ReceiveSignalStream',
|
|
541
|
+
request,
|
|
542
|
+
metadata || {},
|
|
543
|
+
methodDescriptor_Signaling_ReceiveSignalStream);
|
|
544
|
+
};
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* @param {!proto.v1.signaling.api.ReceiveSignalStreamRequest} request The request proto
|
|
549
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
550
|
+
* call metadata
|
|
551
|
+
* @return {!grpc.web.ClientReadableStream<!proto.v1.signaling.api.ReceiveSignalStreamResponse>}
|
|
552
|
+
* The XHR Node Readable Stream
|
|
553
|
+
*/
|
|
554
|
+
proto.v1.signaling.api.SignalingPromiseClient.prototype.receiveSignalStream =
|
|
555
|
+
function(request, metadata) {
|
|
556
|
+
return this.client_.serverStreaming(this.hostname_ +
|
|
557
|
+
'/v1.signaling.api.Signaling/ReceiveSignalStream',
|
|
558
|
+
request,
|
|
559
|
+
metadata || {},
|
|
560
|
+
methodDescriptor_Signaling_ReceiveSignalStream);
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* @const
|
|
566
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
567
|
+
* !proto.v1.signaling.api.GetSessionsRequest,
|
|
568
|
+
* !proto.v1.signaling.api.GetSessionsResponse>}
|
|
569
|
+
*/
|
|
570
|
+
const methodDescriptor_Signaling_GetSessions = new grpc.web.MethodDescriptor(
|
|
571
|
+
'/v1.signaling.api.Signaling/GetSessions',
|
|
572
|
+
grpc.web.MethodType.UNARY,
|
|
573
|
+
proto.v1.signaling.api.GetSessionsRequest,
|
|
574
|
+
proto.v1.signaling.api.GetSessionsResponse,
|
|
575
|
+
/**
|
|
576
|
+
* @param {!proto.v1.signaling.api.GetSessionsRequest} request
|
|
577
|
+
* @return {!Uint8Array}
|
|
578
|
+
*/
|
|
579
|
+
function(request) {
|
|
580
|
+
return request.serializeBinary();
|
|
581
|
+
},
|
|
582
|
+
proto.v1.signaling.api.GetSessionsResponse.deserializeBinary
|
|
583
|
+
);
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* @param {!proto.v1.signaling.api.GetSessionsRequest} request The
|
|
588
|
+
* request proto
|
|
589
|
+
* @param {?Object<string, string>} metadata User defined
|
|
590
|
+
* call metadata
|
|
591
|
+
* @param {function(?grpc.web.RpcError, ?proto.v1.signaling.api.GetSessionsResponse)}
|
|
592
|
+
* callback The callback function(error, response)
|
|
593
|
+
* @return {!grpc.web.ClientReadableStream<!proto.v1.signaling.api.GetSessionsResponse>|undefined}
|
|
594
|
+
* The XHR Node Readable Stream
|
|
595
|
+
*/
|
|
596
|
+
proto.v1.signaling.api.SignalingClient.prototype.getSessions =
|
|
597
|
+
function(request, metadata, callback) {
|
|
598
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
599
|
+
'/v1.signaling.api.Signaling/GetSessions',
|
|
600
|
+
request,
|
|
601
|
+
metadata || {},
|
|
602
|
+
methodDescriptor_Signaling_GetSessions,
|
|
603
|
+
callback);
|
|
604
|
+
};
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* @param {!proto.v1.signaling.api.GetSessionsRequest} request The
|
|
609
|
+
* request proto
|
|
610
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
611
|
+
* call metadata
|
|
612
|
+
* @return {!Promise<!proto.v1.signaling.api.GetSessionsResponse>}
|
|
613
|
+
* Promise that resolves to the response
|
|
614
|
+
*/
|
|
615
|
+
proto.v1.signaling.api.SignalingPromiseClient.prototype.getSessions =
|
|
616
|
+
function(request, metadata) {
|
|
617
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
618
|
+
'/v1.signaling.api.Signaling/GetSessions',
|
|
619
|
+
request,
|
|
620
|
+
metadata || {},
|
|
621
|
+
methodDescriptor_Signaling_GetSessions);
|
|
622
|
+
};
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
module.exports = proto.v1.signaling.api;
|
|
626
|
+
|