@stream-io/video-client 1.15.5 → 1.15.6

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/dist/index.es.js CHANGED
@@ -5499,7 +5499,7 @@ const computeVideoLayers = (videoTrack, publishOption) => {
5499
5499
  rid,
5500
5500
  width: Math.round(width / downscaleFactor),
5501
5501
  height: Math.round(height / downscaleFactor),
5502
- maxBitrate: maxBitrate / bitrateFactor || defaultBitratePerRid[rid],
5502
+ maxBitrate: Math.round(maxBitrate / bitrateFactor) || defaultBitratePerRid[rid],
5503
5503
  maxFramerate: fps,
5504
5504
  };
5505
5505
  if (svcCodec) {
@@ -7357,7 +7357,7 @@ const aggregate = (stats) => {
7357
7357
  return report;
7358
7358
  };
7359
7359
 
7360
- const version = "1.15.5";
7360
+ const version = "1.15.6";
7361
7361
  const [major, minor, patch] = version.split('.');
7362
7362
  let sdkInfo = {
7363
7363
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -12862,7 +12862,7 @@ class StreamClient {
12862
12862
  return await this.wsConnection.connect(this.defaultWSTimeout);
12863
12863
  };
12864
12864
  this.getUserAgent = () => {
12865
- const version = "1.15.5";
12865
+ const version = "1.15.6";
12866
12866
  return (this.userAgent ||
12867
12867
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
12868
12868
  };