@stream-io/video-client 0.4.3 → 0.4.4
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 +9 -1
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +9 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +9 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/helpers/DynascaleManager.ts +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
### [0.4.4](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.4.3...@stream-io/video-client-0.4.4) (2023-11-02)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* allow audio and screen share audio tracks, delay setSinkId ([#1176](https://github.com/GetStream/stream-video-js/issues/1176)) ([6a099c5](https://github.com/GetStream/stream-video-js/commit/6a099c5c7cc6f5d389961a7c594e914e19be4ddb))
|
|
11
|
+
|
|
5
12
|
### [0.4.3](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.4.2...@stream-io/video-client-0.4.3) (2023-11-01)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.browser.es.js
CHANGED
|
@@ -9788,6 +9788,14 @@ class DynascaleManager {
|
|
|
9788
9788
|
audioElement.play().catch((e) => {
|
|
9789
9789
|
this.logger('warn', `Failed to play stream`, e);
|
|
9790
9790
|
});
|
|
9791
|
+
// audio output device shall be set after the audio element is played
|
|
9792
|
+
// otherwise, the browser will not pick it up, and will always
|
|
9793
|
+
// play audio through the system's default device
|
|
9794
|
+
const { selectedDevice } = this.call.speaker.state;
|
|
9795
|
+
if (selectedDevice && 'setSinkId' in audioElement) {
|
|
9796
|
+
// @ts-expect-error setSinkId is not yet in the lib
|
|
9797
|
+
audioElement.setSinkId(selectedDevice);
|
|
9798
|
+
}
|
|
9791
9799
|
}
|
|
9792
9800
|
});
|
|
9793
9801
|
});
|
|
@@ -13960,7 +13968,7 @@ class StreamClient {
|
|
|
13960
13968
|
});
|
|
13961
13969
|
};
|
|
13962
13970
|
this.getUserAgent = () => {
|
|
13963
|
-
const version = "0.4.
|
|
13971
|
+
const version = "0.4.4" ;
|
|
13964
13972
|
return (this.userAgent ||
|
|
13965
13973
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
13966
13974
|
};
|