@stream-io/video-client 1.2.0 → 1.2.2

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,20 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ### [1.2.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.2.1...@stream-io/video-client-1.2.2) (2024-06-04)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * align with the latest openapi ([#1384](https://github.com/GetStream/stream-video-js/issues/1384)) ([7c37e83](https://github.com/GetStream/stream-video-js/commit/7c37e8363ffc7e17e59de8357a2ed769e074bd8d))
11
+
12
+ ### [1.2.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.2.0...@stream-io/video-client-1.2.1) (2024-06-04)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * join doesn't work on chrome 86 ([#1386](https://github.com/GetStream/stream-video-js/issues/1386)) ([7b462da](https://github.com/GetStream/stream-video-js/commit/7b462da8131e086f224c0590221d549a38ba419c))
18
+
5
19
  ## [1.2.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.1.0...@stream-io/video-client-1.2.0) (2024-06-03)
6
20
 
7
21
 
@@ -79,6 +79,7 @@ const NoiseCancellationSettingsModeEnum = {
79
79
  */
80
80
  const OwnCapability = {
81
81
  BLOCK_USERS: 'block-users',
82
+ CHANGE_MAX_DURATION: 'change-max-duration',
82
83
  CREATE_CALL: 'create-call',
83
84
  CREATE_REACTION: 'create-reaction',
84
85
  ENABLE_NOISE_CANCELLATION: 'enable-noise-cancellation',
@@ -6411,7 +6412,7 @@ const getGenericSdp = async (direction) => {
6411
6412
  const offer = await tempPc.createOffer();
6412
6413
  let sdp = offer.sdp ?? '';
6413
6414
  tempPc.getTransceivers().forEach((t) => {
6414
- t.stop();
6415
+ t.stop?.();
6415
6416
  });
6416
6417
  tempPc.close();
6417
6418
  return sdp;
@@ -7638,6 +7639,7 @@ class CallState {
7638
7639
  'call.recording_stopped': () => this.setCurrentValue(this.recordingSubject, false),
7639
7640
  'call.rejected': (e) => this.updateFromCallResponse(e.call),
7640
7641
  'call.ring': (e) => this.updateFromCallResponse(e.call),
7642
+ 'call.missed': (e) => this.updateFromCallResponse(e.call),
7641
7643
  'call.session_ended': (e) => this.updateFromCallResponse(e.call),
7642
7644
  'call.session_participant_joined': this.updateFromSessionParticipantJoined,
7643
7645
  'call.session_participant_left': this.updateFromSessionParticipantLeft,
@@ -15289,7 +15291,7 @@ class StreamClient {
15289
15291
  });
15290
15292
  };
15291
15293
  this.getUserAgent = () => {
15292
- const version = "1.2.0" ;
15294
+ const version = "1.2.2" ;
15293
15295
  return (this.userAgent ||
15294
15296
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
15295
15297
  };