From cd49dc65d49ad1931ab9c44ccbf75a3697d4d3de Mon Sep 17 00:00:00 2001 From: Ravi theja Date: Tue, 15 Oct 2024 14:41:32 +0530 Subject: [PATCH 1/2] fix: device category check --- .../hms-video-store/src/device-manager/DeviceManager.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/hms-video-store/src/device-manager/DeviceManager.ts b/packages/hms-video-store/src/device-manager/DeviceManager.ts index d6d4e5281f..41ef7972b7 100644 --- a/packages/hms-video-store/src/device-manager/DeviceManager.ts +++ b/packages/hms-video-store/src/device-manager/DeviceManager.ts @@ -446,11 +446,11 @@ export class DeviceManager implements HMSDeviceManager { const deviceCategory = getAudioDeviceCategory(device.label); if (deviceCategory === HMSAudioDeviceCategory.SPEAKERPHONE) { speakerPhone = device; - } else if (HMSAudioDeviceCategory.WIRED) { + } else if (deviceCategory === HMSAudioDeviceCategory.WIRED) { wired = device; - } else if (HMSAudioDeviceCategory.BLUETOOTH) { + } else if (deviceCategory === HMSAudioDeviceCategory.BLUETOOTH) { bluetoothDevice = device; - } else if (HMSAudioDeviceCategory.EARPIECE) { + } else if (deviceCategory === HMSAudioDeviceCategory.EARPIECE) { earpiece = device; } } From 6731e7ed7a5e788f2ab5aee5e167b6e5b4021ffb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 15 Oct 2024 15:16:38 +0530 Subject: [PATCH 2/2] ci: update versions for release --- examples/prebuilt-react-integration/package.json | 2 +- packages/hls-player/package.json | 4 ++-- packages/hls-stats/package.json | 2 +- packages/hms-video-store/package.json | 2 +- packages/hms-virtual-background/package.json | 6 +++--- packages/hms-whiteboard/package.json | 2 +- packages/react-icons/package.json | 2 +- packages/react-sdk/package.json | 4 ++-- packages/roomkit-react/package.json | 12 ++++++------ packages/roomkit-web/package.json | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/examples/prebuilt-react-integration/package.json b/examples/prebuilt-react-integration/package.json index 257288ca4b..afe09a3856 100644 --- a/examples/prebuilt-react-integration/package.json +++ b/examples/prebuilt-react-integration/package.json @@ -10,7 +10,7 @@ "preview": "vite preview" }, "dependencies": { - "@100mslive/roomkit-react": "0.3.22", + "@100mslive/roomkit-react": "0.3.23", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/packages/hls-player/package.json b/packages/hls-player/package.json index 5ab3206f5d..13751620ea 100644 --- a/packages/hls-player/package.json +++ b/packages/hls-player/package.json @@ -1,6 +1,6 @@ { "name": "@100mslive/hls-player", - "version": "0.3.22", + "version": "0.3.23", "description": "HLS client library which uses HTML5 Video element and Media Source Extension for playback", "main": "dist/index.cjs.js", "module": "dist/index.js", @@ -36,7 +36,7 @@ "author": "100ms", "license": "MIT", "dependencies": { - "@100mslive/hls-stats": "0.4.22", + "@100mslive/hls-stats": "0.4.23", "eventemitter2": "^6.4.9", "hls.js": "1.4.12" } diff --git a/packages/hls-stats/package.json b/packages/hls-stats/package.json index a7301ef574..467ff2f149 100644 --- a/packages/hls-stats/package.json +++ b/packages/hls-stats/package.json @@ -1,6 +1,6 @@ { "name": "@100mslive/hls-stats", - "version": "0.4.22", + "version": "0.4.23", "description": "A simple library that provides stats for your hls stream", "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/packages/hms-video-store/package.json b/packages/hms-video-store/package.json index 4b7ea5597c..dc3f4b7925 100644 --- a/packages/hms-video-store/package.json +++ b/packages/hms-video-store/package.json @@ -1,5 +1,5 @@ { - "version": "0.12.22", + "version": "0.12.23", "license": "MIT", "repository": { "type": "git", diff --git a/packages/hms-virtual-background/package.json b/packages/hms-virtual-background/package.json index dd6fc45fc1..3314631ad5 100755 --- a/packages/hms-virtual-background/package.json +++ b/packages/hms-virtual-background/package.json @@ -1,5 +1,5 @@ { - "version": "1.13.22", + "version": "1.13.23", "license": "MIT", "name": "@100mslive/hms-virtual-background", "author": "100ms", @@ -62,10 +62,10 @@ "format": "prettier --write src/**/*.ts" }, "peerDependencies": { - "@100mslive/hms-video-store": "0.12.22" + "@100mslive/hms-video-store": "0.12.23" }, "devDependencies": { - "@100mslive/hms-video-store": "0.12.22" + "@100mslive/hms-video-store": "0.12.23" }, "dependencies": { "@mediapipe/selfie_segmentation": "^0.1.1632777926", diff --git a/packages/hms-whiteboard/package.json b/packages/hms-whiteboard/package.json index 902bd5f662..3caf29709d 100644 --- a/packages/hms-whiteboard/package.json +++ b/packages/hms-whiteboard/package.json @@ -2,7 +2,7 @@ "name": "@100mslive/hms-whiteboard", "author": "100ms", "license": "MIT", - "version": "0.0.12", + "version": "0.0.13", "main": "dist/index.cjs.js", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/react-icons/package.json b/packages/react-icons/package.json index 264ccfe92f..c9868e9ff4 100644 --- a/packages/react-icons/package.json +++ b/packages/react-icons/package.json @@ -4,7 +4,7 @@ "main": "dist/index.cjs.js", "module": "dist/index.js", "typings": "dist/index.d.ts", - "version": "0.10.22", + "version": "0.10.23", "author": "100ms", "license": "MIT", "repository": { diff --git a/packages/react-sdk/package.json b/packages/react-sdk/package.json index f2e086dc82..996614b58e 100644 --- a/packages/react-sdk/package.json +++ b/packages/react-sdk/package.json @@ -4,7 +4,7 @@ "main": "dist/index.cjs.js", "module": "dist/index.js", "typings": "dist/index.d.ts", - "version": "0.10.22", + "version": "0.10.23", "author": "100ms", "license": "MIT", "repository": { @@ -48,7 +48,7 @@ "react": ">=16.8 <19.0.0" }, "dependencies": { - "@100mslive/hms-video-store": "0.12.22", + "@100mslive/hms-video-store": "0.12.23", "react-resize-detector": "^7.0.0", "zustand": "^3.6.2" } diff --git a/packages/roomkit-react/package.json b/packages/roomkit-react/package.json index 77928515a0..6224388f97 100644 --- a/packages/roomkit-react/package.json +++ b/packages/roomkit-react/package.json @@ -10,7 +10,7 @@ "prebuilt", "roomkit" ], - "version": "0.3.22", + "version": "0.3.23", "author": "100ms", "license": "MIT", "repository": { @@ -75,12 +75,12 @@ "react": ">=17.0.2 <19.0.0" }, "dependencies": { - "@100mslive/hls-player": "0.3.22", + "@100mslive/hls-player": "0.3.23", "@100mslive/hms-noise-cancellation": "0.0.1", - "@100mslive/hms-virtual-background": "1.13.22", - "@100mslive/hms-whiteboard": "0.0.12", - "@100mslive/react-icons": "0.10.22", - "@100mslive/react-sdk": "0.10.22", + "@100mslive/hms-virtual-background": "1.13.23", + "@100mslive/hms-whiteboard": "0.0.13", + "@100mslive/react-icons": "0.10.23", + "@100mslive/react-sdk": "0.10.23", "@100mslive/types-prebuilt": "0.12.12", "@emoji-mart/data": "^1.0.6", "@emoji-mart/react": "^1.0.1", diff --git a/packages/roomkit-web/package.json b/packages/roomkit-web/package.json index 70640532ce..b160993a49 100644 --- a/packages/roomkit-web/package.json +++ b/packages/roomkit-web/package.json @@ -1,6 +1,6 @@ { "name": "@100mslive/roomkit-web", - "version": "0.2.22", + "version": "0.2.23", "description": "A web component implementation of 100ms Prebuilt component", "keywords": [ "web-components", @@ -33,7 +33,7 @@ "build": "rm -rf dist && node ../../scripts/build-webapp" }, "dependencies": { - "@100mslive/roomkit-react": "0.3.22", + "@100mslive/roomkit-react": "0.3.23", "@r2wc/react-to-web-component": "2.0.2" } }