@stream-io/video-client 0.3.7 → 0.3.9
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 +14 -0
- package/dist/index.browser.es.js +8 -1
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +8 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +8 -1
- package/dist/index.es.js.map +1 -1
- package/dist/src/coordinator/connection/types.d.ts +3 -3
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/Call.ts +6 -0
- package/src/coordinator/connection/types.ts +3 -3
package/dist/index.cjs.js
CHANGED
|
@@ -10767,6 +10767,13 @@ class Call {
|
|
|
10767
10767
|
*/
|
|
10768
10768
|
this.updateSubscriptionsPartial = (kind, changes, type = exports.DebounceType.SLOW) => {
|
|
10769
10769
|
const participants = this.state.updateParticipants(Object.entries(changes).reduce((acc, [sessionId, change]) => {
|
|
10770
|
+
var _a, _b;
|
|
10771
|
+
if ((_a = change.dimension) === null || _a === void 0 ? void 0 : _a.height) {
|
|
10772
|
+
change.dimension.height = Math.ceil(change.dimension.height);
|
|
10773
|
+
}
|
|
10774
|
+
if ((_b = change.dimension) === null || _b === void 0 ? void 0 : _b.width) {
|
|
10775
|
+
change.dimension.width = Math.ceil(change.dimension.width);
|
|
10776
|
+
}
|
|
10770
10777
|
const prop = kind === 'video'
|
|
10771
10778
|
? 'videoDimension'
|
|
10772
10779
|
: kind === 'screen'
|
|
@@ -12537,7 +12544,7 @@ class WSConnectionFallback {
|
|
|
12537
12544
|
}
|
|
12538
12545
|
}
|
|
12539
12546
|
|
|
12540
|
-
const version = '0.3.
|
|
12547
|
+
const version = '0.3.9';
|
|
12541
12548
|
|
|
12542
12549
|
const logger = getLogger(['location']);
|
|
12543
12550
|
const HINT_URL = `https://hint.stream-io-video.com/`;
|