@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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
### [0.0.33](https://github.com/GetStream/stream-video-js/compare/client0.0.32...client0.0.33) (2023-07-04)
|
|
6
|
+
|
|
5
7
|
### [0.0.32](https://github.com/GetStream/stream-video-js/compare/client0.0.31...client0.0.32) (2023-07-04)
|
|
6
8
|
|
|
7
9
|
|
package/dist/index.browser.es.js
CHANGED
|
@@ -832,6 +832,10 @@ var ErrorCode;
|
|
|
832
832
|
* @generated from protobuf enum value: ERROR_CODE_PUBLISH_TRACK_VIDEO_LAYER_NOT_FOUND = 103;
|
|
833
833
|
*/
|
|
834
834
|
ErrorCode[ErrorCode["PUBLISH_TRACK_VIDEO_LAYER_NOT_FOUND"] = 103] = "PUBLISH_TRACK_VIDEO_LAYER_NOT_FOUND";
|
|
835
|
+
/**
|
|
836
|
+
* @generated from protobuf enum value: ERROR_CODE_LIVE_ENDED = 104;
|
|
837
|
+
*/
|
|
838
|
+
ErrorCode[ErrorCode["LIVE_ENDED"] = 104] = "LIVE_ENDED";
|
|
835
839
|
/**
|
|
836
840
|
* @generated from protobuf enum value: ERROR_CODE_PARTICIPANT_NOT_FOUND = 200;
|
|
837
841
|
*/
|
|
@@ -844,14 +848,6 @@ var ErrorCode;
|
|
|
844
848
|
* @generated from protobuf enum value: ERROR_CODE_PARTICIPANT_MIGRATION_FAILED = 202;
|
|
845
849
|
*/
|
|
846
850
|
ErrorCode[ErrorCode["PARTICIPANT_MIGRATION_FAILED"] = 202] = "PARTICIPANT_MIGRATION_FAILED";
|
|
847
|
-
/**
|
|
848
|
-
* @generated from protobuf enum value: ERROR_CODE_PARTICIPANT_MIGRATING = 203;
|
|
849
|
-
*/
|
|
850
|
-
ErrorCode[ErrorCode["PARTICIPANT_MIGRATING"] = 203] = "PARTICIPANT_MIGRATING";
|
|
851
|
-
/**
|
|
852
|
-
* @generated from protobuf enum value: ERROR_CODE_PARTICIPANT_RECONNECT_FAILED = 204;
|
|
853
|
-
*/
|
|
854
|
-
ErrorCode[ErrorCode["PARTICIPANT_RECONNECT_FAILED"] = 204] = "PARTICIPANT_RECONNECT_FAILED";
|
|
855
851
|
/**
|
|
856
852
|
* @generated from protobuf enum value: ERROR_CODE_CALL_NOT_FOUND = 300;
|
|
857
853
|
*/
|
|
@@ -4191,11 +4187,10 @@ class JoinResponse$Type extends MessageType {
|
|
|
4191
4187
|
constructor() {
|
|
4192
4188
|
super('stream.video.sfu.event.JoinResponse', [
|
|
4193
4189
|
{ no: 1, name: 'call_state', kind: 'message', T: () => CallState$1 },
|
|
4194
|
-
{ no: 2, name: 'ice_restart', kind: 'scalar', T: 8 /*ScalarType.BOOL*/ },
|
|
4195
4190
|
]);
|
|
4196
4191
|
}
|
|
4197
4192
|
create(value) {
|
|
4198
|
-
const message = {
|
|
4193
|
+
const message = {};
|
|
4199
4194
|
globalThis.Object.defineProperty(message, MESSAGE_TYPE, {
|
|
4200
4195
|
enumerable: false,
|
|
4201
4196
|
value: this,
|
|
@@ -4212,9 +4207,6 @@ class JoinResponse$Type extends MessageType {
|
|
|
4212
4207
|
case /* stream.video.sfu.models.CallState call_state */ 1:
|
|
4213
4208
|
message.callState = CallState$1.internalBinaryRead(reader, reader.uint32(), options, message.callState);
|
|
4214
4209
|
break;
|
|
4215
|
-
case /* bool ice_restart */ 2:
|
|
4216
|
-
message.iceRestart = reader.bool();
|
|
4217
|
-
break;
|
|
4218
4210
|
default:
|
|
4219
4211
|
let u = options.readUnknownField;
|
|
4220
4212
|
if (u === 'throw')
|
|
@@ -4230,9 +4222,6 @@ class JoinResponse$Type extends MessageType {
|
|
|
4230
4222
|
/* stream.video.sfu.models.CallState call_state = 1; */
|
|
4231
4223
|
if (message.callState)
|
|
4232
4224
|
CallState$1.internalBinaryWrite(message.callState, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
4233
|
-
/* bool ice_restart = 2; */
|
|
4234
|
-
if (message.iceRestart !== false)
|
|
4235
|
-
writer.tag(2, WireType.Varint).bool(message.iceRestart);
|
|
4236
4225
|
let u = options.writeUnknownFields;
|
|
4237
4226
|
if (u !== false)
|
|
4238
4227
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -11839,7 +11828,7 @@ class StreamClient {
|
|
|
11839
11828
|
}
|
|
11840
11829
|
getUserAgent() {
|
|
11841
11830
|
return (this.userAgent ||
|
|
11842
|
-
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.
|
|
11831
|
+
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.32"}`);
|
|
11843
11832
|
}
|
|
11844
11833
|
setUserAgent(userAgent) {
|
|
11845
11834
|
this.userAgent = userAgent;
|