@stream-io/video-client 0.3.34 → 0.3.35

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 CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ### [0.3.35](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.3.34...@stream-io/video-client-0.3.35) (2023-10-19)
6
+
7
+
8
+ ### Features
9
+
10
+ * mute screenshare_audio, update to the newest OpenAPI schema ([#1148](https://github.com/GetStream/stream-video-js/issues/1148)) ([81c45a7](https://github.com/GetStream/stream-video-js/commit/81c45a77e6a526de05ce5457357d212fb3e613d9))
11
+
5
12
  ### [0.3.34](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.3.33...@stream-io/video-client-0.3.34) (2023-10-18)
6
13
 
7
14
 
@@ -8334,6 +8334,12 @@ class CallState {
8334
8334
  broadcasting: false,
8335
8335
  }));
8336
8336
  };
8337
+ this.updateFromHLSBroadcastingFailed = () => {
8338
+ this.setCurrentValue(this.egressSubject, (egress) => ({
8339
+ ...egress,
8340
+ broadcasting: false,
8341
+ }));
8342
+ };
8337
8343
  this.updateFromHLSBroadcastStarted = (event) => {
8338
8344
  this.setCurrentValue(this.egressSubject, (egress) => ({
8339
8345
  ...egress,
@@ -8460,12 +8466,12 @@ class CallState {
8460
8466
  this.eventHandlers = {
8461
8467
  // these events are not updating the call state:
8462
8468
  'call.permission_request': undefined,
8469
+ 'call.recording_failed': undefined,
8470
+ 'call.recording_ready': undefined,
8463
8471
  'call.user_muted': undefined,
8464
8472
  'connection.error': undefined,
8465
8473
  'connection.ok': undefined,
8466
8474
  'health.check': undefined,
8467
- 'call.recording_failed': undefined,
8468
- 'call.recording_ready': undefined,
8469
8475
  custom: undefined,
8470
8476
  // events that update call state:
8471
8477
  'call.accepted': (e) => this.updateFromCallResponse(e.call),
@@ -8475,6 +8481,7 @@ class CallState {
8475
8481
  this.updateFromCallResponse(e.call);
8476
8482
  this.setCurrentValue(this.endedBySubject, e.user);
8477
8483
  },
8484
+ 'call.hls_broadcasting_failed': this.updateFromHLSBroadcastingFailed,
8478
8485
  'call.hls_broadcasting_started': this.updateFromHLSBroadcastStarted,
8479
8486
  'call.hls_broadcasting_stopped': this.updateFromHLSBroadcastStopped,
8480
8487
  'call.live_started': (e) => this.updateFromCallResponse(e.call),
@@ -13965,7 +13972,7 @@ class StreamClient {
13965
13972
  });
13966
13973
  };
13967
13974
  this.getUserAgent = () => {
13968
- const version = "0.3.34" ;
13975
+ const version = "0.3.35" ;
13969
13976
  return (this.userAgent ||
13970
13977
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
13971
13978
  };