@stream-io/video-client 0.0.32 → 0.0.33
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/CHANGELOG.md +2 -0
- package/dist/index.browser.es.js +6 -17
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +6 -17
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +6 -17
- package/dist/index.es.js.map +1 -1
- package/dist/src/gen/video/sfu/event/events.d.ts +0 -4
- package/dist/src/gen/video/sfu/models/models.d.ts +4 -8
- package/package.json +1 -1
- package/src/gen/video/sfu/event/events.ts +1 -12
- package/src/gen/video/sfu/models/models.ts +4 -8
package/dist/index.es.js
CHANGED
|
@@ -835,6 +835,10 @@ var ErrorCode;
|
|
|
835
835
|
* @generated from protobuf enum value: ERROR_CODE_PUBLISH_TRACK_VIDEO_LAYER_NOT_FOUND = 103;
|
|
836
836
|
*/
|
|
837
837
|
ErrorCode[ErrorCode["PUBLISH_TRACK_VIDEO_LAYER_NOT_FOUND"] = 103] = "PUBLISH_TRACK_VIDEO_LAYER_NOT_FOUND";
|
|
838
|
+
/**
|
|
839
|
+
* @generated from protobuf enum value: ERROR_CODE_LIVE_ENDED = 104;
|
|
840
|
+
*/
|
|
841
|
+
ErrorCode[ErrorCode["LIVE_ENDED"] = 104] = "LIVE_ENDED";
|
|
838
842
|
/**
|
|
839
843
|
* @generated from protobuf enum value: ERROR_CODE_PARTICIPANT_NOT_FOUND = 200;
|
|
840
844
|
*/
|
|
@@ -847,14 +851,6 @@ var ErrorCode;
|
|
|
847
851
|
* @generated from protobuf enum value: ERROR_CODE_PARTICIPANT_MIGRATION_FAILED = 202;
|
|
848
852
|
*/
|
|
849
853
|
ErrorCode[ErrorCode["PARTICIPANT_MIGRATION_FAILED"] = 202] = "PARTICIPANT_MIGRATION_FAILED";
|
|
850
|
-
/**
|
|
851
|
-
* @generated from protobuf enum value: ERROR_CODE_PARTICIPANT_MIGRATING = 203;
|
|
852
|
-
*/
|
|
853
|
-
ErrorCode[ErrorCode["PARTICIPANT_MIGRATING"] = 203] = "PARTICIPANT_MIGRATING";
|
|
854
|
-
/**
|
|
855
|
-
* @generated from protobuf enum value: ERROR_CODE_PARTICIPANT_RECONNECT_FAILED = 204;
|
|
856
|
-
*/
|
|
857
|
-
ErrorCode[ErrorCode["PARTICIPANT_RECONNECT_FAILED"] = 204] = "PARTICIPANT_RECONNECT_FAILED";
|
|
858
854
|
/**
|
|
859
855
|
* @generated from protobuf enum value: ERROR_CODE_CALL_NOT_FOUND = 300;
|
|
860
856
|
*/
|
|
@@ -4194,11 +4190,10 @@ class JoinResponse$Type extends MessageType {
|
|
|
4194
4190
|
constructor() {
|
|
4195
4191
|
super('stream.video.sfu.event.JoinResponse', [
|
|
4196
4192
|
{ no: 1, name: 'call_state', kind: 'message', T: () => CallState$1 },
|
|
4197
|
-
{ no: 2, name: 'ice_restart', kind: 'scalar', T: 8 /*ScalarType.BOOL*/ },
|
|
4198
4193
|
]);
|
|
4199
4194
|
}
|
|
4200
4195
|
create(value) {
|
|
4201
|
-
const message = {
|
|
4196
|
+
const message = {};
|
|
4202
4197
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, {
|
|
4203
4198
|
enumerable: false,
|
|
4204
4199
|
value: this,
|
|
@@ -4215,9 +4210,6 @@ class JoinResponse$Type extends MessageType {
|
|
|
4215
4210
|
case /* stream.video.sfu.models.CallState call_state */ 1:
|
|
4216
4211
|
message.callState = CallState$1.internalBinaryRead(reader, reader.uint32(), options, message.callState);
|
|
4217
4212
|
break;
|
|
4218
|
-
case /* bool ice_restart */ 2:
|
|
4219
|
-
message.iceRestart = reader.bool();
|
|
4220
|
-
break;
|
|
4221
4213
|
default:
|
|
4222
4214
|
let u = options.readUnknownField;
|
|
4223
4215
|
if (u === 'throw')
|
|
@@ -4233,9 +4225,6 @@ class JoinResponse$Type extends MessageType {
|
|
|
4233
4225
|
/* stream.video.sfu.models.CallState call_state = 1; */
|
|
4234
4226
|
if (message.callState)
|
|
4235
4227
|
CallState$1.internalBinaryWrite(message.callState, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
4236
|
-
/* bool ice_restart = 2; */
|
|
4237
|
-
if (message.iceRestart !== false)
|
|
4238
|
-
writer.tag(2, WireType.Varint).bool(message.iceRestart);
|
|
4239
4228
|
let u = options.writeUnknownFields;
|
|
4240
4229
|
if (u !== false)
|
|
4241
4230
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -11843,7 +11832,7 @@ class StreamClient {
|
|
|
11843
11832
|
}
|
|
11844
11833
|
getUserAgent() {
|
|
11845
11834
|
return (this.userAgent ||
|
|
11846
|
-
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.
|
|
11835
|
+
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.32"}`);
|
|
11847
11836
|
}
|
|
11848
11837
|
setUserAgent(userAgent) {
|
|
11849
11838
|
this.userAgent = userAgent;
|