@stream-io/video-client 1.34.0 → 1.34.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.34.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.34.0...@stream-io/video-client-1.34.1) (2025-10-17)
6
+
7
+ ### Bug Fixes
8
+
9
+ - camera toggle along with flip ([#1961](https://github.com/GetStream/stream-video-js/issues/1961)) ([2703121](https://github.com/GetStream/stream-video-js/commit/2703121d27aee7a54bdc07b99a30feea9a4e4512))
10
+
5
11
  ## [1.34.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.33.1...@stream-io/video-client-1.34.0) (2025-10-14)
6
12
 
7
13
  - use fromPartial instead of suppressing ts-errors ([#1949](https://github.com/GetStream/stream-video-js/issues/1949)) ([95e5654](https://github.com/GetStream/stream-video-js/commit/95e5654e2bac5dc7c5126079795fca9951652290))
@@ -5853,7 +5853,7 @@ const getSdkVersion = (sdk) => {
5853
5853
  return sdk ? `${sdk.major}.${sdk.minor}.${sdk.patch}` : '0.0.0-development';
5854
5854
  };
5855
5855
 
5856
- const version = "1.34.0";
5856
+ const version = "1.34.1";
5857
5857
  const [major, minor, patch] = version.split('.');
5858
5858
  let sdkInfo = {
5859
5859
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -10680,12 +10680,13 @@ class CameraManager extends DeviceManager {
10680
10680
  await videoTrack?.applyConstraints({
10681
10681
  facingMode: direction === 'front' ? 'user' : 'environment',
10682
10682
  });
10683
- this.state.setDirection(direction);
10684
- return;
10685
10683
  }
10686
10684
  // providing both device id and direction doesn't work, so we deselect the device
10687
10685
  this.state.setDirection(direction);
10688
10686
  this.state.setDevice(undefined);
10687
+ if (isReactNative()) {
10688
+ return;
10689
+ }
10689
10690
  this.getTracks().forEach((track) => track.stop());
10690
10691
  try {
10691
10692
  await this.unmuteStream();
@@ -14804,7 +14805,7 @@ class StreamClient {
14804
14805
  this.getUserAgent = () => {
14805
14806
  if (!this.cachedUserAgent) {
14806
14807
  const { clientAppIdentifier = {} } = this.options;
14807
- const { sdkName = 'js', sdkVersion = "1.34.0", ...extras } = clientAppIdentifier;
14808
+ const { sdkName = 'js', sdkVersion = "1.34.1", ...extras } = clientAppIdentifier;
14808
14809
  this.cachedUserAgent = [
14809
14810
  `stream-video-${sdkName}-v${sdkVersion}`,
14810
14811
  ...Object.entries(extras).map(([key, value]) => `${key}=${value}`),