@whereby.com/browser-sdk 3.9.10 → 3.9.12
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-embed.js +3 -3
- package/dist/cdn/v3-react.js +1 -1
- package/dist/react/index.cjs +3 -3
- package/dist/react/index.esm.js +3 -3
- package/package.json +2 -2
package/dist/react/index.cjs
CHANGED
|
@@ -168,7 +168,7 @@ const selectRoomConnectionState = toolkit.createSelector(core.selectChatMessages
|
|
|
168
168
|
return state;
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
const browserSdkVersion = "3.9.
|
|
171
|
+
const browserSdkVersion = "3.9.12";
|
|
172
172
|
|
|
173
173
|
const defaultRoomConnectionOptions = {
|
|
174
174
|
localMediaOptions: {
|
|
@@ -2159,9 +2159,9 @@ const GridVideoView = React__namespace.forwardRef((_a, ref) => {
|
|
|
2159
2159
|
}, [clientAspectRatios, participant.id, onSetClientAspectRatio]);
|
|
2160
2160
|
const s = stream || participant.stream;
|
|
2161
2161
|
if (!s) {
|
|
2162
|
-
return null;
|
|
2162
|
+
return (React__namespace.createElement(VideoMutedIndicator, { isSmallCell: false, displayName: (participant === null || participant === void 0 ? void 0 : participant.displayName) || "Guest", withRoundedCorners: true }));
|
|
2163
2163
|
}
|
|
2164
|
-
return (React__namespace.createElement(VideoView, Object.assign({ ref: videoEl, style: Object.assign(Object.assign({ borderRadius: isConstrained ? 0 : "8px" }, (isConstrained ? { objectFit: "cover" } : {})), style) }, rest, { stream: s, onVideoResize: handleResize })));
|
|
2164
|
+
return (React__namespace.createElement(VideoView, Object.assign({ ref: videoEl, style: Object.assign(Object.assign({ borderRadius: isConstrained ? 0 : "8px" }, (isConstrained ? { objectFit: "cover" } : {})), style), muted: participant.isLocalClient }, rest, { stream: s, onVideoResize: handleResize })));
|
|
2165
2165
|
});
|
|
2166
2166
|
GridVideoView.displayName = "GridVideoView";
|
|
2167
2167
|
function renderCellView({ cellView, enableParticipantMenu, render }) {
|
package/dist/react/index.esm.js
CHANGED
|
@@ -146,7 +146,7 @@ const selectRoomConnectionState = createSelector(selectChatMessages, selectCloud
|
|
|
146
146
|
return state;
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
const browserSdkVersion = "3.9.
|
|
149
|
+
const browserSdkVersion = "3.9.12";
|
|
150
150
|
|
|
151
151
|
const defaultRoomConnectionOptions = {
|
|
152
152
|
localMediaOptions: {
|
|
@@ -2137,9 +2137,9 @@ const GridVideoView = React.forwardRef((_a, ref) => {
|
|
|
2137
2137
|
}, [clientAspectRatios, participant.id, onSetClientAspectRatio]);
|
|
2138
2138
|
const s = stream || participant.stream;
|
|
2139
2139
|
if (!s) {
|
|
2140
|
-
return null;
|
|
2140
|
+
return (React.createElement(VideoMutedIndicator, { isSmallCell: false, displayName: (participant === null || participant === void 0 ? void 0 : participant.displayName) || "Guest", withRoundedCorners: true }));
|
|
2141
2141
|
}
|
|
2142
|
-
return (React.createElement(VideoView, Object.assign({ ref: videoEl, style: Object.assign(Object.assign({ borderRadius: isConstrained ? 0 : "8px" }, (isConstrained ? { objectFit: "cover" } : {})), style) }, rest, { stream: s, onVideoResize: handleResize })));
|
|
2142
|
+
return (React.createElement(VideoView, Object.assign({ ref: videoEl, style: Object.assign(Object.assign({ borderRadius: isConstrained ? 0 : "8px" }, (isConstrained ? { objectFit: "cover" } : {})), style), muted: participant.isLocalClient }, rest, { stream: s, onVideoResize: handleResize })));
|
|
2143
2143
|
});
|
|
2144
2144
|
GridVideoView.displayName = "GridVideoView";
|
|
2145
2145
|
function renderCellView({ cellView, enableParticipantMenu, render }) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whereby.com/browser-sdk",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.12",
|
|
4
4
|
"description": "Modules for integration Whereby video in web apps",
|
|
5
5
|
"author": "Whereby AS",
|
|
6
6
|
"license": "MIT",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"dependencies": {
|
|
81
81
|
"@radix-ui/react-popover": "^1.0.7",
|
|
82
82
|
"@reduxjs/toolkit": "^2.2.3",
|
|
83
|
-
"@whereby.com/core": "0.
|
|
83
|
+
"@whereby.com/core": "0.29.1",
|
|
84
84
|
"clsx": "^2.1.1",
|
|
85
85
|
"heresy": "^1.0.4",
|
|
86
86
|
"react-redux": "^9.1.1",
|