@naviedu/room-platform-react 0.0.63 → 0.0.64
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/index.esm.js +2 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -19359,6 +19359,7 @@ function IconTooltipButton$1(_0) {
|
|
|
19359
19359
|
}
|
|
19360
19360
|
function RoomPlatformControlBar(param) {
|
|
19361
19361
|
var cameraBackground = param.cameraBackground, _param_isFullscreen = param.isFullscreen, isFullscreen = _param_isFullscreen === void 0 ? false : _param_isFullscreen, _param_isTheaterMode = param.isTheaterMode, isTheaterMode = _param_isTheaterMode === void 0 ? false : _param_isTheaterMode, onExit = param.onExit, onToggleFullscreen = param.onToggleFullscreen, onToggleTheaterMode = param.onToggleTheaterMode;
|
|
19362
|
+
var _ref;
|
|
19362
19363
|
var _useRoomPlatform = useRoomPlatform(), access = _useRoomPlatform.access, controlState = _useRoomPlatform.controlState, hasCapability = _useRoomPlatform.hasCapability, isLocalMediaPending = _useRoomPlatform.isLocalMediaPending, localMedia = _useRoomPlatform.localMedia, performAction = _useRoomPlatform.performAction, room = _useRoomPlatform.room, setLocalMediaEnabled = _useRoomPlatform.setLocalMediaEnabled;
|
|
19363
19364
|
var _useState = _sliced_to_array$g(useState(false), 2), settingsOpen = _useState[0], setSettingsOpen = _useState[1];
|
|
19364
19365
|
var _useState1 = _sliced_to_array$g(useState(false), 2), isRequestSpeakPending = _useState1[0], setIsRequestSpeakPending = _useState1[1];
|
|
@@ -19534,7 +19535,7 @@ function RoomPlatformControlBar(param) {
|
|
|
19534
19535
|
className: "size-4"
|
|
19535
19536
|
})
|
|
19536
19537
|
}),
|
|
19537
|
-
hasCapability('media:share_screen') ? /*#__PURE__*/ jsx(IconTooltipButton$1, {
|
|
19538
|
+
hasCapability('media:share_screen') && ((_ref = controlState === null || controlState === void 0 ? void 0 : controlState.mode) !== null && _ref !== void 0 ? _ref : 'live') === 'live' ? /*#__PURE__*/ jsx(IconTooltipButton$1, {
|
|
19538
19539
|
label: "Chia sẻ m\xe0n h\xecnh",
|
|
19539
19540
|
type: "button",
|
|
19540
19541
|
variant: "outline",
|