@whereby.com/browser-sdk 3.19.0 → 3.19.2
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/dist/cdn/v3-react.js +2 -2
- package/dist/react/index.cjs +5 -2
- package/dist/react/index.esm.js +5 -2
- package/package.json +5 -5
package/dist/react/index.cjs
CHANGED
|
@@ -102,7 +102,10 @@ const useAudioElement = ({ stream, muted }) => {
|
|
|
102
102
|
audioEl.current.srcObject = stream;
|
|
103
103
|
}
|
|
104
104
|
if (audioEl.current.setSinkId) {
|
|
105
|
-
audioEl.current.setSinkId(currentSpeakerId)
|
|
105
|
+
audioEl.current.setSinkId(currentSpeakerId).catch((err) => {
|
|
106
|
+
console.warn(`Failed to set audio output device: ${err}`);
|
|
107
|
+
return;
|
|
108
|
+
});
|
|
106
109
|
}
|
|
107
110
|
}, [stream, audioEl, currentSpeakerId, muted]);
|
|
108
111
|
return audioEl;
|
|
@@ -169,7 +172,7 @@ const VideoView = React__namespace.forwardRef((_a, ref) => {
|
|
|
169
172
|
});
|
|
170
173
|
VideoView.displayName = "VideoView";
|
|
171
174
|
|
|
172
|
-
const browserSdkVersion = "3.19.
|
|
175
|
+
const browserSdkVersion = "3.19.2";
|
|
173
176
|
|
|
174
177
|
const initialState$1 = {
|
|
175
178
|
chatMessages: [],
|
package/dist/react/index.esm.js
CHANGED
|
@@ -80,7 +80,10 @@ const useAudioElement = ({ stream, muted }) => {
|
|
|
80
80
|
audioEl.current.srcObject = stream;
|
|
81
81
|
}
|
|
82
82
|
if (audioEl.current.setSinkId) {
|
|
83
|
-
audioEl.current.setSinkId(currentSpeakerId)
|
|
83
|
+
audioEl.current.setSinkId(currentSpeakerId).catch((err) => {
|
|
84
|
+
console.warn(`Failed to set audio output device: ${err}`);
|
|
85
|
+
return;
|
|
86
|
+
});
|
|
84
87
|
}
|
|
85
88
|
}, [stream, audioEl, currentSpeakerId, muted]);
|
|
86
89
|
return audioEl;
|
|
@@ -147,7 +150,7 @@ const VideoView = React.forwardRef((_a, ref) => {
|
|
|
147
150
|
});
|
|
148
151
|
VideoView.displayName = "VideoView";
|
|
149
152
|
|
|
150
|
-
const browserSdkVersion = "3.19.
|
|
153
|
+
const browserSdkVersion = "3.19.2";
|
|
151
154
|
|
|
152
155
|
const initialState$1 = {
|
|
153
156
|
chatMessages: [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whereby.com/browser-sdk",
|
|
3
|
-
"version": "3.19.
|
|
3
|
+
"version": "3.19.2",
|
|
4
4
|
"description": "Modules for integration Whereby video in web apps",
|
|
5
5
|
"author": "Whereby AS",
|
|
6
6
|
"license": "MIT",
|
|
@@ -65,17 +65,17 @@
|
|
|
65
65
|
"typescript": "^5.8.3",
|
|
66
66
|
"eslint-plugin-storybook": "9.0.16",
|
|
67
67
|
"@storybook/addon-docs": "^9.0.16",
|
|
68
|
-
"@whereby.com/camera-effects": "1.1.0",
|
|
69
68
|
"@whereby.com/eslint-config": "0.1.0",
|
|
70
69
|
"@whereby.com/jest-config": "0.1.0",
|
|
71
70
|
"@whereby.com/prettier-config": "0.1.0",
|
|
72
71
|
"@whereby.com/rollup-config": "0.1.1",
|
|
73
|
-
"@whereby.com/tsconfig": "0.1.0"
|
|
72
|
+
"@whereby.com/tsconfig": "0.1.0",
|
|
73
|
+
"@whereby.com/camera-effects": "1.1.0"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@radix-ui/react-popover": "^1.0.7",
|
|
77
|
-
"@whereby.com/media": "
|
|
78
|
-
"@whereby.com/core": "1.9.
|
|
77
|
+
"@whereby.com/media": "6.0.0",
|
|
78
|
+
"@whereby.com/core": "1.9.2",
|
|
79
79
|
"clsx": "^2.1.1",
|
|
80
80
|
"heresy": "^1.0.4",
|
|
81
81
|
"runes": "^0.4.3"
|