@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/CHANGELOG.md +7 -0
- package/dist/index.browser.es.js +3 -3
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/rtc/__tests__/videoLayers.test.ts +17 -0
- package/src/rtc/videoLayers.ts +2 -1
package/dist/index.cjs.js
CHANGED
|
@@ -5500,7 +5500,7 @@ const computeVideoLayers = (videoTrack, publishOption) => {
|
|
|
5500
5500
|
rid,
|
|
5501
5501
|
width: Math.round(width / downscaleFactor),
|
|
5502
5502
|
height: Math.round(height / downscaleFactor),
|
|
5503
|
-
maxBitrate: maxBitrate / bitrateFactor || defaultBitratePerRid[rid],
|
|
5503
|
+
maxBitrate: Math.round(maxBitrate / bitrateFactor) || defaultBitratePerRid[rid],
|
|
5504
5504
|
maxFramerate: fps,
|
|
5505
5505
|
};
|
|
5506
5506
|
if (svcCodec) {
|
|
@@ -7358,7 +7358,7 @@ const aggregate = (stats) => {
|
|
|
7358
7358
|
return report;
|
|
7359
7359
|
};
|
|
7360
7360
|
|
|
7361
|
-
const version = "1.15.
|
|
7361
|
+
const version = "1.15.6";
|
|
7362
7362
|
const [major, minor, patch] = version.split('.');
|
|
7363
7363
|
let sdkInfo = {
|
|
7364
7364
|
type: SdkType.PLAIN_JAVASCRIPT,
|
|
@@ -12863,7 +12863,7 @@ class StreamClient {
|
|
|
12863
12863
|
return await this.wsConnection.connect(this.defaultWSTimeout);
|
|
12864
12864
|
};
|
|
12865
12865
|
this.getUserAgent = () => {
|
|
12866
|
-
const version = "1.15.
|
|
12866
|
+
const version = "1.15.6";
|
|
12867
12867
|
return (this.userAgent ||
|
|
12868
12868
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
12869
12869
|
};
|