@formant/realtime-sdk 1.4.8 → 1.4.10
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/dist/index.js +1 -2
- package/dist/protos/api/signaling/v1/signaling_grpc_web_pb.d.ts +45 -45
- package/dist/protos/api/signaling/v1/signaling_grpc_web_pb.js +1 -626
- package/dist/protos/api/signaling/v1/signaling_pb.d.ts +4 -0
- package/dist/protos/api/signaling/v1/signaling_pb.js +1 -3854
- package/dist/realtime-sdk/src/index.d.ts +6 -6
- package/dist/rtc-client/IHasRemoteDeviceId.d.ts +1 -1
- package/dist/rtc-client/RtcClient.d.ts +5 -5
- package/dist/rtc-client/RtcClientV1.d.ts +4 -4
- package/dist/rtc-client/RtcConnection.d.ts +2 -2
- package/dist/rtc-client/RtcConnectionV1.d.ts +1 -1
- package/dist/rtc-client/RtcSessionMetrics.d.ts +1 -1
- package/dist/rtc-client/gatherPingMetrics.d.ts +2 -2
- package/dist/rtc-client/models/IBinaryH264Message.d.ts +1 -1
- package/dist/rtc-client/models/IPingPayload.d.ts +2 -2
- package/dist/rtc-client/models/IRtcClientConfiguration.d.ts +2 -2
- package/dist/rtc-client/models/IRtcConnectionBaseConfiguration.d.ts +2 -2
- package/dist/rtc-client/models/IRtcConnectionRemoteConfiguration.d.ts +2 -2
- package/dist/rtc-client/models/IRtcPointCloud.d.ts +1 -1
- package/dist/rtc-client/models/IRtcStreamMessageHeader.d.ts +2 -2
- package/dist/rtc-client/models/IRtcStreamPayload.d.ts +16 -16
- package/dist/rtc-client/models/IRtcStreamsInfo.d.ts +1 -1
- package/dist/rtc-client/models-v1/IRtcClientConfigurationV1.d.ts +3 -3
- package/dist/rtc-client/models-v1/IRtcConnectionConfigurationV1.d.ts +3 -3
- package/dist/rtc-client/utils/createRtcStreamMessage.d.ts +1 -1
- package/dist/rtc-client/utils/encodeStreamId.d.ts +1 -1
- package/dist/rtc-client/utils/peerToRtcPeer.d.ts +1 -1
- package/dist/rtc-client/utils/streamIsEqual.d.ts +1 -1
- package/package.json +5 -7
- package/dist/client/AuthClient.d.ts +0 -42
- package/dist/client/Credentials.d.ts +0 -10
- package/dist/client/LanAgentClient.d.ts +0 -7
- package/dist/client/RtcSignalingClient.d.ts +0 -20
- package/dist/common/BaseClient.d.ts +0 -45
- package/dist/common/ConnectionError.d.ts +0 -6
- package/dist/common/FormantBaseClient.d.ts +0 -13
- package/dist/common/LogApiTransport.d.ts +0 -11
- package/dist/common/LogClient.d.ts +0 -6
- package/dist/common/LogReporter.d.ts +0 -6
- package/dist/common/LruCache.d.ts +0 -20
- package/dist/common/PromiseLruCache.d.ts +0 -11
- package/dist/common/ResponseError.d.ts +0 -11
- package/dist/common/ResponseHeadersError.d.ts +0 -7
- package/dist/common/StatsManager.d.ts +0 -39
- package/dist/common/StatsReporter.d.ts +0 -17
- package/dist/common/assertUnreachable.d.ts +0 -1
- package/dist/common/browser.d.ts +0 -2
- package/dist/common/collectErrors.d.ts +0 -1
- package/dist/common/config/index.d.ts +0 -24
- package/dist/common/defined.d.ts +0 -6
- package/dist/common/delay.d.ts +0 -1
- package/dist/common/errorConstants.d.ts +0 -7
- package/dist/common/errorToObject.d.ts +0 -16
- package/dist/common/errorToString.d.ts +0 -6
- package/dist/common/filterIceServers.d.ts +0 -8
- package/dist/common/instanceId.d.ts +0 -1
- package/dist/common/isErrorType.d.ts +0 -1
- package/dist/common/isObject.d.ts +0 -1
- package/dist/common/isValidTagString.d.ts +0 -3
- package/dist/common/logger.d.ts +0 -4
- package/dist/common/narrowError.d.ts +0 -1
- package/dist/common/objectMapValues.d.ts +0 -9
- package/dist/common/redact.d.ts +0 -6
- package/dist/common/setPromiseInterval.d.ts +0 -17
- package/dist/common/stats.d.ts +0 -2
- package/dist/common/toStringSafe.d.ts +0 -8
- package/dist/common/truncate.d.ts +0 -4
- package/dist/date-fns/parseIsoDate.d.ts +0 -1
- package/dist/index.js.LICENSE.txt +0 -19
- package/dist/model/AnnotationAreaType.d.ts +0 -2
- package/dist/model/AuditLogActionType.d.ts +0 -5
- package/dist/model/CognitoRegion.d.ts +0 -2
- package/dist/model/Feature.d.ts +0 -3
- package/dist/model/HealthStatus.d.ts +0 -2
- package/dist/model/HexRgbColor.d.ts +0 -1
- package/dist/model/IAdminSignupRequest.d.ts +0 -14
- package/dist/model/IAnnotationAreaTypeMap.d.ts +0 -4
- package/dist/model/IAudioChunk.d.ts +0 -5
- package/dist/model/IAuditLog.d.ts +0 -15
- package/dist/model/IAuthentication.d.ts +0 -8
- package/dist/model/IBaseEntity.d.ts +0 -7
- package/dist/model/IBattery.d.ts +0 -6
- package/dist/model/IBitset.d.ts +0 -9
- package/dist/model/IBoundingBox.d.ts +0 -6
- package/dist/model/IChallenge.d.ts +0 -7
- package/dist/model/ICheckSsoResult.d.ts +0 -5
- package/dist/model/IColorRGBA.d.ts +0 -6
- package/dist/model/ICompressedImage.d.ts +0 -3
- package/dist/model/ICreateServiceAccountResponse.d.ts +0 -5
- package/dist/model/IDeviceCredentials.d.ts +0 -9
- package/dist/model/IDictionary.d.ts +0 -3
- package/dist/model/IFile.d.ts +0 -6
- package/dist/model/IFilter.d.ts +0 -11
- package/dist/model/IGetFeaturesResponse.d.ts +0 -4
- package/dist/model/IGoal.d.ts +0 -5
- package/dist/model/IGoalID.d.ts +0 -3
- package/dist/model/IGoogleLoginRequest.d.ts +0 -4
- package/dist/model/IH264VideoFrame.d.ts +0 -5
- package/dist/model/IHealth.d.ts +0 -5
- package/dist/model/IImage.d.ts +0 -6
- package/dist/model/IImageAnnotation.d.ts +0 -9
- package/dist/model/IJointState.d.ts +0 -8
- package/dist/model/IJoy.d.ts +0 -4
- package/dist/model/IJsonString.d.ts +0 -3
- package/dist/model/IListResponse.d.ts +0 -9
- package/dist/model/ILocalization.d.ts +0 -14
- package/dist/model/ILocation.d.ts +0 -6
- package/dist/model/ILogLine.d.ts +0 -9
- package/dist/model/ILoginRequest.d.ts +0 -5
- package/dist/model/ILoginResult.d.ts +0 -7
- package/dist/model/IMap.d.ts +0 -10
- package/dist/model/IMarker3D.d.ts +0 -23
- package/dist/model/IMarker3DArray.d.ts +0 -4
- package/dist/model/IMetric.d.ts +0 -7
- package/dist/model/INumericSetEntry.d.ts +0 -5
- package/dist/model/IOdometry.d.ts +0 -7
- package/dist/model/IPath.d.ts +0 -7
- package/dist/model/IPoint.d.ts +0 -2
- package/dist/model/IPointCloud.d.ts +0 -6
- package/dist/model/IPoseWithCovariance.d.ts +0 -5
- package/dist/model/IPostLanRtcOfferRequest.d.ts +0 -3
- package/dist/model/IPostLanRtcOfferResponse.d.ts +0 -3
- package/dist/model/IQuaternion.d.ts +0 -6
- package/dist/model/IRequestToken.d.ts +0 -4
- package/dist/model/IRtcAddSignalsRequest.d.ts +0 -4
- package/dist/model/IRtcCapabilitySet.d.ts +0 -6
- package/dist/model/IRtcCreatePeerRequest.d.ts +0 -6
- package/dist/model/IRtcCreateSessionRequest.d.ts +0 -5
- package/dist/model/IRtcIceServer.d.ts +0 -5
- package/dist/model/IRtcInfo.d.ts +0 -7
- package/dist/model/IRtcPeer.d.ts +0 -11
- package/dist/model/IRtcPeerDescription.d.ts +0 -6
- package/dist/model/IRtcPortForwardingConfiguration.d.ts +0 -3
- package/dist/model/IRtcSession.d.ts +0 -12
- package/dist/model/IRtcSignal.d.ts +0 -3
- package/dist/model/IRtcStream.d.ts +0 -9
- package/dist/model/IRtcStreamCapability.d.ts +0 -6
- package/dist/model/IRtcStreamingConfiguration.d.ts +0 -4
- package/dist/model/IScopeFilter.d.ts +0 -6
- package/dist/model/IStat.d.ts +0 -21
- package/dist/model/IStreamTypeMap.d.ts +0 -27
- package/dist/model/ITagFilter.d.ts +0 -4
- package/dist/model/ITagSets.d.ts +0 -3
- package/dist/model/ITaggedEntity.d.ts +0 -5
- package/dist/model/ITags.d.ts +0 -2
- package/dist/model/ITransform.d.ts +0 -6
- package/dist/model/ITransformNode.d.ts +0 -8
- package/dist/model/ITwist.d.ts +0 -5
- package/dist/model/IUser.d.ts +0 -40
- package/dist/model/IUserScope.d.ts +0 -16
- package/dist/model/IValidation.d.ts +0 -3
- package/dist/model/IVector3.d.ts +0 -5
- package/dist/model/IVideo.d.ts +0 -7
- package/dist/model/IsoDate.d.ts +0 -1
- package/dist/model/LanguageType.d.ts +0 -2
- package/dist/model/LogLevel.d.ts +0 -2
- package/dist/model/Marker3DAction.d.ts +0 -2
- package/dist/model/Marker3DType.d.ts +0 -2
- package/dist/model/OrganizationPlan.d.ts +0 -2
- package/dist/model/RequireKeys.d.ts +0 -3
- package/dist/model/RtcConnectionStatus.d.ts +0 -2
- package/dist/model/RtcIceServerProtocol.d.ts +0 -2
- package/dist/model/RtcIceTransportPolicy.d.ts +0 -2
- package/dist/model/RtcSessionType.d.ts +0 -2
- package/dist/model/RtcStreamType.d.ts +0 -3
- package/dist/model/SmsOptInStatus.d.ts +0 -2
- package/dist/model/StreamType.d.ts +0 -2
- package/dist/model/Timeout.d.ts +0 -1
- package/dist/model/Timestamp.d.ts +0 -1
- package/dist/model/Uuid.d.ts +0 -1
- package/dist/model/VideoMimeType.d.ts +0 -2
- package/dist/model/auditLogActionTypes.d.ts +0 -1
- package/dist/model/bytes.d.ts +0 -9
- package/dist/model/cognitoRegions.d.ts +0 -1
- package/dist/model/duration.d.ts +0 -10
- package/dist/model/features.d.ts +0 -2
- package/dist/model/healthStatuses.d.ts +0 -5
- package/dist/model/languageTypes.d.ts +0 -1
- package/dist/model/logLevels.d.ts +0 -1
- package/dist/model/marker3DActions.d.ts +0 -1
- package/dist/model/marker3DTypes.d.ts +0 -1
- package/dist/model/organizationPlans.d.ts +0 -1
- package/dist/model/reservedTagValues.d.ts +0 -3
- package/dist/model/rtcConnectionStatuses.d.ts +0 -1
- package/dist/model/rtcIceServerProtocols.d.ts +0 -1
- package/dist/model/rtcIceTransportPolicies.d.ts +0 -1
- package/dist/model/rtcSessionTypes.d.ts +0 -1
- package/dist/model/rtcStreamTypes.d.ts +0 -32
- package/dist/model/smsOptInStatuses.d.ts +0 -1
- package/dist/model/userResources.d.ts +0 -1
- package/dist/model/videoMimeTypes.d.ts +0 -1
- package/dist/protos/api/signaling/v1/signaling.proto +0 -114
|
@@ -1,626 +1 @@
|
|
|
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
|
-
|
|
1
|
+
const grpc={};grpc.web=require("grpc-web");var google_protobuf_wrappers_pb=require("google-protobuf/google/protobuf/wrappers_pb.js");const proto={v1:{}};proto.v1.signaling={},proto.v1.signaling.api=require("./signaling_pb.js"),proto.v1.signaling.api.SignalingClient=function(e,i,n){n||(n={}),n.format="text",this.client_=new grpc.web.GrpcWebClientBase(n),this.hostname_=e.replace(/\/+$/,"")},proto.v1.signaling.api.SignalingPromiseClient=function(e,i,n){n||(n={}),n.format="text",this.client_=new grpc.web.GrpcWebClientBase(n),this.hostname_=e.replace(/\/+$/,"")};const methodDescriptor_Signaling_GetHealth=new grpc.web.MethodDescriptor("/v1.signaling.api.Signaling/GetHealth",grpc.web.MethodType.UNARY,proto.v1.signaling.api.GetHealthRequest,proto.v1.signaling.api.GetHealthResponse,(function(e){return e.serializeBinary()}),proto.v1.signaling.api.GetHealthResponse.deserializeBinary);proto.v1.signaling.api.SignalingClient.prototype.getHealth=function(e,i,n){return this.client_.rpcCall(this.hostname_+"/v1.signaling.api.Signaling/GetHealth",e,i||{},methodDescriptor_Signaling_GetHealth,n)},proto.v1.signaling.api.SignalingPromiseClient.prototype.getHealth=function(e,i){return this.client_.unaryCall(this.hostname_+"/v1.signaling.api.Signaling/GetHealth",e,i||{},methodDescriptor_Signaling_GetHealth)};const methodDescriptor_Signaling_CreatePeer=new grpc.web.MethodDescriptor("/v1.signaling.api.Signaling/CreatePeer",grpc.web.MethodType.UNARY,proto.v1.signaling.api.CreatePeerRequest,proto.v1.signaling.api.CreatePeerResponse,(function(e){return e.serializeBinary()}),proto.v1.signaling.api.CreatePeerResponse.deserializeBinary);proto.v1.signaling.api.SignalingClient.prototype.createPeer=function(e,i,n){return this.client_.rpcCall(this.hostname_+"/v1.signaling.api.Signaling/CreatePeer",e,i||{},methodDescriptor_Signaling_CreatePeer,n)},proto.v1.signaling.api.SignalingPromiseClient.prototype.createPeer=function(e,i){return this.client_.unaryCall(this.hostname_+"/v1.signaling.api.Signaling/CreatePeer",e,i||{},methodDescriptor_Signaling_CreatePeer)};const methodDescriptor_Signaling_DeletePeer=new grpc.web.MethodDescriptor("/v1.signaling.api.Signaling/DeletePeer",grpc.web.MethodType.UNARY,proto.v1.signaling.api.DeletePeerRequest,proto.v1.signaling.api.DeletePeerResponse,(function(e){return e.serializeBinary()}),proto.v1.signaling.api.DeletePeerResponse.deserializeBinary);proto.v1.signaling.api.SignalingClient.prototype.deletePeer=function(e,i,n){return this.client_.rpcCall(this.hostname_+"/v1.signaling.api.Signaling/DeletePeer",e,i||{},methodDescriptor_Signaling_DeletePeer,n)},proto.v1.signaling.api.SignalingPromiseClient.prototype.deletePeer=function(e,i){return this.client_.unaryCall(this.hostname_+"/v1.signaling.api.Signaling/DeletePeer",e,i||{},methodDescriptor_Signaling_DeletePeer)};const methodDescriptor_Signaling_RefreshPeer=new grpc.web.MethodDescriptor("/v1.signaling.api.Signaling/RefreshPeer",grpc.web.MethodType.UNARY,proto.v1.signaling.api.RefreshPeerRequest,proto.v1.signaling.api.RefreshPeerResponse,(function(e){return e.serializeBinary()}),proto.v1.signaling.api.RefreshPeerResponse.deserializeBinary);proto.v1.signaling.api.SignalingClient.prototype.refreshPeer=function(e,i,n){return this.client_.rpcCall(this.hostname_+"/v1.signaling.api.Signaling/RefreshPeer",e,i||{},methodDescriptor_Signaling_RefreshPeer,n)},proto.v1.signaling.api.SignalingPromiseClient.prototype.refreshPeer=function(e,i){return this.client_.unaryCall(this.hostname_+"/v1.signaling.api.Signaling/RefreshPeer",e,i||{},methodDescriptor_Signaling_RefreshPeer)};const methodDescriptor_Signaling_GetPeers=new grpc.web.MethodDescriptor("/v1.signaling.api.Signaling/GetPeers",grpc.web.MethodType.UNARY,proto.v1.signaling.api.GetPeersRequest,proto.v1.signaling.api.GetPeersResponse,(function(e){return e.serializeBinary()}),proto.v1.signaling.api.GetPeersResponse.deserializeBinary);proto.v1.signaling.api.SignalingClient.prototype.getPeers=function(e,i,n){return this.client_.rpcCall(this.hostname_+"/v1.signaling.api.Signaling/GetPeers",e,i||{},methodDescriptor_Signaling_GetPeers,n)},proto.v1.signaling.api.SignalingPromiseClient.prototype.getPeers=function(e,i){return this.client_.unaryCall(this.hostname_+"/v1.signaling.api.Signaling/GetPeers",e,i||{},methodDescriptor_Signaling_GetPeers)};const methodDescriptor_Signaling_GetIceServers=new grpc.web.MethodDescriptor("/v1.signaling.api.Signaling/GetIceServers",grpc.web.MethodType.UNARY,proto.v1.signaling.api.GetIceServersRequest,proto.v1.signaling.api.GetIceServersResponse,(function(e){return e.serializeBinary()}),proto.v1.signaling.api.GetIceServersResponse.deserializeBinary);proto.v1.signaling.api.SignalingClient.prototype.getIceServers=function(e,i,n){return this.client_.rpcCall(this.hostname_+"/v1.signaling.api.Signaling/GetIceServers",e,i||{},methodDescriptor_Signaling_GetIceServers,n)},proto.v1.signaling.api.SignalingPromiseClient.prototype.getIceServers=function(e,i){return this.client_.unaryCall(this.hostname_+"/v1.signaling.api.Signaling/GetIceServers",e,i||{},methodDescriptor_Signaling_GetIceServers)};const methodDescriptor_Signaling_SendSignal=new grpc.web.MethodDescriptor("/v1.signaling.api.Signaling/SendSignal",grpc.web.MethodType.UNARY,proto.v1.signaling.api.SendSignalRequest,proto.v1.signaling.api.SendSignalResponse,(function(e){return e.serializeBinary()}),proto.v1.signaling.api.SendSignalResponse.deserializeBinary);proto.v1.signaling.api.SignalingClient.prototype.sendSignal=function(e,i,n){return this.client_.rpcCall(this.hostname_+"/v1.signaling.api.Signaling/SendSignal",e,i||{},methodDescriptor_Signaling_SendSignal,n)},proto.v1.signaling.api.SignalingPromiseClient.prototype.sendSignal=function(e,i){return this.client_.unaryCall(this.hostname_+"/v1.signaling.api.Signaling/SendSignal",e,i||{},methodDescriptor_Signaling_SendSignal)};const methodDescriptor_Signaling_ReceiveSignalStream=new grpc.web.MethodDescriptor("/v1.signaling.api.Signaling/ReceiveSignalStream",grpc.web.MethodType.SERVER_STREAMING,proto.v1.signaling.api.ReceiveSignalStreamRequest,proto.v1.signaling.api.ReceiveSignalStreamResponse,(function(e){return e.serializeBinary()}),proto.v1.signaling.api.ReceiveSignalStreamResponse.deserializeBinary);proto.v1.signaling.api.SignalingClient.prototype.receiveSignalStream=function(e,i){return this.client_.serverStreaming(this.hostname_+"/v1.signaling.api.Signaling/ReceiveSignalStream",e,i||{},methodDescriptor_Signaling_ReceiveSignalStream)},proto.v1.signaling.api.SignalingPromiseClient.prototype.receiveSignalStream=function(e,i){return this.client_.serverStreaming(this.hostname_+"/v1.signaling.api.Signaling/ReceiveSignalStream",e,i||{},methodDescriptor_Signaling_ReceiveSignalStream)};const methodDescriptor_Signaling_GetSessions=new grpc.web.MethodDescriptor("/v1.signaling.api.Signaling/GetSessions",grpc.web.MethodType.UNARY,proto.v1.signaling.api.GetSessionsRequest,proto.v1.signaling.api.GetSessionsResponse,(function(e){return e.serializeBinary()}),proto.v1.signaling.api.GetSessionsResponse.deserializeBinary);proto.v1.signaling.api.SignalingClient.prototype.getSessions=function(e,i,n){return this.client_.rpcCall(this.hostname_+"/v1.signaling.api.Signaling/GetSessions",e,i||{},methodDescriptor_Signaling_GetSessions,n)},proto.v1.signaling.api.SignalingPromiseClient.prototype.getSessions=function(e,i){return this.client_.unaryCall(this.hostname_+"/v1.signaling.api.Signaling/GetSessions",e,i||{},methodDescriptor_Signaling_GetSessions)},module.exports=proto.v1.signaling.api;
|
|
@@ -78,6 +78,9 @@ export class Signal extends jspb.Message {
|
|
|
78
78
|
getSessionType(): SessionType;
|
|
79
79
|
setSessionType(value: SessionType): Signal;
|
|
80
80
|
|
|
81
|
+
getLockDevice(): boolean;
|
|
82
|
+
setLockDevice(value: boolean): Signal;
|
|
83
|
+
|
|
81
84
|
serializeBinary(): Uint8Array;
|
|
82
85
|
toObject(includeInstance?: boolean): Signal.AsObject;
|
|
83
86
|
static toObject(includeInstance: boolean, msg: Signal): Signal.AsObject;
|
|
@@ -96,6 +99,7 @@ export namespace Signal {
|
|
|
96
99
|
iceServers: string,
|
|
97
100
|
iceTransportPolicy: string,
|
|
98
101
|
sessionType: SessionType,
|
|
102
|
+
lockDevice: boolean,
|
|
99
103
|
}
|
|
100
104
|
}
|
|
101
105
|
|