@100mslive/roomkit-react 0.3.19 → 0.3.20-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-LNJLFWK4.css → HLSView-5JM7XVA4.css} +3 -3
- package/dist/{HLSView-LNJLFWK4.css.map → HLSView-5JM7XVA4.css.map} +1 -1
- package/dist/{HLSView-GYB2QDIN.js → HLSView-VBMAXHBP.js} +2 -2
- package/dist/Prebuilt/components/peerTileUtils.d.ts +7 -0
- package/dist/{chunk-DIIFM6TW.js → chunk-JCM6FDIX.js} +135 -126
- package/dist/chunk-JCM6FDIX.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +349 -339
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +63 -43
- package/dist/meta.esbuild.json +74 -54
- package/package.json +7 -7
- package/src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx +1 -1
- package/src/Prebuilt/components/ScreenshareTile.tsx +2 -2
- package/src/Prebuilt/components/Settings/SettingsModal.jsx +1 -2
- package/src/Prebuilt/components/TileMenu/TileMenu.tsx +7 -6
- package/src/Prebuilt/components/TileMenu/TileMenuContent.tsx +3 -3
- package/src/Prebuilt/components/VideoLayouts/EqualProminence.tsx +4 -2
- package/src/Prebuilt/components/VideoTile.tsx +2 -2
- package/src/Prebuilt/components/{peerTileUtils.jsx → peerTileUtils.tsx} +21 -6
- package/dist/chunk-DIIFM6TW.js.map +0 -7
- /package/dist/{HLSView-GYB2QDIN.js.map → HLSView-VBMAXHBP.js.map} +0 -0
@@ -107,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
|
|
107
107
|
var define_process_env_default;
|
108
108
|
var init_define_process_env = __esm({
|
109
109
|
"<define:process.env>"() {
|
110
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_3239d931-854f-451e-b2a1-00f943ca805c", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.9", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.19", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_3239d931-854f-451e-b2a1-00f943ca805c", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.19", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "594", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240901.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.6/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:3006", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.19", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10775631112", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "b1bdfdb1965a14fd6b61e9bb8f9a9c48c556fd37", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "35d1ee9741adef39d80387e400edbf575b9a7703324c18f8da2bef3bc3d960a2", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1725893382741-0.6519746386750118:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1725893382550-0.5635610781867195:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1725893357442-0.015279308298105088:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1725893357267-0.1435051772390752:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_8c8def3e-ea24-4030-925c-559498fb7454", INVOCATION_ID: "62be4ee69caf4730b4b25bc5bc6354c7", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "668", GITHUB_TRIGGERING_ACTOR: "raviteja83", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 113", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.0.12077973", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.19", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.19", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "b1bdfdb1965a14fd6b61e9bb8f9a9c48c556fd37", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_3239d931-854f-451e-b2a1-00f943ca805c", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_3239d931-854f-451e-b2a1-00f943ca805c", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.0.12077973", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_3239d931-854f-451e-b2a1-00f943ca805c" };
|
110
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_208a3df6-7e0b-4573-8836-09b3eec6bee0", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.10-alpha.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.20-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_208a3df6-7e0b-4573-8836-09b3eec6bee0", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.20-alpha.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "597", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240908.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.7/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:16089", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.20-alpha.0", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10826597823", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "9292ef206d23ad3743254e046fce98240fa3a134", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "c22e362d4a124a26295b0874be722fa21bab0084774b9eb8f80d1f704097281b", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1726127935058-0.22146944684020453:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726127934862-0.9808093359390244:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726127909308-0.7527905752517778:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726127909129-0.6871808028331288:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_227df9f5-3da9-43eb-8ad2-df1b6b3aaaf9", INVOCATION_ID: "1c6566e8da8c474d85e2b8c4afdcf924", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "669", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 222", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.20-alpha.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.20-alpha.0", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "9292ef206d23ad3743254e046fce98240fa3a134", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_208a3df6-7e0b-4573-8836-09b3eec6bee0", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_208a3df6-7e0b-4573-8836-09b3eec6bee0", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.1.12297006", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_208a3df6-7e0b-4573-8836-09b3eec6bee0" };
|
111
111
|
}
|
112
112
|
});
|
113
113
|
|
@@ -12927,7 +12927,7 @@ import {
|
|
12927
12927
|
HMSRoomProvider,
|
12928
12928
|
selectIsConnectedToRoom as selectIsConnectedToRoom13,
|
12929
12929
|
useHMSActions as useHMSActions59,
|
12930
|
-
useHMSStore as
|
12930
|
+
useHMSStore as useHMSStore97
|
12931
12931
|
} from "@100mslive/react-sdk";
|
12932
12932
|
|
12933
12933
|
// src/Prebuilt/components/AppData/AppData.tsx
|
@@ -14645,7 +14645,7 @@ import {
|
|
14645
14645
|
selectRoomState as selectRoomState8,
|
14646
14646
|
useAwayNotifications as useAwayNotifications3,
|
14647
14647
|
useHMSActions as useHMSActions50,
|
14648
|
-
useHMSStore as
|
14648
|
+
useHMSStore as useHMSStore87
|
14649
14649
|
} from "@100mslive/react-sdk";
|
14650
14650
|
|
14651
14651
|
// src/Prebuilt/components/Footer/Footer.tsx
|
@@ -15436,7 +15436,6 @@ var MobileSettingModal = ({
|
|
15436
15436
|
{
|
15437
15437
|
direction: "column",
|
15438
15438
|
css: {
|
15439
|
-
px: "$8",
|
15440
15439
|
pb: "$8",
|
15441
15440
|
overflowY: "auto"
|
15442
15441
|
}
|
@@ -15454,7 +15453,7 @@ var MobileSettingModal = ({
|
|
15454
15453
|
css: {
|
15455
15454
|
all: "unset",
|
15456
15455
|
fontFamily: "$sans",
|
15457
|
-
|
15456
|
+
p: "$10 $8",
|
15458
15457
|
display: "flex",
|
15459
15458
|
alignItems: "center",
|
15460
15459
|
fontSize: "$sm",
|
@@ -21421,7 +21420,7 @@ var c = (a2, e, t) => new Promise((i, r) => {
|
|
21421
21420
|
n((t = t.apply(a2, e)).next());
|
21422
21421
|
});
|
21423
21422
|
var yr = ro((Dc, ho) => {
|
21424
|
-
ho.exports = { version: "0.12.
|
21423
|
+
ho.exports = { version: "0.12.20-alpha.0", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
|
21425
21424
|
});
|
21426
21425
|
var Tr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Tr || {});
|
21427
21426
|
var so = ((e) => (e.CHAT = "chat", e))(so || {});
|
@@ -27963,6 +27962,38 @@ import {
|
|
27963
27962
|
} from "@100mslive/react-sdk";
|
27964
27963
|
import { CrossIcon as CrossIcon24, VerticalMenuIcon as VerticalMenuIcon8 } from "@100mslive/react-icons";
|
27965
27964
|
|
27965
|
+
// src/Prebuilt/components/peerTileUtils.tsx
|
27966
|
+
init_define_process_env();
|
27967
|
+
var PEER_NAME_PLACEHOLDER = "peerName";
|
27968
|
+
var labelMap = /* @__PURE__ */ new Map([
|
27969
|
+
[[true, "screen"].toString(), "Your Screen"],
|
27970
|
+
[[true, "regular"].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
|
27971
|
+
[[false, "screen"].toString(), `${PEER_NAME_PLACEHOLDER}'s Screen`],
|
27972
|
+
[[false, "regular"].toString(), PEER_NAME_PLACEHOLDER],
|
27973
|
+
[[true, void 0].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
|
27974
|
+
[[false, void 0].toString(), `${PEER_NAME_PLACEHOLDER}`]
|
27975
|
+
]);
|
27976
|
+
var getVideoTileLabel = ({
|
27977
|
+
peerName,
|
27978
|
+
isLocal,
|
27979
|
+
videoTrack,
|
27980
|
+
audioTrack
|
27981
|
+
}) => {
|
27982
|
+
const isPeerPresent = peerName !== void 0;
|
27983
|
+
if (!isPeerPresent || !videoTrack) {
|
27984
|
+
const label2 = labelMap.get([isLocal, void 0].toString());
|
27985
|
+
return isPeerPresent && label2 ? label2.replace(PEER_NAME_PLACEHOLDER, peerName) : "";
|
27986
|
+
}
|
27987
|
+
const isLocallyMuted = (audioTrack == null ? void 0 : audioTrack.volume) === 0;
|
27988
|
+
let label = labelMap.get([isLocal, videoTrack.source].toString());
|
27989
|
+
if (label) {
|
27990
|
+
label = label.replace(PEER_NAME_PLACEHOLDER, peerName);
|
27991
|
+
} else {
|
27992
|
+
label = `${peerName} ${videoTrack.source}`;
|
27993
|
+
}
|
27994
|
+
return `${label}${isLocallyMuted ? " (Muted for you)" : ""}`;
|
27995
|
+
};
|
27996
|
+
|
27966
27997
|
// src/Prebuilt/components/TileMenu/TileMenuContent.tsx
|
27967
27998
|
init_define_process_env();
|
27968
27999
|
import React126, { Fragment as Fragment11 } from "react";
|
@@ -28201,7 +28232,7 @@ var TileMenuContent = ({
|
|
28201
28232
|
},
|
28202
28233
|
isAudioEnabled ? /* @__PURE__ */ React126.createElement(MicOnIcon4, { height: 20, width: 20 }) : /* @__PURE__ */ React126.createElement(MicOffIcon5, { height: 20, width: 20 }),
|
28203
28234
|
/* @__PURE__ */ React126.createElement("span", null, isAudioEnabled ? "Mute Audio" : "Request to Unmute Audio")
|
28204
|
-
) : null, canChangeRole && roles.length > 1 ? /* @__PURE__ */ React126.createElement(
|
28235
|
+
) : null, !isScreenshare && canChangeRole && roles.length > 1 ? /* @__PURE__ */ React126.createElement(
|
28205
28236
|
StyledMenuTile.ItemButton,
|
28206
28237
|
{
|
28207
28238
|
className: dragClassName,
|
@@ -28214,7 +28245,7 @@ var TileMenuContent = ({
|
|
28214
28245
|
},
|
28215
28246
|
/* @__PURE__ */ React126.createElement(PersonSettingsIcon2, { height: 20, width: 20 }),
|
28216
28247
|
/* @__PURE__ */ React126.createElement("span", null, "Switch Role")
|
28217
|
-
) : null, audioTrackID ? /* @__PURE__ */ React126.createElement(StyledMenuTile.VolumeItem, { "data-testid": "participant_volume_slider", css: __spreadProps(__spreadValues({}, spacingCSS), { mb: "$0" }) }, /* @__PURE__ */ React126.createElement(Flex, { align: "center", gap: 1 }, /* @__PURE__ */ React126.createElement(SpeakerIcon3, { height: 20, width: 20 }), /* @__PURE__ */ React126.createElement(Box, { as: "span", css: { ml: "$4" } }, "Volume (", volume, ")")), /* @__PURE__ */ React126.createElement(
|
28248
|
+
) : null, !isIOS && audioTrackID ? /* @__PURE__ */ React126.createElement(StyledMenuTile.VolumeItem, { "data-testid": "participant_volume_slider", css: __spreadProps(__spreadValues({}, spacingCSS), { mb: "$0" }) }, /* @__PURE__ */ React126.createElement(Flex, { align: "center", gap: 1 }, /* @__PURE__ */ React126.createElement(SpeakerIcon3, { height: 20, width: 20 }), /* @__PURE__ */ React126.createElement(Box, { as: "span", css: { ml: "$4" } }, "Volume (", volume, ")")), /* @__PURE__ */ React126.createElement(
|
28218
28249
|
Slider,
|
28219
28250
|
{
|
28220
28251
|
css: { my: "0.5rem" },
|
@@ -28271,6 +28302,7 @@ var TileMenu = ({
|
|
28271
28302
|
const isPrimaryVideoTrack = ((_a7 = useHMSStore67(selectVideoTrackByPeerID2(peerID))) == null ? void 0 : _a7.id) === videoTrackID;
|
28272
28303
|
const showPinAction = !!(audioTrackID || videoTrackID && isPrimaryVideoTrack);
|
28273
28304
|
const track = useHMSStore67(selectTrackByID3(videoTrackID));
|
28305
|
+
const audioTrack = useHMSStore67(selectTrackByID3(audioTrackID));
|
28274
28306
|
const hideSimulcastLayers = !((_b7 = track == null ? void 0 : track.layerDefinitions) == null ? void 0 : _b7.length) || track.degraded || !track.enabled;
|
28275
28307
|
const isMobile = useMedia23(config.media.md);
|
28276
28308
|
const peer = useHMSStore67(selectPeerByID2(peerID));
|
@@ -28278,7 +28310,7 @@ var TileMenu = ({
|
|
28278
28310
|
const [showRoleChangeModal, setShowRoleChangeModal] = useState54(false);
|
28279
28311
|
useDropdownList({ open, name: "TileMenu" });
|
28280
28312
|
const dragClassName = getDragClassName();
|
28281
|
-
if (!(removeOthers || toggleAudio || toggleVideo || setVolume || showPinAction) && hideSimulcastLayers) {
|
28313
|
+
if (!peer || !(removeOthers || toggleAudio || toggleVideo || setVolume || showPinAction) && hideSimulcastLayers) {
|
28282
28314
|
return null;
|
28283
28315
|
}
|
28284
28316
|
const openNameChangeModal = () => setShowNameChangeModal(true);
|
@@ -28289,7 +28321,6 @@ var TileMenu = ({
|
|
28289
28321
|
audioTrackID,
|
28290
28322
|
videoTrackID,
|
28291
28323
|
peerID,
|
28292
|
-
isPrimaryVideoTrack,
|
28293
28324
|
showSpotlight,
|
28294
28325
|
showPinAction,
|
28295
28326
|
canMinimise,
|
@@ -28319,38 +28350,12 @@ var TileMenu = ({
|
|
28319
28350
|
borderBottom: "1px solid $border_default"
|
28320
28351
|
}
|
28321
28352
|
},
|
28322
|
-
/* @__PURE__ */ React127.createElement(Box, null, /* @__PURE__ */ React127.createElement(Text, { css: { color: "$on_surface_high", fontWeight: "$semiBold" } }, peer == null ? void 0 : peer.name, isLocal
|
28353
|
+
/* @__PURE__ */ React127.createElement(Box, null, /* @__PURE__ */ React127.createElement(Text, { css: { color: "$on_surface_high", fontWeight: "$semiBold" } }, getVideoTileLabel({ peerName: peer == null ? void 0 : peer.name, isLocal, audioTrack, videoTrack: track })), (peer == null ? void 0 : peer.roleName) ? /* @__PURE__ */ React127.createElement(Text, { variant: "xs", css: { color: "$on_surface_low", mt: "$2" } }, peer.roleName) : null),
|
28323
28354
|
/* @__PURE__ */ React127.createElement(Sheet.Close, { css: { color: "inherit" } }, /* @__PURE__ */ React127.createElement(CrossIcon24, null))
|
28324
28355
|
), /* @__PURE__ */ React127.createElement(Box, { css: { px: "$8", pb: "$8", maxHeight: "80vh", overflowY: "auto" } }, /* @__PURE__ */ React127.createElement(TileMenuContent, __spreadProps(__spreadValues({}, props), { closeSheetOnClick: () => setOpen(false) }))))) : /* @__PURE__ */ React127.createElement(StyledMenuTile.Content, { side: "top", align: "end", css: { maxHeight: "$80", overflowY: "auto" } }, /* @__PURE__ */ React127.createElement(TileMenuContent, __spreadValues({}, props)))), showNameChangeModal && /* @__PURE__ */ React127.createElement(ChangeNameModal, { onOpenChange: setShowNameChangeModal }), showRoleChangeModal && /* @__PURE__ */ React127.createElement(RoleChangeModal, { peerId: peerID, onOpenChange: setShowRoleChangeModal }));
|
28325
28356
|
};
|
28326
28357
|
var TileMenu_default = TileMenu;
|
28327
28358
|
|
28328
|
-
// src/Prebuilt/components/peerTileUtils.jsx
|
28329
|
-
init_define_process_env();
|
28330
|
-
var PEER_NAME_PLACEHOLDER = "peerName";
|
28331
|
-
var labelMap = /* @__PURE__ */ new Map([
|
28332
|
-
[[true, "screen"].toString(), "Your Screen"],
|
28333
|
-
[[true, "regular"].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
|
28334
|
-
[[false, "screen"].toString(), `${PEER_NAME_PLACEHOLDER}'s Screen`],
|
28335
|
-
[[false, "regular"].toString(), PEER_NAME_PLACEHOLDER],
|
28336
|
-
[[true, void 0].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
|
28337
|
-
[[false, void 0].toString(), `${PEER_NAME_PLACEHOLDER}`]
|
28338
|
-
]);
|
28339
|
-
var getVideoTileLabel = ({ peerName, isLocal, track }) => {
|
28340
|
-
const isPeerPresent = peerName !== void 0;
|
28341
|
-
if (!isPeerPresent || !track) {
|
28342
|
-
return isPeerPresent ? labelMap.get([isLocal, void 0].toString()).replace(PEER_NAME_PLACEHOLDER, peerName) : "";
|
28343
|
-
}
|
28344
|
-
const isLocallyMuted = track.volume === 0;
|
28345
|
-
let label = labelMap.get([isLocal, track.source].toString());
|
28346
|
-
if (label) {
|
28347
|
-
label = label.replace(PEER_NAME_PLACEHOLDER, peerName);
|
28348
|
-
} else {
|
28349
|
-
label = `${peerName} ${track.source}`;
|
28350
|
-
}
|
28351
|
-
return `${label}${isLocallyMuted ? " (Muted for you)" : ""}`;
|
28352
|
-
};
|
28353
|
-
|
28354
28359
|
// src/Prebuilt/components/VideoTile.tsx
|
28355
28360
|
var PeerMetadata = ({ peerId, size }) => {
|
28356
28361
|
const metaData = useHMSStore68(selectPeerMetadata4(peerId));
|
@@ -28395,8 +28400,9 @@ var Tile = ({
|
|
28395
28400
|
});
|
28396
28401
|
const label = getVideoTileLabel({
|
28397
28402
|
peerName,
|
28398
|
-
|
28399
|
-
|
28403
|
+
isLocal,
|
28404
|
+
videoTrack: track,
|
28405
|
+
audioTrack
|
28400
28406
|
});
|
28401
28407
|
const onHoverHandler = useCallback32((event) => {
|
28402
28408
|
setIsMouseHovered(event.type === "mouseenter");
|
@@ -29321,7 +29327,7 @@ import {
|
|
29321
29327
|
selectIsLocalScreenShared as selectIsLocalScreenShared2,
|
29322
29328
|
selectLocalPeerRoleName as selectLocalPeerRoleName6,
|
29323
29329
|
useHMSActions as useHMSActions48,
|
29324
|
-
useHMSStore as
|
29330
|
+
useHMSStore as useHMSStore84
|
29325
29331
|
} from "@100mslive/react-sdk";
|
29326
29332
|
import { PeopleAddIcon as PeopleAddIcon3, ShareScreenIcon as ShareScreenIcon5 } from "@100mslive/react-icons";
|
29327
29333
|
|
@@ -29334,7 +29340,7 @@ import {
|
|
29334
29340
|
selectPeers as selectPeers3,
|
29335
29341
|
selectPeerScreenSharing as selectPeerScreenSharing2,
|
29336
29342
|
selectWhiteboard as selectWhiteboard2,
|
29337
|
-
useHMSStore as
|
29343
|
+
useHMSStore as useHMSStore80,
|
29338
29344
|
useHMSVanillaStore as useHMSVanillaStore13
|
29339
29345
|
} from "@100mslive/react-sdk";
|
29340
29346
|
|
@@ -29342,6 +29348,7 @@ import {
|
|
29342
29348
|
init_define_process_env();
|
29343
29349
|
import React144, { useEffect as useEffect48, useState as useState59 } from "react";
|
29344
29350
|
import { useMedia as useMedia31 } from "react-use";
|
29351
|
+
import { selectPeerCount as selectPeerCount6, useHMSStore as useHMSStore74 } from "@100mslive/react-sdk";
|
29345
29352
|
import { PeopleAddIcon as PeopleAddIcon2 } from "@100mslive/react-icons";
|
29346
29353
|
|
29347
29354
|
// src/Prebuilt/layouts/WaitingView.tsx
|
@@ -29717,6 +29724,7 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
|
|
29717
29724
|
const isMobile = useMedia31(config.media.md);
|
29718
29725
|
let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
|
29719
29726
|
maxTileCount = isMobile ? Math.min(maxTileCount, 6) : maxTileCount;
|
29727
|
+
const peerCount = useHMSStore74(selectPeerCount6);
|
29720
29728
|
const pageList = usePagesWithTiles({
|
29721
29729
|
peers,
|
29722
29730
|
maxTileCount
|
@@ -29746,8 +29754,8 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
|
|
29746
29754
|
), pageList.length === 0 ? /* @__PURE__ */ React144.createElement(
|
29747
29755
|
WaitingView,
|
29748
29756
|
{
|
29749
|
-
title: "You're the
|
29750
|
-
subtitle: "Sit back and relax till others join",
|
29757
|
+
title: peerCount <= 1 ? "You're the only one here" : "Glad to have you here",
|
29758
|
+
subtitle: peerCount <= 1 ? "Sit back and relax till others join" : "",
|
29751
29759
|
icon: /* @__PURE__ */ React144.createElement(PeopleAddIcon2, { width: "56px", height: "56px", style: { color: "white" } })
|
29752
29760
|
}
|
29753
29761
|
) : null, isInsetEnabled && /* @__PURE__ */ React144.createElement(InsetTile, null));
|
@@ -29757,13 +29765,13 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
|
|
29757
29765
|
init_define_process_env();
|
29758
29766
|
import React147, { useEffect as useEffect50, useState as useState61 } from "react";
|
29759
29767
|
import { useMedia as useMedia33 } from "react-use";
|
29760
|
-
import { selectLocalPeer as selectLocalPeer11, useHMSStore as
|
29768
|
+
import { selectLocalPeer as selectLocalPeer11, useHMSStore as useHMSStore76 } from "@100mslive/react-sdk";
|
29761
29769
|
|
29762
29770
|
// src/Prebuilt/components/SecondaryTiles.tsx
|
29763
29771
|
init_define_process_env();
|
29764
29772
|
import React146, { useEffect as useEffect49, useRef as useRef28, useState as useState60 } from "react";
|
29765
29773
|
import { useMedia as useMedia32 } from "react-use";
|
29766
|
-
import { selectAppData as selectAppData10, selectSessionStore as selectSessionStore12, selectTrackByID as selectTrackByID4, useHMSStore as
|
29774
|
+
import { selectAppData as selectAppData10, selectSessionStore as selectSessionStore12, selectTrackByID as selectTrackByID4, useHMSStore as useHMSStore75 } from "@100mslive/react-sdk";
|
29767
29775
|
|
29768
29776
|
// src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx
|
29769
29777
|
init_define_process_env();
|
@@ -29850,10 +29858,10 @@ var SecondaryTiles = ({ peers, onPageChange, onPageSize, edgeToEdge, hasSidebar
|
|
29850
29858
|
const isMobile = useMedia32(config.media.md);
|
29851
29859
|
const maxTileCount = isMobile ? 2 : 4;
|
29852
29860
|
const [page, setPage] = useState60(0);
|
29853
|
-
const pinnedTrackId =
|
29854
|
-
const spotlightPeerId =
|
29855
|
-
const activeScreensharePeerId =
|
29856
|
-
const pinnedPeer = (_a7 =
|
29861
|
+
const pinnedTrackId = useHMSStore75(selectAppData10(APP_DATA.pinnedTrackId));
|
29862
|
+
const spotlightPeerId = useHMSStore75(selectSessionStore12("spotlight" /* SPOTLIGHT */));
|
29863
|
+
const activeScreensharePeerId = useHMSStore75(selectAppData10(APP_DATA.activeScreensharePeerId));
|
29864
|
+
const pinnedPeer = (_a7 = useHMSStore75(selectTrackByID4(pinnedTrackId))) == null ? void 0 : _a7.peerId;
|
29857
29865
|
const pageChangedAfterPinning = useRef28(false);
|
29858
29866
|
const pagesWithTiles = usePagesWithTiles({
|
29859
29867
|
peers: spotlightPeerId || pinnedPeer ? [...peers].sort((p1, p2) => {
|
@@ -29953,7 +29961,7 @@ function RoleProminence({
|
|
29953
29961
|
}) {
|
29954
29962
|
var _a7;
|
29955
29963
|
const { prominentPeers, secondaryPeers } = useRoleProminencePeers(prominentRoles, peers, isInsetEnabled);
|
29956
|
-
const localPeer =
|
29964
|
+
const localPeer = useHMSStore76(selectLocalPeer11);
|
29957
29965
|
const isMobile = useMedia33(config.media.md);
|
29958
29966
|
let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
|
29959
29967
|
maxTileCount = isMobile ? 4 : maxTileCount;
|
@@ -29989,7 +29997,7 @@ function RoleProminence({
|
|
29989
29997
|
init_define_process_env();
|
29990
29998
|
import React151, { useEffect as useEffect51, useMemo as useMemo18, useState as useState64 } from "react";
|
29991
29999
|
import { useMedia as useMedia35 } from "react-use";
|
29992
|
-
import { selectPeersScreenSharing, useHMSStore as
|
30000
|
+
import { selectPeersScreenSharing, useHMSStore as useHMSStore78 } from "@100mslive/react-sdk";
|
29993
30001
|
|
29994
30002
|
// src/Prebuilt/components/ScreenshareTile.tsx
|
29995
30003
|
init_define_process_env();
|
@@ -30001,7 +30009,7 @@ import {
|
|
30001
30009
|
selectPeerByID as selectPeerByID4,
|
30002
30010
|
selectScreenShareAudioByPeerID,
|
30003
30011
|
selectScreenShareByPeerID as selectScreenShareByPeerID2,
|
30004
|
-
useHMSStore as
|
30012
|
+
useHMSStore as useHMSStore77
|
30005
30013
|
} from "@100mslive/react-sdk";
|
30006
30014
|
import { ExpandIcon as ExpandIcon3, ShrinkIcon as ShrinkIcon2 } from "@100mslive/react-icons";
|
30007
30015
|
|
@@ -30156,10 +30164,10 @@ var labelStyles = {
|
|
30156
30164
|
flexShrink: 0
|
30157
30165
|
};
|
30158
30166
|
var Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
|
30159
|
-
const isLocal =
|
30160
|
-
const track =
|
30167
|
+
const isLocal = useHMSStore77(selectLocalPeerID12) === peerId;
|
30168
|
+
const track = useHMSStore77(selectScreenShareByPeerID2(peerId));
|
30161
30169
|
const { theme: theme2 } = useTheme();
|
30162
|
-
const peer =
|
30170
|
+
const peer = useHMSStore77(selectPeerByID4(peerId));
|
30163
30171
|
const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);
|
30164
30172
|
const [isMouseHovered, setIsMouseHovered] = useState63(false);
|
30165
30173
|
const isMobile = useMedia34(config.media.md);
|
@@ -30170,7 +30178,7 @@ var Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
|
|
30170
30178
|
onClose: () => setFullscreen(false)
|
30171
30179
|
});
|
30172
30180
|
const isFullScreenSupported = screenfull2.isEnabled;
|
30173
|
-
const audioTrack =
|
30181
|
+
const audioTrack = useHMSStore77(selectScreenShareAudioByPeerID(peer == null ? void 0 : peer.id));
|
30174
30182
|
if (isLocal && (track == null ? void 0 : track.displaySurface) && !["browser", "window", "application"].includes(track.displaySurface)) {
|
30175
30183
|
return /* @__PURE__ */ React150.createElement(ScreenshareDisplay, null);
|
30176
30184
|
}
|
@@ -30180,7 +30188,8 @@ var Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
|
|
30180
30188
|
const label = getVideoTileLabel({
|
30181
30189
|
peerName: peer == null ? void 0 : peer.name,
|
30182
30190
|
isLocal: false,
|
30183
|
-
track
|
30191
|
+
videoTrack: track,
|
30192
|
+
audioTrack
|
30184
30193
|
});
|
30185
30194
|
return /* @__PURE__ */ React150.createElement(
|
30186
30195
|
StyledVideoTile.Root,
|
@@ -30249,7 +30258,7 @@ var ScreenshareTile_default = ScreenshareTile;
|
|
30249
30258
|
// src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
|
30250
30259
|
var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
|
30251
30260
|
var _a7;
|
30252
|
-
const peersSharing =
|
30261
|
+
const peersSharing = useHMSStore78(selectPeersScreenSharing);
|
30253
30262
|
const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
|
30254
30263
|
const [page, setPage] = useState64(0);
|
30255
30264
|
const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
|
@@ -30301,7 +30310,7 @@ init_define_process_env();
|
|
30301
30310
|
import React152, { useEffect as useEffect52, useMemo as useMemo19 } from "react";
|
30302
30311
|
import { useMedia as useMedia36 } from "react-use";
|
30303
30312
|
import { Whiteboard } from "@100mslive/hms-whiteboard";
|
30304
|
-
import { selectPeerByCondition, selectWhiteboard, useHMSStore as
|
30313
|
+
import { selectPeerByCondition, selectWhiteboard, useHMSStore as useHMSStore79, useWhiteboard as useWhiteboard2 } from "@100mslive/react-sdk";
|
30305
30314
|
var WhiteboardEmbed = () => {
|
30306
30315
|
const isMobile = useMedia36(config.media.md);
|
30307
30316
|
const { token, endpoint, zoomToContent } = useWhiteboard2(isMobile);
|
@@ -30325,8 +30334,8 @@ var WhiteboardEmbed = () => {
|
|
30325
30334
|
);
|
30326
30335
|
};
|
30327
30336
|
var WhiteboardLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
|
30328
|
-
const whiteboard =
|
30329
|
-
const whiteboardOwner =
|
30337
|
+
const whiteboard = useHMSStore79(selectWhiteboard);
|
30338
|
+
const whiteboardOwner = useHMSStore79(selectPeerByCondition((peer) => peer.customerUserId === (whiteboard == null ? void 0 : whiteboard.owner)));
|
30330
30339
|
const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
|
30331
30340
|
const isMobile = useMedia36(config.media.md);
|
30332
30341
|
const hasSidebar = !isMobile && layoutMode === LayoutMode.SIDEBAR;
|
@@ -30471,12 +30480,12 @@ var GridLayout = ({
|
|
30471
30480
|
edge_to_edge = false,
|
30472
30481
|
hide_metadata_on_tile = false
|
30473
30482
|
}) => {
|
30474
|
-
const peerSharing =
|
30475
|
-
const whiteboard =
|
30483
|
+
const peerSharing = useHMSStore80(selectPeerScreenSharing2);
|
30484
|
+
const whiteboard = useHMSStore80(selectWhiteboard2);
|
30476
30485
|
const pinnedTrack = usePinnedTrack();
|
30477
|
-
const peers =
|
30478
|
-
const localPeerRole =
|
30479
|
-
const localPeerID =
|
30486
|
+
const peers = useHMSStore80(selectPeers3);
|
30487
|
+
const localPeerRole = useHMSStore80(selectLocalPeerRoleName5);
|
30488
|
+
const localPeerID = useHMSStore80(selectLocalPeerID13);
|
30480
30489
|
const [activeScreensharePeerId] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
|
30481
30490
|
const isRoleProminence = prominentRoles.length && peers.some(
|
30482
30491
|
(peer) => peer.roleName && prominentRoles.includes(peer.roleName) && (peer.videoTrack || peer.audioTrack)
|
@@ -30575,13 +30584,13 @@ var GridLayout = ({
|
|
30575
30584
|
// src/Prebuilt/layouts/EmbedView.jsx
|
30576
30585
|
init_define_process_env();
|
30577
30586
|
import React154, { useEffect as useEffect54, useMemo as useMemo21 } from "react";
|
30578
|
-
import { selectAppData as selectAppData11, selectPeers as selectPeers4, selectPeerScreenSharing as selectPeerScreenSharing3, useEmbedShare, useHMSStore as
|
30587
|
+
import { selectAppData as selectAppData11, selectPeers as selectPeers4, selectPeerScreenSharing as selectPeerScreenSharing3, useEmbedShare, useHMSStore as useHMSStore81 } from "@100mslive/react-sdk";
|
30579
30588
|
var EmbedView = () => {
|
30580
30589
|
return /* @__PURE__ */ React154.createElement(EmbedScreenShareView, null, /* @__PURE__ */ React154.createElement(EmbedComponent, null));
|
30581
30590
|
};
|
30582
30591
|
var EmbedScreenShareView = ({ children }) => {
|
30583
|
-
const peers =
|
30584
|
-
const peerPresenting =
|
30592
|
+
const peers = useHMSStore81(selectPeers4);
|
30593
|
+
const peerPresenting = useHMSStore81(selectPeerScreenSharing3);
|
30585
30594
|
const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
|
30586
30595
|
const smallTilePeers = useMemo21(() => {
|
30587
30596
|
const smallTilePeers2 = peers.filter((peer) => peer.id !== (peerPresenting == null ? void 0 : peerPresenting.id));
|
@@ -30596,7 +30605,7 @@ var EmbedScreenShareView = ({ children }) => {
|
|
30596
30605
|
return /* @__PURE__ */ React154.createElement(ProminenceLayout.Root, null, /* @__PURE__ */ React154.createElement(ProminenceLayout.ProminentSection, null, children), /* @__PURE__ */ React154.createElement(SecondaryTiles, { peers: smallTilePeers }));
|
30597
30606
|
};
|
30598
30607
|
var EmbedComponent = () => {
|
30599
|
-
const embedConfig =
|
30608
|
+
const embedConfig = useHMSStore81(selectAppData11(APP_DATA.embedConfig));
|
30600
30609
|
const resetConfig = useResetEmbedConfig();
|
30601
30610
|
const { iframeRef, startEmbedShare, isEmbedShareInProgress } = useEmbedShare(resetConfig);
|
30602
30611
|
useEffect54(() => {
|
@@ -30712,7 +30721,7 @@ import { useMedia as useMedia37 } from "react-use";
|
|
30712
30721
|
import {
|
30713
30722
|
selectIsTranscriptionEnabled as selectIsTranscriptionEnabled5,
|
30714
30723
|
selectPeerNameByID as selectPeerNameByID6,
|
30715
|
-
useHMSStore as
|
30724
|
+
useHMSStore as useHMSStore82,
|
30716
30725
|
useTranscript
|
30717
30726
|
} from "@100mslive/react-sdk";
|
30718
30727
|
var SimpleQueue = class {
|
@@ -30848,7 +30857,7 @@ var CaptionMaintainerQueue = class {
|
|
30848
30857
|
}
|
30849
30858
|
};
|
30850
30859
|
var TranscriptView = ({ peer_id, data: data3 }) => {
|
30851
|
-
const peerName =
|
30860
|
+
const peerName = useHMSStore82(selectPeerNameByID6(peer_id)) || "Participant";
|
30852
30861
|
data3 = data3.trim();
|
30853
30862
|
if (!data3)
|
30854
30863
|
return null;
|
@@ -30876,7 +30885,7 @@ var CaptionsViewer = ({
|
|
30876
30885
|
const [captionQueue] = useState66(new CaptionMaintainerQueue());
|
30877
30886
|
const [currentData, setCurrentData] = useState66([]);
|
30878
30887
|
const isCaptionEnabled = useIsCaptionEnabled();
|
30879
|
-
const isTranscriptionEnabled =
|
30888
|
+
const isTranscriptionEnabled = useHMSStore82(selectIsTranscriptionEnabled5);
|
30880
30889
|
const nodeRef = useRef30(null);
|
30881
30890
|
useEffect56(() => {
|
30882
30891
|
const timeInterval = setInterval(() => {
|
@@ -30946,9 +30955,9 @@ var CaptionsViewer = ({
|
|
30946
30955
|
// src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx
|
30947
30956
|
init_define_process_env();
|
30948
30957
|
import { useEffect as useEffect57 } from "react";
|
30949
|
-
import { selectPeerScreenSharing as selectPeerScreenSharing4, useHMSStore as
|
30958
|
+
import { selectPeerScreenSharing as selectPeerScreenSharing4, useHMSStore as useHMSStore83, useWhiteboard as useWhiteboard3 } from "@100mslive/react-sdk";
|
30950
30959
|
var useCloseScreenshareWhiteboard = () => {
|
30951
|
-
const peerSharing =
|
30960
|
+
const peerSharing = useHMSStore83(selectPeerScreenSharing4);
|
30952
30961
|
const { isOwner: isWhiteboardOwner, toggle: toggleWhiteboard } = useWhiteboard3();
|
30953
30962
|
useEffect57(() => {
|
30954
30963
|
if (isWhiteboardOwner && peerSharing) {
|
@@ -30958,16 +30967,16 @@ var useCloseScreenshareWhiteboard = () => {
|
|
30958
30967
|
};
|
30959
30968
|
|
30960
30969
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
30961
|
-
var HLSView = React157.lazy(() => import("./HLSView-
|
30970
|
+
var HLSView = React157.lazy(() => import("./HLSView-VBMAXHBP.js"));
|
30962
30971
|
var VideoStreamingSection = ({
|
30963
30972
|
screenType,
|
30964
30973
|
elements,
|
30965
30974
|
hideControls = false
|
30966
30975
|
}) => {
|
30967
30976
|
var _a7;
|
30968
|
-
const localPeerRoleName =
|
30969
|
-
const isConnected =
|
30970
|
-
const isSharingScreen =
|
30977
|
+
const localPeerRoleName = useHMSStore84(selectLocalPeerRoleName6);
|
30978
|
+
const isConnected = useHMSStore84(selectIsConnectedToRoom9);
|
30979
|
+
const isSharingScreen = useHMSStore84(selectIsLocalScreenShared2);
|
30971
30980
|
const hmsActions = useHMSActions48();
|
30972
30981
|
const urlToIframe = useUrlToEmbed();
|
30973
30982
|
const pdfAnnotatorActive = usePDFConfig();
|
@@ -31077,7 +31086,7 @@ init_define_process_env();
|
|
31077
31086
|
init_define_process_env();
|
31078
31087
|
import React160 from "react";
|
31079
31088
|
import { useMedia as useMedia40 } from "react-use";
|
31080
|
-
import { HMSRoomState as HMSRoomState7, selectRoomState as selectRoomState7, useHMSStore as
|
31089
|
+
import { HMSRoomState as HMSRoomState7, selectRoomState as selectRoomState7, useHMSStore as useHMSStore86 } from "@100mslive/react-sdk";
|
31081
31090
|
|
31082
31091
|
// src/Prebuilt/components/Header/RoomDetailsHeader.tsx
|
31083
31092
|
init_define_process_env();
|
@@ -31113,7 +31122,7 @@ import {
|
|
31113
31122
|
selectVideoTrackByID as selectVideoTrackByID7,
|
31114
31123
|
useDevices as useDevices3,
|
31115
31124
|
useHMSActions as useHMSActions49,
|
31116
|
-
useHMSStore as
|
31125
|
+
useHMSStore as useHMSStore85
|
31117
31126
|
} from "@100mslive/react-sdk";
|
31118
31127
|
import {
|
31119
31128
|
BluetoothIcon,
|
@@ -31128,9 +31137,9 @@ var CamaraFlipActions = () => {
|
|
31128
31137
|
const actions = useHMSActions49();
|
31129
31138
|
const { allDevices } = useDevices3();
|
31130
31139
|
const { videoInput } = allDevices;
|
31131
|
-
const isVideoOn =
|
31132
|
-
const videoTrackId =
|
31133
|
-
const localVideoTrack =
|
31140
|
+
const isVideoOn = useHMSStore85(selectIsLocalVideoEnabled8);
|
31141
|
+
const videoTrackId = useHMSStore85(selectLocalVideoTrackID3);
|
31142
|
+
const localVideoTrack = useHMSStore85(selectVideoTrackByID7(videoTrackId));
|
31134
31143
|
if (!videoInput || !(videoInput == null ? void 0 : videoInput.length) || !(localVideoTrack == null ? void 0 : localVideoTrack.facingMode)) {
|
31135
31144
|
return null;
|
31136
31145
|
}
|
@@ -31268,7 +31277,7 @@ var SelectWithLabel = ({ label, icon = /* @__PURE__ */ React159.createElement(Re
|
|
31268
31277
|
|
31269
31278
|
// src/Prebuilt/components/Header/Header.tsx
|
31270
31279
|
var Header2 = () => {
|
31271
|
-
const roomState =
|
31280
|
+
const roomState = useHMSStore86(selectRoomState7);
|
31272
31281
|
const isMobile = useMedia40(config.media.md);
|
31273
31282
|
if (roomState !== HMSRoomState7.Connected) {
|
31274
31283
|
return /* @__PURE__ */ React160.createElement(React160.Fragment, null);
|
@@ -31314,11 +31323,11 @@ var ConferenceScreen = () => {
|
|
31314
31323
|
const { userName, endpoints, onJoin: onJoinFunc } = useHMSPrebuiltContext();
|
31315
31324
|
const screenProps = useRoomLayoutConferencingScreen();
|
31316
31325
|
const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
|
31317
|
-
const roomState =
|
31318
|
-
const isConnectedToRoom =
|
31326
|
+
const roomState = useHMSStore87(selectRoomState8);
|
31327
|
+
const isConnectedToRoom = useHMSStore87(selectIsConnectedToRoom10);
|
31319
31328
|
const hmsActions = useHMSActions50();
|
31320
31329
|
const [hideControls, setHideControls] = useState68(false);
|
31321
|
-
const dropdownList =
|
31330
|
+
const dropdownList = useHMSStore87(selectAppData12(APP_DATA.dropdownList));
|
31322
31331
|
const authTokenInAppData = useAuthToken();
|
31323
31332
|
const headerRef = useRef31(null);
|
31324
31333
|
const footerRef = useRef31(null);
|
@@ -31562,7 +31571,7 @@ import React163, { useEffect as useEffect62 } from "react";
|
|
31562
31571
|
// src/Prebuilt/services/FeatureFlags.jsx
|
31563
31572
|
init_define_process_env();
|
31564
31573
|
import { useEffect as useEffect61 } from "react";
|
31565
|
-
import { selectRoomID, useHMSStore as
|
31574
|
+
import { selectRoomID, useHMSStore as useHMSStore88 } from "@100mslive/react-sdk";
|
31566
31575
|
var FeatureFlags = class {
|
31567
31576
|
static init(roomId) {
|
31568
31577
|
if (!window.HMS) {
|
@@ -31587,7 +31596,7 @@ __publicField(FeatureFlags, "enableTranscription", define_process_env_default.RE
|
|
31587
31596
|
__publicField(FeatureFlags, "enableStatsForNerds", define_process_env_default.REACT_APP_ENABLE_STATS_FOR_NERDS === "true");
|
31588
31597
|
__publicField(FeatureFlags, "enableWhiteboard", define_process_env_default.REACT_APP_ENABLE_WHITEBOARD && define_process_env_default.REACT_APP_PUSHER_APP_KEY && define_process_env_default.REACT_APP_PUSHER_AUTHENDPOINT);
|
31589
31598
|
function FeatureFlagsInit() {
|
31590
|
-
const roomId =
|
31599
|
+
const roomId = useHMSStore88(selectRoomID);
|
31591
31600
|
useEffect61(() => {
|
31592
31601
|
if (roomId) {
|
31593
31602
|
FeatureFlags.init(roomId);
|
@@ -32302,7 +32311,7 @@ import {
|
|
32302
32311
|
useAwayNotifications as useAwayNotifications5,
|
32303
32312
|
useCustomEvent as useCustomEvent4,
|
32304
32313
|
useHMSNotifications as useHMSNotifications11,
|
32305
|
-
useHMSStore as
|
32314
|
+
useHMSStore as useHMSStore92,
|
32306
32315
|
useHMSVanillaStore as useHMSVanillaStore17
|
32307
32316
|
} from "@100mslive/react-sdk";
|
32308
32317
|
import { GroupIcon as GroupIcon2 } from "@100mslive/react-icons";
|
@@ -32342,12 +32351,12 @@ function AutoplayBlockedModal() {
|
|
32342
32351
|
init_define_process_env();
|
32343
32352
|
import React170, { useEffect as useEffect65 } from "react";
|
32344
32353
|
import { v4 as uuid4 } from "uuid";
|
32345
|
-
import { selectLocalPeerID as selectLocalPeerID14, selectSessionStore as selectSessionStore13, useHMSStore as
|
32354
|
+
import { selectLocalPeerID as selectLocalPeerID14, selectSessionStore as selectSessionStore13, useHMSStore as useHMSStore89 } from "@100mslive/react-sdk";
|
32346
32355
|
import { ChatIcon as ChatIcon2, ChatUnreadIcon } from "@100mslive/react-icons";
|
32347
32356
|
var NOTIFICATION_TIME_DIFFERENCE = 5e3;
|
32348
32357
|
var ChatNotifications = () => {
|
32349
|
-
const chatState =
|
32350
|
-
const localPeerId =
|
32358
|
+
const chatState = useHMSStore89(selectSessionStore13("chatState" /* CHAT_STATE */));
|
32359
|
+
const localPeerId = useHMSStore89(selectLocalPeerID14);
|
32351
32360
|
useEffect65(() => {
|
32352
32361
|
var _a7, _b7;
|
32353
32362
|
if (!chatState || ((_a7 = chatState.updatedBy) == null ? void 0 : _a7.peerId) === localPeerId) {
|
@@ -32381,7 +32390,7 @@ import {
|
|
32381
32390
|
selectRoomState as selectRoomState9,
|
32382
32391
|
useAwayNotifications as useAwayNotifications4,
|
32383
32392
|
useHMSNotifications as useHMSNotifications2,
|
32384
|
-
useHMSStore as
|
32393
|
+
useHMSStore as useHMSStore91,
|
32385
32394
|
useHMSVanillaStore as useHMSVanillaStore16
|
32386
32395
|
} from "@100mslive/react-sdk";
|
32387
32396
|
|
@@ -32391,7 +32400,7 @@ init_define_process_env();
|
|
32391
32400
|
// src/Prebuilt/components/Toast/ToastConfig.jsx
|
32392
32401
|
init_define_process_env();
|
32393
32402
|
import React171, { useCallback as useCallback35 } from "react";
|
32394
|
-
import { selectPeerByID as selectPeerByID5, useHMSActions as useHMSActions53, useHMSStore as
|
32403
|
+
import { selectPeerByID as selectPeerByID5, useHMSActions as useHMSActions53, useHMSStore as useHMSStore90 } from "@100mslive/react-sdk";
|
32395
32404
|
import {
|
32396
32405
|
ChatUnreadIcon as ChatUnreadIcon2,
|
32397
32406
|
ConnectivityIcon,
|
@@ -32413,7 +32422,7 @@ var HandRaiseAction = React171.forwardRef(({ id = "", isSingleHandRaise = true }
|
|
32413
32422
|
const hmsActions = useHMSActions53();
|
32414
32423
|
const toggleSidepane = useSidepaneToggle(SIDE_PANE_OPTIONS.PARTICIPANTS);
|
32415
32424
|
const isParticipantsOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.PARTICIPANTS);
|
32416
|
-
const peer =
|
32425
|
+
const peer = useHMSStore90(selectPeerByID5(id));
|
32417
32426
|
const layout = useRoomLayout();
|
32418
32427
|
const {
|
32419
32428
|
bring_to_stage_label,
|
@@ -32622,11 +32631,11 @@ ToastManager.addListener(ToastBatcher.syncUItoast.bind(ToastBatcher));
|
|
32622
32631
|
var HandRaisedNotifications = () => {
|
32623
32632
|
var _a7, _b7;
|
32624
32633
|
const notification = useHMSNotifications2(HMSNotificationTypes2.HAND_RAISE_CHANGED);
|
32625
|
-
const roomState =
|
32634
|
+
const roomState = useHMSStore91(selectRoomState9);
|
32626
32635
|
const vanillaStore = useHMSVanillaStore16();
|
32627
32636
|
const { on_stage_exp } = useRoomLayoutConferencingScreen().elements || {};
|
32628
32637
|
const isSubscribing = !!useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.METADATA_UPDATED);
|
32629
|
-
const amIScreenSharing =
|
32638
|
+
const amIScreenSharing = useHMSStore91(selectIsLocalScreenShared3);
|
32630
32639
|
const { showNotification } = useAwayNotifications4();
|
32631
32640
|
const logoURL = (_b7 = (_a7 = useRoomLayout()) == null ? void 0 : _a7.logo) == null ? void 0 : _b7.url;
|
32632
32641
|
useEffect66(() => {
|
@@ -32959,7 +32968,7 @@ var TrackUnmuteModal = () => {
|
|
32959
32968
|
{
|
32960
32969
|
title: `Unmute your ${track.type}?`,
|
32961
32970
|
onOpenChange: (value) => !value && setMuteNotification(null),
|
32962
|
-
body: `${peer == null ? void 0 : peer.name}is requesting you to unmute your ${track == null ? void 0 : track.type}.`,
|
32971
|
+
body: `${peer == null ? void 0 : peer.name} is requesting you to unmute your ${track == null ? void 0 : track.type}.`,
|
32963
32972
|
onAction: () => {
|
32964
32973
|
hmsActions.setEnabledTrack(track.id, enabled);
|
32965
32974
|
setMuteNotification(null);
|
@@ -33020,17 +33029,17 @@ var TranscriptionNotifications = () => {
|
|
33020
33029
|
var pollToastKey = {};
|
33021
33030
|
function Notifications() {
|
33022
33031
|
var _a7, _b7;
|
33023
|
-
const localPeerID =
|
33032
|
+
const localPeerID = useHMSStore92(selectLocalPeerID15);
|
33024
33033
|
const notification = useHMSNotifications11();
|
33025
33034
|
const subscribedNotifications = useSubscribedNotifications() || {};
|
33026
|
-
const roomState =
|
33035
|
+
const roomState = useHMSStore92(selectRoomState10);
|
33027
33036
|
const updateRoomLayoutForRole = useUpdateRoomLayout();
|
33028
33037
|
const isNotificationDisabled = useIsNotificationDisabled();
|
33029
33038
|
const screenProps = useRoomLayoutConferencingScreen();
|
33030
33039
|
const vanillaStore = useHMSVanillaStore17();
|
33031
33040
|
const togglePollView = usePollViewToggle();
|
33032
33041
|
const { showNotification } = useAwayNotifications5();
|
33033
|
-
const amIScreenSharing =
|
33042
|
+
const amIScreenSharing = useHMSStore92(selectIsLocalScreenShared4);
|
33034
33043
|
const logoURL = (_b7 = (_a7 = useRoomLayout()) == null ? void 0 : _a7.logo) == null ? void 0 : _b7.url;
|
33035
33044
|
const { pipWindow } = usePIPWindow();
|
33036
33045
|
const handleRoleChangeDenied = useCallback36((request) => {
|
@@ -33227,7 +33236,7 @@ var PreviewScreen = () => {
|
|
33227
33236
|
// src/Prebuilt/components/Toast/ToastContainer.jsx
|
33228
33237
|
init_define_process_env();
|
33229
33238
|
import React181, { useEffect as useEffect76, useState as useState77 } from "react";
|
33230
|
-
import { selectIsConnectedToRoom as selectIsConnectedToRoom11, useHMSStore as
|
33239
|
+
import { selectIsConnectedToRoom as selectIsConnectedToRoom11, useHMSStore as useHMSStore93 } from "@100mslive/react-sdk";
|
33231
33240
|
|
33232
33241
|
// src/Prebuilt/components/Toast/Toast.jsx
|
33233
33242
|
init_define_process_env();
|
@@ -33250,7 +33259,7 @@ var Toast2 = (_a7) => {
|
|
33250
33259
|
|
33251
33260
|
// src/Prebuilt/components/Toast/ToastContainer.jsx
|
33252
33261
|
var ToastContainer = () => {
|
33253
|
-
const isConnected =
|
33262
|
+
const isConnected = useHMSStore93(selectIsConnectedToRoom11);
|
33254
33263
|
const [toasts, setToast] = useState77([]);
|
33255
33264
|
useEffect76(() => {
|
33256
33265
|
ToastManager.addListener(setToast);
|
@@ -33273,7 +33282,7 @@ var ToastContainer = () => {
|
|
33273
33282
|
// src/Prebuilt/layouts/Sheet.tsx
|
33274
33283
|
init_define_process_env();
|
33275
33284
|
import React183 from "react";
|
33276
|
-
import { selectAppData as selectAppData14, useHMSStore as
|
33285
|
+
import { selectAppData as selectAppData14, useHMSStore as useHMSStore94 } from "@100mslive/react-sdk";
|
33277
33286
|
|
33278
33287
|
// src/Prebuilt/components/RoomDetails/RoomDetailsSheet.tsx
|
33279
33288
|
init_define_process_env();
|
@@ -33297,7 +33306,7 @@ var RoomDetailsSheet = () => {
|
|
33297
33306
|
|
33298
33307
|
// src/Prebuilt/layouts/Sheet.tsx
|
33299
33308
|
var Sheet2 = () => {
|
33300
|
-
const sheet =
|
33309
|
+
const sheet = useHMSStore94(selectAppData14(APP_DATA.sheet));
|
33301
33310
|
let ViewComponent;
|
33302
33311
|
if (sheet === SHEET_OPTIONS.ROOM_DETAILS) {
|
33303
33312
|
ViewComponent = /* @__PURE__ */ React183.createElement(RoomDetailsSheet, null);
|
@@ -33315,7 +33324,7 @@ import {
|
|
33315
33324
|
selectPeerNameByID as selectPeerNameByID8,
|
33316
33325
|
useCustomEvent as useCustomEvent5,
|
33317
33326
|
useHMSActions as useHMSActions56,
|
33318
|
-
useHMSStore as
|
33327
|
+
useHMSStore as useHMSStore95,
|
33319
33328
|
useHMSVanillaStore as useHMSVanillaStore18
|
33320
33329
|
} from "@100mslive/react-sdk";
|
33321
33330
|
var emojiCount = 1;
|
@@ -33342,12 +33351,12 @@ var getStartingPoints = (isMobile) => {
|
|
33342
33351
|
return arr;
|
33343
33352
|
};
|
33344
33353
|
function FlyingEmoji() {
|
33345
|
-
const localPeerId =
|
33354
|
+
const localPeerId = useHMSStore95(selectLocalPeerID16);
|
33346
33355
|
const vanillaStore = useHMSVanillaStore18();
|
33347
33356
|
const hmsActions = useHMSActions56();
|
33348
33357
|
const [emojis, setEmojis] = useState78([]);
|
33349
33358
|
const isMobile = useMedia46(config.media.md);
|
33350
|
-
const isLargeRoom =
|
33359
|
+
const isLargeRoom = useHMSStore95(selectIsLargeRoom4);
|
33351
33360
|
const startingPoints = useMemo23(() => getStartingPoints(isMobile), [isMobile]);
|
33352
33361
|
const showFlyingEmoji = useCallback38(
|
33353
33362
|
(_0) => __async(this, [_0], function* ({ emojiId, senderId }) {
|
@@ -33465,15 +33474,15 @@ import {
|
|
33465
33474
|
selectIsConnectedToRoom as selectIsConnectedToRoom12,
|
33466
33475
|
selectPermissions as selectPermissions20,
|
33467
33476
|
useHMSActions as useHMSActions58,
|
33468
|
-
useHMSStore as
|
33477
|
+
useHMSStore as useHMSStore96,
|
33469
33478
|
useRecordingStreaming as useRecordingStreaming12
|
33470
33479
|
} from "@100mslive/react-sdk";
|
33471
33480
|
var useAutoStartStreaming = () => {
|
33472
33481
|
const [isHLSStarted, setHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
|
33473
|
-
const permissions =
|
33482
|
+
const permissions = useHMSStore96(selectPermissions20);
|
33474
33483
|
const showStreamingUI = useShowStreamingUI();
|
33475
33484
|
const hmsActions = useHMSActions58();
|
33476
|
-
const isConnected =
|
33485
|
+
const isConnected = useHMSStore96(selectIsConnectedToRoom12);
|
33477
33486
|
const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = useRecordingStreaming12();
|
33478
33487
|
const streamStartedRef = useRef33(false);
|
33479
33488
|
const startHLS = useCallback40(() => __async(void 0, null, function* () {
|
@@ -33665,7 +33674,7 @@ var AppStates = ({ activeState }) => {
|
|
33665
33674
|
return match16({ activeState, isPreviewScreenEnabled, isLeaveScreenEnabled }).with({ activeState: "preview" /* PREVIEW */, isPreviewScreenEnabled: true }, () => /* @__PURE__ */ React186.createElement(PreviewScreen, null)).with({ activeState: "leave" /* LEAVE */, isLeaveScreenEnabled: true }, () => /* @__PURE__ */ React186.createElement(LeaveScreen, null)).otherwise(() => /* @__PURE__ */ React186.createElement(ConferenceScreen, null));
|
33666
33675
|
};
|
33667
33676
|
var BackSwipe = () => {
|
33668
|
-
const isConnectedToRoom =
|
33677
|
+
const isConnectedToRoom = useHMSStore97(selectIsConnectedToRoom13);
|
33669
33678
|
const hmsActions = useHMSActions59();
|
33670
33679
|
useEffect79(() => {
|
33671
33680
|
const onRouteLeave = () => __async(void 0, null, function* () {
|
@@ -33738,7 +33747,7 @@ import {
|
|
33738
33747
|
selectLocalMediaSettings,
|
33739
33748
|
selectTrackAudioByID as selectTrackAudioByID2,
|
33740
33749
|
useHMSActions as useHMSActions60,
|
33741
|
-
useHMSStore as
|
33750
|
+
useHMSStore as useHMSStore98
|
33742
33751
|
} from "@100mslive/react-sdk";
|
33743
33752
|
import { MicOnIcon as MicOnIcon7, SpeakerIcon as SpeakerIcon5, StopIcon as StopIcon3 } from "@100mslive/react-icons";
|
33744
33753
|
|
@@ -33893,12 +33902,12 @@ var SelectContainer = ({ children }) => /* @__PURE__ */ React190.createElement(B
|
|
33893
33902
|
var MicTest = ({ setError }) => {
|
33894
33903
|
var _a7, _b7;
|
33895
33904
|
const { hmsDiagnostics } = useDiagnostics();
|
33896
|
-
const devices =
|
33905
|
+
const devices = useHMSStore98(selectDevices);
|
33897
33906
|
const [isRecording, setIsRecording] = useState80(false);
|
33898
33907
|
const [selectedMic, setSelectedMic] = useState80(((_a7 = devices.audioInput[0]) == null ? void 0 : _a7.deviceId) || "default");
|
33899
|
-
const trackID =
|
33900
|
-
const audioLevel =
|
33901
|
-
const { audioOutputDeviceId } =
|
33908
|
+
const trackID = useHMSStore98(selectLocalAudioTrackID2);
|
33909
|
+
const audioLevel = useHMSStore98(selectTrackAudioByID2(trackID));
|
33910
|
+
const { audioOutputDeviceId } = useHMSStore98(selectLocalMediaSettings);
|
33902
33911
|
const { playing, setPlaying, audioRef } = useAudioOutputTest({
|
33903
33912
|
deviceId: audioOutputDeviceId || ((_b7 = devices.audioOutput[0]) == null ? void 0 : _b7.deviceId)
|
33904
33913
|
});
|
@@ -33974,8 +33983,8 @@ var MicTest = ({ setError }) => {
|
|
33974
33983
|
var SpeakerTest = () => {
|
33975
33984
|
var _a7;
|
33976
33985
|
const actions = useHMSActions60();
|
33977
|
-
const devices =
|
33978
|
-
const { audioOutputDeviceId } =
|
33986
|
+
const devices = useHMSStore98(selectDevices);
|
33987
|
+
const { audioOutputDeviceId } = useHMSStore98(selectLocalMediaSettings);
|
33979
33988
|
if (devices.audioOutput.length === 0) {
|
33980
33989
|
return /* @__PURE__ */ React190.createElement(React190.Fragment, null);
|
33981
33990
|
}
|
@@ -34365,15 +34374,15 @@ import {
|
|
34365
34374
|
selectDevices as selectDevices2,
|
34366
34375
|
selectLocalMediaSettings as selectLocalMediaSettings2,
|
34367
34376
|
selectLocalVideoTrackID as selectLocalVideoTrackID4,
|
34368
|
-
useHMSStore as
|
34377
|
+
useHMSStore as useHMSStore99
|
34369
34378
|
} from "@100mslive/react-sdk";
|
34370
34379
|
import { VideoOnIcon as VideoOnIcon5 } from "@100mslive/react-icons";
|
34371
34380
|
var VideoTest = () => {
|
34372
34381
|
const { hmsDiagnostics, updateStep } = useDiagnostics();
|
34373
|
-
const allDevices =
|
34382
|
+
const allDevices = useHMSStore99(selectDevices2);
|
34374
34383
|
const { videoInput } = allDevices;
|
34375
|
-
const trackID =
|
34376
|
-
const sdkSelectedDevices =
|
34384
|
+
const trackID = useHMSStore99(selectLocalVideoTrackID4);
|
34385
|
+
const sdkSelectedDevices = useHMSStore99(selectLocalMediaSettings2);
|
34377
34386
|
const [error, setError] = useState83();
|
34378
34387
|
useEffect82(() => {
|
34379
34388
|
hmsDiagnostics == null ? void 0 : hmsDiagnostics.startCameraCheck().catch((err) => {
|
@@ -34654,4 +34663,4 @@ object-assign/index.js:
|
|
34654
34663
|
@license MIT
|
34655
34664
|
*)
|
34656
34665
|
*/
|
34657
|
-
//# sourceMappingURL=chunk-
|
34666
|
+
//# sourceMappingURL=chunk-JCM6FDIX.js.map
|