@stream-io/video-client 1.26.0 → 1.26.1

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,12 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.26.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.26.0...@stream-io/video-client-1.26.1) (2025-07-17)
6
+
7
+ ### Bug Fixes
8
+
9
+ - force `play-and-record` audioSession on Safari ([#1855](https://github.com/GetStream/stream-video-js/issues/1855)) ([a3552a3](https://github.com/GetStream/stream-video-js/commit/a3552a3be606ac99120b6c4ce6187eaa920a02ef))
10
+
5
11
  ## [1.26.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.25.5...@stream-io/video-client-1.26.0) (2025-07-11)
6
12
 
7
13
  ### Features
@@ -5810,7 +5810,7 @@ const aggregate = (stats) => {
5810
5810
  return report;
5811
5811
  };
5812
5812
 
5813
- const version = "1.26.0";
5813
+ const version = "1.26.1";
5814
5814
  const [major, minor, patch] = version.split('.');
5815
5815
  let sdkInfo = {
5816
5816
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -9036,6 +9036,12 @@ class DynascaleManager {
9036
9036
  if (context.state === 'suspended') {
9037
9037
  document.addEventListener('click', this.resumeAudioContext);
9038
9038
  }
9039
+ // @ts-expect-error audioSession is available in Safari only
9040
+ const audioSession = navigator.audioSession;
9041
+ if (audioSession) {
9042
+ // https://github.com/w3c/audio-session/blob/main/explainer.md
9043
+ audioSession.type = 'play-and-record';
9044
+ }
9039
9045
  return (this.audioContext = context);
9040
9046
  };
9041
9047
  this.resumeAudioContext = () => {
@@ -14295,7 +14301,7 @@ class StreamClient {
14295
14301
  this.getUserAgent = () => {
14296
14302
  if (!this.cachedUserAgent) {
14297
14303
  const { clientAppIdentifier = {} } = this.options;
14298
- const { sdkName = 'js', sdkVersion = "1.26.0", ...extras } = clientAppIdentifier;
14304
+ const { sdkName = 'js', sdkVersion = "1.26.1", ...extras } = clientAppIdentifier;
14299
14305
  this.cachedUserAgent = [
14300
14306
  `stream-video-${sdkName}-v${sdkVersion}`,
14301
14307
  ...Object.entries(extras).map(([key, value]) => `${key}=${value}`),