@stream-io/video-client 1.19.0 → 1.19.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 +11 -9
- 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/devices/MicrophoneManager.ts +5 -2
- package/src/devices/__tests__/MicrophoneManager.test.ts +9 -6
- package/src/devices/__tests__/MicrophoneManagerRN.test.ts +9 -6
package/dist/index.es.js
CHANGED
|
@@ -5644,7 +5644,7 @@ const aggregate = (stats) => {
|
|
|
5644
5644
|
return report;
|
|
5645
5645
|
};
|
|
5646
5646
|
|
|
5647
|
-
const version = "1.19.
|
|
5647
|
+
const version = "1.19.1";
|
|
5648
5648
|
const [major, minor, patch] = version.split('.');
|
|
5649
5649
|
let sdkInfo = {
|
|
5650
5650
|
type: SdkType.PLAIN_JAVASCRIPT,
|
|
@@ -9979,7 +9979,7 @@ class MicrophoneManager extends InputMediaDeviceManager {
|
|
|
9979
9979
|
super(call, new MicrophoneManagerState(disableMode), TrackType.AUDIO);
|
|
9980
9980
|
this.speakingWhileMutedNotificationEnabled = true;
|
|
9981
9981
|
this.soundDetectorConcurrencyTag = Symbol('soundDetectorConcurrencyTag');
|
|
9982
|
-
this.subscriptions.push(
|
|
9982
|
+
this.subscriptions.push(createSafeAsyncSubscription(combineLatest([
|
|
9983
9983
|
this.call.state.callingState$,
|
|
9984
9984
|
this.call.state.ownCapabilities$,
|
|
9985
9985
|
this.state.selectedDevice$,
|
|
@@ -13425,7 +13425,7 @@ class StreamClient {
|
|
|
13425
13425
|
this.getUserAgent = () => {
|
|
13426
13426
|
if (!this.cachedUserAgent) {
|
|
13427
13427
|
const { clientAppIdentifier = {} } = this.options;
|
|
13428
|
-
const { sdkName = 'js', sdkVersion = "1.19.
|
|
13428
|
+
const { sdkName = 'js', sdkVersion = "1.19.1", ...extras } = clientAppIdentifier;
|
|
13429
13429
|
this.cachedUserAgent = [
|
|
13430
13430
|
`stream-video-${sdkName}-v${sdkVersion}`,
|
|
13431
13431
|
...Object.entries(extras).map(([key, value]) => `${key}=${value}`),
|