@100mslive/roomkit-react 0.3.8-alpha.2 → 0.3.8-alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-XZDT3RRC.js → HLSView-KESSHZG2.js} +2 -2
- package/dist/{chunk-SQPIZNW2.js → chunk-KRTJ2T7F.js} +277 -272
- package/dist/{chunk-SQPIZNW2.js.map → chunk-KRTJ2T7F.js.map} +4 -4
- package/dist/index.cjs.js +521 -513
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +93 -78
- package/dist/meta.esbuild.json +98 -83
- package/package.json +6 -6
- package/src/Prebuilt/components/AppData/AppData.tsx +2 -1
- package/src/Prebuilt/components/ConferenceScreen.tsx +2 -34
- package/src/Prebuilt/layouts/VideoStreamingSection.tsx +3 -1
- package/src/Prebuilt/plugins/CaptionsViewer.tsx +46 -11
- /package/dist/{HLSView-XZDT3RRC.js.map → HLSView-KESSHZG2.js.map} +0 -0
@@ -106,7 +106,7 @@ var __async = (__this, __arguments, generator) => {
|
|
106
106
|
var define_process_env_default;
|
107
107
|
var init_define_process_env = __esm({
|
108
108
|
"<define:process.env>"() {
|
109
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_18af0324-8864-474f-b9dc-4ef9d10cae3f", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", 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", 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.2 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", 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.8-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_18af0324-8864-474f-b9dc-4ef9d10cae3f", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.2/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.8-alpha.2", 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.8", 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.7", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", 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: "593", 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_devDependencies__rollup_plugin_image: "^3.0.2", 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.9/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240414.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.2/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:17297", 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__rollup_plugin_commonjs: "^21.0.3", 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.8-alpha.2", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "8733614318", 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: "43ee35cc85faabb5a827f7f41a5affebffcfca18", 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: "95df9f0c033bc7c59bd2fa8d3691f90bf1be75979b078bed08630f864f94cf44", 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--1713423059436-0.3850776627007606:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713423059245-0.29214208114594054:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713423037053-0.4791034998563062:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713423036876-0.027893925476550452:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/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.2/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_9dc605a9-58f7-40de-96a3-569be9ef0a3b", INVOCATION_ID: "e6e8fab8c8224f6aa21b42c148af9743", 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: "517", 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", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", 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_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 271", 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_devDependencies_rollup_plugin_import_css: "^3.3.1", 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/25.2.9519653", 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.8-alpha.2", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.8-alpha.2", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", 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", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "43ee35cc85faabb5a827f7f41a5affebffcfca18", 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_18af0324-8864-474f-b9dc-4ef9d10cae3f", 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_18af0324-8864-474f-b9dc-4ef9d10cae3f", 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/25.2.9519653", 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.172+1/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__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_18af0324-8864-474f-b9dc-4ef9d10cae3f" };
|
109
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_99ff87f3-70ec-4a4f-affe-f5887196edd9", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", 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", 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.2 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", 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.8-alpha.4", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_99ff87f3-70ec-4a4f-affe-f5887196edd9", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.2/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.8-alpha.4", 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.8", 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.7", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", 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_devDependencies__rollup_plugin_image: "^3.0.2", 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.9/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240414.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.2/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:17353", 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__rollup_plugin_commonjs: "^21.0.3", 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.8-alpha.4", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "8749330041", 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: "1ac0f11a034d8e0aed06479e20671c86bffd77f8", 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: "fca5e903c9a2399e3cdd373a0e29fd3a22d2c47d2154454f738eee43975db61a", 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--1713507861459-0.8404529433065979:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713507861261-0.435899755627573:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713507839160-0.06303379929561603:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713507838975-0.7068313429725521:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/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.2/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_613f38a3-ba05-4673-afed-2c4e52ebfa99", INVOCATION_ID: "9934528957ed4a47acf8a3a1df0d25e2", 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: "519", 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", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", 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_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 262", 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_devDependencies_rollup_plugin_import_css: "^3.3.1", 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/25.2.9519653", 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.8-alpha.4", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.8-alpha.4", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", 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", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "1ac0f11a034d8e0aed06479e20671c86bffd77f8", 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_99ff87f3-70ec-4a4f-affe-f5887196edd9", 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_99ff87f3-70ec-4a4f-affe-f5887196edd9", 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/25.2.9519653", 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.172+1/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__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_99ff87f3-70ec-4a4f-affe-f5887196edd9" };
|
110
110
|
}
|
111
111
|
});
|
112
112
|
|
@@ -12693,7 +12693,8 @@ var initialAppData = {
|
|
12693
12693
|
[POLL_STATE.pollInView]: "",
|
12694
12694
|
[POLL_STATE.view]: ""
|
12695
12695
|
},
|
12696
|
-
|
12696
|
+
// by default off, so it will not appear in beam bots
|
12697
|
+
[APP_DATA.caption]: false
|
12697
12698
|
};
|
12698
12699
|
var AppData = React23.memo(() => {
|
12699
12700
|
var _a8;
|
@@ -12912,7 +12913,6 @@ var AuthToken_default = AuthToken;
|
|
12912
12913
|
// src/Prebuilt/components/ConferenceScreen.tsx
|
12913
12914
|
init_define_process_env();
|
12914
12915
|
import React157, { useEffect as useEffect51, useRef as useRef26, useState as useState66 } from "react";
|
12915
|
-
import { useMedia as useMedia36 } from "react-use";
|
12916
12916
|
import { v4 as uuid3 } from "uuid";
|
12917
12917
|
import {
|
12918
12918
|
HMSRoomState as HMSRoomState7,
|
@@ -18562,7 +18562,7 @@ var Zi = (a2, e) => {
|
|
18562
18562
|
};
|
18563
18563
|
var _a7 = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
18564
18564
|
var nr = _a7((yc, Wa) => {
|
18565
|
-
Wa.exports = { version: "0.12.8-alpha.
|
18565
|
+
Wa.exports = { version: "0.12.8-alpha.4", 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"] };
|
18566
18566
|
});
|
18567
18567
|
var er = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(er || {});
|
18568
18568
|
var Na = ((e) => (e.CHAT = "chat", e))(Na || {});
|
@@ -27334,9 +27334,9 @@ var RoleChangeRequestModal = () => {
|
|
27334
27334
|
|
27335
27335
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
27336
27336
|
init_define_process_env();
|
27337
|
-
import
|
27337
|
+
import React153, { Suspense, useEffect as useEffect49 } from "react";
|
27338
27338
|
import { match as match12 } from "ts-pattern";
|
27339
|
-
import { selectIsConnectedToRoom as selectIsConnectedToRoom9, selectLocalPeerRoleName as selectLocalPeerRoleName6, useHMSActions as useHMSActions46, useHMSStore as
|
27339
|
+
import { selectIsConnectedToRoom as selectIsConnectedToRoom9, selectLocalPeerRoleName as selectLocalPeerRoleName6, useHMSActions as useHMSActions46, useHMSStore as useHMSStore85 } from "@100mslive/react-sdk";
|
27340
27340
|
|
27341
27341
|
// src/Prebuilt/components/VideoLayouts/GridLayout.tsx
|
27342
27342
|
init_define_process_env();
|
@@ -28725,14 +28725,227 @@ var WaitingView = React151.memo(() => {
|
|
28725
28725
|
);
|
28726
28726
|
});
|
28727
28727
|
|
28728
|
+
// src/Prebuilt/plugins/CaptionsViewer.tsx
|
28729
|
+
init_define_process_env();
|
28730
|
+
import React152, { useEffect as useEffect47, useState as useState65 } from "react";
|
28731
|
+
import { useMedia as useMedia34 } from "react-use";
|
28732
|
+
import { selectPeerNameByID as selectPeerNameByID5, useHMSStore as useHMSStore83, useTranscript } from "@100mslive/react-sdk";
|
28733
|
+
var SimpleQueue = class {
|
28734
|
+
constructor(capacity = 3, MAX_STORAGE_TIME = 5e3) {
|
28735
|
+
this.capacity = capacity;
|
28736
|
+
this.MAX_STORAGE_TIME = MAX_STORAGE_TIME;
|
28737
|
+
this.storage = [];
|
28738
|
+
}
|
28739
|
+
enqueue(data3) {
|
28740
|
+
var _a8;
|
28741
|
+
if (this.size() === this.capacity && this.storage[this.size() - 1].final) {
|
28742
|
+
this.dequeue(this.storage[this.size() - 1]);
|
28743
|
+
}
|
28744
|
+
if (this.size() === 0) {
|
28745
|
+
this.storage.push(data3);
|
28746
|
+
this.addTimeout(this.storage[this.size() - 1], data3.final);
|
28747
|
+
return;
|
28748
|
+
}
|
28749
|
+
if (this.size() > 0 && ((_a8 = this.storage[this.size() - 1]) == null ? void 0 : _a8.final) === true) {
|
28750
|
+
this.storage.push(data3);
|
28751
|
+
this.addTimeout(this.storage[this.size() - 1], data3.final);
|
28752
|
+
return;
|
28753
|
+
}
|
28754
|
+
this.storage[this.size() - 1].transcript = data3.transcript;
|
28755
|
+
this.storage[this.size() - 1].final = data3.final;
|
28756
|
+
this.storage[this.size() - 1].end = data3.end;
|
28757
|
+
this.addTimeout(this.storage[this.size() - 1], data3.final);
|
28758
|
+
}
|
28759
|
+
addTimeout(item, isFinal) {
|
28760
|
+
if (!isFinal) {
|
28761
|
+
return;
|
28762
|
+
}
|
28763
|
+
item.timeout = setTimeout(() => {
|
28764
|
+
this.dequeue(item);
|
28765
|
+
}, this.MAX_STORAGE_TIME);
|
28766
|
+
}
|
28767
|
+
dequeue(item) {
|
28768
|
+
const index = this.storage.indexOf(item);
|
28769
|
+
if (index === -1) {
|
28770
|
+
return void 0;
|
28771
|
+
}
|
28772
|
+
const removedItem = this.storage.splice(index, 1);
|
28773
|
+
if (removedItem.length <= 0) {
|
28774
|
+
return void 0;
|
28775
|
+
}
|
28776
|
+
this.clearTimeout(removedItem[0]);
|
28777
|
+
return item;
|
28778
|
+
}
|
28779
|
+
clearTimeout(item) {
|
28780
|
+
if (!item.timeout) {
|
28781
|
+
return;
|
28782
|
+
}
|
28783
|
+
clearTimeout(item.timeout);
|
28784
|
+
}
|
28785
|
+
peek() {
|
28786
|
+
if (this.size() <= 0) {
|
28787
|
+
return void 0;
|
28788
|
+
}
|
28789
|
+
return this.storage[0];
|
28790
|
+
}
|
28791
|
+
getTranscription() {
|
28792
|
+
let script = "";
|
28793
|
+
this.storage.forEach((value) => script += value.transcript + " ");
|
28794
|
+
return script;
|
28795
|
+
}
|
28796
|
+
reset() {
|
28797
|
+
this.storage.length = 0;
|
28798
|
+
}
|
28799
|
+
size() {
|
28800
|
+
return this.storage.length;
|
28801
|
+
}
|
28802
|
+
};
|
28803
|
+
var Queue = class {
|
28804
|
+
constructor(capacity = 3) {
|
28805
|
+
this.capacity = capacity;
|
28806
|
+
this.storage = {};
|
28807
|
+
}
|
28808
|
+
enqueue(data3) {
|
28809
|
+
if (this.size() === this.capacity) {
|
28810
|
+
this.dequeue();
|
28811
|
+
}
|
28812
|
+
if (!this.storage[data3.peer_id]) {
|
28813
|
+
this.storage[data3.peer_id] = {
|
28814
|
+
peer_id: data3.peer_id,
|
28815
|
+
transcript: data3.transcript,
|
28816
|
+
final: data3.final,
|
28817
|
+
transcriptQueue: new SimpleQueue(),
|
28818
|
+
start: data3.start,
|
28819
|
+
end: data3.end
|
28820
|
+
};
|
28821
|
+
this.storage[data3.peer_id].transcriptQueue.enqueue(data3);
|
28822
|
+
return;
|
28823
|
+
}
|
28824
|
+
this.storage[data3.peer_id].transcriptQueue.enqueue(data3);
|
28825
|
+
}
|
28826
|
+
dequeue() {
|
28827
|
+
const key = Object.keys(this.storage).shift() || "";
|
28828
|
+
const captionData = this.storage[key];
|
28829
|
+
captionData.transcriptQueue.reset();
|
28830
|
+
delete this.storage[key];
|
28831
|
+
return captionData;
|
28832
|
+
}
|
28833
|
+
peek() {
|
28834
|
+
if (this.size() <= 0)
|
28835
|
+
return void 0;
|
28836
|
+
const key = Object.keys(this.storage).shift() || "";
|
28837
|
+
return this.storage[key];
|
28838
|
+
}
|
28839
|
+
findPeerData() {
|
28840
|
+
const keys = Object.keys(this.storage);
|
28841
|
+
const data3 = keys.map((key) => {
|
28842
|
+
const data4 = this.storage[key];
|
28843
|
+
const word = data4.transcriptQueue.getTranscription();
|
28844
|
+
return { [key]: word };
|
28845
|
+
});
|
28846
|
+
return data3;
|
28847
|
+
}
|
28848
|
+
size() {
|
28849
|
+
return Object.keys(this.storage).length;
|
28850
|
+
}
|
28851
|
+
};
|
28852
|
+
var CaptionMaintainerQueue = class {
|
28853
|
+
constructor() {
|
28854
|
+
this.captionData = new Queue();
|
28855
|
+
}
|
28856
|
+
push(data3 = []) {
|
28857
|
+
data3.forEach((value) => {
|
28858
|
+
this.captionData.enqueue(value);
|
28859
|
+
});
|
28860
|
+
}
|
28861
|
+
};
|
28862
|
+
var TranscriptView = ({ peer_id, data: data3 }) => {
|
28863
|
+
const peerName = useHMSStore83(selectPeerNameByID5(peer_id)) || "Participant";
|
28864
|
+
data3 = data3.trim();
|
28865
|
+
if (!data3)
|
28866
|
+
return null;
|
28867
|
+
return /* @__PURE__ */ React152.createElement(
|
28868
|
+
Text,
|
28869
|
+
{
|
28870
|
+
variant: "body2",
|
28871
|
+
css: {
|
28872
|
+
fontWeight: "$normal"
|
28873
|
+
}
|
28874
|
+
},
|
28875
|
+
/* @__PURE__ */ React152.createElement("b", null, peerName, ": "),
|
28876
|
+
data3
|
28877
|
+
);
|
28878
|
+
};
|
28879
|
+
var CaptionsViewer = () => {
|
28880
|
+
var _a8;
|
28881
|
+
const { elements, screenType } = useRoomLayoutConferencingScreen();
|
28882
|
+
const isMobile = useMedia34(config.media.md);
|
28883
|
+
const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
|
28884
|
+
const showCaptionAtTop = ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay) && isChatOpen && isMobile;
|
28885
|
+
const [captionQueue] = useState65(new CaptionMaintainerQueue());
|
28886
|
+
const [currentData, setCurrentData] = useState65([]);
|
28887
|
+
const isCaptionEnabled = useIsCaptionEnabled();
|
28888
|
+
useEffect47(() => {
|
28889
|
+
const timeInterval = setInterval(() => {
|
28890
|
+
var _a9;
|
28891
|
+
if (!captionQueue) {
|
28892
|
+
return;
|
28893
|
+
}
|
28894
|
+
const data3 = (_a9 = captionQueue.captionData) == null ? void 0 : _a9.findPeerData();
|
28895
|
+
setCurrentData(data3);
|
28896
|
+
}, 1e3);
|
28897
|
+
return () => clearInterval(timeInterval);
|
28898
|
+
}, [captionQueue]);
|
28899
|
+
useTranscript({
|
28900
|
+
onTranscript: (data3) => {
|
28901
|
+
captionQueue && captionQueue.push(data3);
|
28902
|
+
}
|
28903
|
+
});
|
28904
|
+
const dataToShow = currentData.filter((data3) => {
|
28905
|
+
const key = Object.keys(data3)[0];
|
28906
|
+
if (data3[key]) {
|
28907
|
+
return true;
|
28908
|
+
}
|
28909
|
+
return false;
|
28910
|
+
});
|
28911
|
+
if (dataToShow.length <= 0 || screenType === "hls_live_streaming" || !isCaptionEnabled) {
|
28912
|
+
return null;
|
28913
|
+
}
|
28914
|
+
return /* @__PURE__ */ React152.createElement(
|
28915
|
+
Box,
|
28916
|
+
{
|
28917
|
+
css: {
|
28918
|
+
position: "absolute",
|
28919
|
+
w: isMobile ? "100%" : "40%",
|
28920
|
+
bottom: showCaptionAtTop ? "" : "0",
|
28921
|
+
top: showCaptionAtTop ? "0" : "",
|
28922
|
+
left: isMobile ? 0 : "50%",
|
28923
|
+
transform: isMobile ? "" : "translateX(-50%)",
|
28924
|
+
background: "#000000A3",
|
28925
|
+
overflow: "clip",
|
28926
|
+
zIndex: 10,
|
28927
|
+
height: "fit-content",
|
28928
|
+
r: "$1",
|
28929
|
+
p: "$6",
|
28930
|
+
transition: "bottom 0.3s ease-in-out",
|
28931
|
+
"&:empty": { display: "none" }
|
28932
|
+
}
|
28933
|
+
},
|
28934
|
+
/* @__PURE__ */ React152.createElement(Flex, { direction: "column" }, dataToShow.map((data3, index) => {
|
28935
|
+
const key = Object.keys(data3)[0];
|
28936
|
+
return /* @__PURE__ */ React152.createElement(TranscriptView, { key: index, peer_id: key, data: data3[key] });
|
28937
|
+
}))
|
28938
|
+
);
|
28939
|
+
};
|
28940
|
+
|
28728
28941
|
// src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx
|
28729
28942
|
init_define_process_env();
|
28730
|
-
import { useEffect as
|
28731
|
-
import { selectPeerScreenSharing as selectPeerScreenSharing4, useHMSStore as
|
28943
|
+
import { useEffect as useEffect48 } from "react";
|
28944
|
+
import { selectPeerScreenSharing as selectPeerScreenSharing4, useHMSStore as useHMSStore84, useWhiteboard as useWhiteboard3 } from "@100mslive/react-sdk";
|
28732
28945
|
var useCloseScreenshareWhiteboard = () => {
|
28733
|
-
const peerSharing =
|
28946
|
+
const peerSharing = useHMSStore84(selectPeerScreenSharing4);
|
28734
28947
|
const { isOwner: isWhiteboardOwner, toggle: toggleWhiteboard } = useWhiteboard3();
|
28735
|
-
|
28948
|
+
useEffect48(() => {
|
28736
28949
|
if (isWhiteboardOwner && peerSharing) {
|
28737
28950
|
toggleWhiteboard == null ? void 0 : toggleWhiteboard();
|
28738
28951
|
}
|
@@ -28740,15 +28953,15 @@ var useCloseScreenshareWhiteboard = () => {
|
|
28740
28953
|
};
|
28741
28954
|
|
28742
28955
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
28743
|
-
var HLSView =
|
28956
|
+
var HLSView = React153.lazy(() => import("./HLSView-KESSHZG2.js"));
|
28744
28957
|
var VideoStreamingSection = ({
|
28745
28958
|
screenType,
|
28746
28959
|
elements,
|
28747
28960
|
hideControls = false
|
28748
28961
|
}) => {
|
28749
28962
|
var _a8;
|
28750
|
-
const localPeerRole =
|
28751
|
-
const isConnected =
|
28963
|
+
const localPeerRole = useHMSStore85(selectLocalPeerRoleName6);
|
28964
|
+
const isConnected = useHMSStore85(selectIsConnectedToRoom9);
|
28752
28965
|
const hmsActions = useHMSActions46();
|
28753
28966
|
const waitingViewerRole = useWaitingViewerRole();
|
28754
28967
|
const urlToIframe = useUrlToEmbed();
|
@@ -28756,7 +28969,7 @@ var VideoStreamingSection = ({
|
|
28756
28969
|
const isMobileHLSStream = useMobileHLSStream();
|
28757
28970
|
const isLandscapeHLSStream = useLandscapeHLSStream();
|
28758
28971
|
useCloseScreenshareWhiteboard();
|
28759
|
-
|
28972
|
+
useEffect49(() => {
|
28760
28973
|
if (!isConnected) {
|
28761
28974
|
return;
|
28762
28975
|
}
|
@@ -28771,7 +28984,7 @@ var VideoStreamingSection = ({
|
|
28771
28984
|
if (!localPeerRole) {
|
28772
28985
|
return null;
|
28773
28986
|
}
|
28774
|
-
return /* @__PURE__ */
|
28987
|
+
return /* @__PURE__ */ React153.createElement(Suspense, { fallback: /* @__PURE__ */ React153.createElement(FullPageProgress_default, null) }, /* @__PURE__ */ React153.createElement(
|
28775
28988
|
Flex,
|
28776
28989
|
{
|
28777
28990
|
css: {
|
@@ -28785,21 +28998,22 @@ var VideoStreamingSection = ({
|
|
28785
28998
|
{
|
28786
28999
|
screenType: "hls_live_streaming"
|
28787
29000
|
},
|
28788
|
-
() => /* @__PURE__ */
|
29001
|
+
() => /* @__PURE__ */ React153.createElement(HLSView, null)
|
28789
29002
|
).when(
|
28790
29003
|
({ localPeerRole: localPeerRole2 }) => localPeerRole2 === waitingViewerRole,
|
28791
|
-
() => /* @__PURE__ */
|
29004
|
+
() => /* @__PURE__ */ React153.createElement(WaitingView, null)
|
28792
29005
|
).when(
|
28793
29006
|
({ pdfAnnotatorActive: pdfAnnotatorActive2 }) => !!pdfAnnotatorActive2,
|
28794
|
-
() => /* @__PURE__ */
|
29007
|
+
() => /* @__PURE__ */ React153.createElement(PDFView, null)
|
28795
29008
|
).when(
|
28796
29009
|
({ urlToIframe: urlToIframe2 }) => !!urlToIframe2,
|
28797
|
-
() => /* @__PURE__ */
|
29010
|
+
() => /* @__PURE__ */ React153.createElement(EmbedView, null)
|
28798
29011
|
).otherwise(() => {
|
28799
29012
|
var _a9;
|
28800
|
-
return /* @__PURE__ */
|
29013
|
+
return /* @__PURE__ */ React153.createElement(GridLayout, __spreadValues({}, (_a9 = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _a9.grid));
|
28801
29014
|
}),
|
28802
|
-
/* @__PURE__ */
|
29015
|
+
/* @__PURE__ */ React153.createElement(CaptionsViewer, null),
|
29016
|
+
/* @__PURE__ */ React153.createElement(
|
28803
29017
|
Box,
|
28804
29018
|
{
|
28805
29019
|
css: {
|
@@ -28811,7 +29025,7 @@ var VideoStreamingSection = ({
|
|
28811
29025
|
overflowY: "clip"
|
28812
29026
|
}
|
28813
29027
|
},
|
28814
|
-
/* @__PURE__ */
|
29028
|
+
/* @__PURE__ */ React153.createElement(
|
28815
29029
|
SidePane_default,
|
28816
29030
|
{
|
28817
29031
|
screenType,
|
@@ -28828,37 +29042,37 @@ init_define_process_env();
|
|
28828
29042
|
|
28829
29043
|
// src/Prebuilt/components/Header/Header.tsx
|
28830
29044
|
init_define_process_env();
|
28831
|
-
import
|
28832
|
-
import { useMedia as
|
28833
|
-
import { HMSRoomState as HMSRoomState6, selectRoomState as selectRoomState6, useHMSStore as
|
29045
|
+
import React156 from "react";
|
29046
|
+
import { useMedia as useMedia36 } from "react-use";
|
29047
|
+
import { HMSRoomState as HMSRoomState6, selectRoomState as selectRoomState6, useHMSStore as useHMSStore87 } from "@100mslive/react-sdk";
|
28834
29048
|
|
28835
29049
|
// src/Prebuilt/components/Header/RoomDetailsHeader.tsx
|
28836
29050
|
init_define_process_env();
|
28837
|
-
import
|
28838
|
-
import { useMedia as
|
29051
|
+
import React154 from "react";
|
29052
|
+
import { useMedia as useMedia35 } from "react-use";
|
28839
29053
|
import { ChevronRightIcon as ChevronRightIcon5 } from "@100mslive/react-icons";
|
28840
29054
|
var RoomDetailsHeader = () => {
|
28841
29055
|
const { title, description } = useRoomLayoutHeader();
|
28842
|
-
const isMobile =
|
29056
|
+
const isMobile = useMedia35(config.media.md);
|
28843
29057
|
const clipLength = 30;
|
28844
29058
|
const toggleDetailsPane = useSidepaneToggle(SIDE_PANE_OPTIONS.ROOM_DETAILS);
|
28845
29059
|
const toggleDetailsSheet = useSheetToggle(SHEET_OPTIONS.ROOM_DETAILS);
|
28846
29060
|
if (!title && !description || isMobile && !title) {
|
28847
29061
|
return null;
|
28848
29062
|
}
|
28849
|
-
return /* @__PURE__ */
|
29063
|
+
return /* @__PURE__ */ React154.createElement(Flex, { direction: isMobile ? "row" : "column", css: { ml: "$8", alignItems: isMobile ? "center" : "start" } }, /* @__PURE__ */ React154.createElement(Text, { variant: "sm", css: { c: "$on_surface_high", fontWeight: "$semiBold" } }, title), !isMobile && /* @__PURE__ */ React154.createElement(Flex, { align: "end", css: { color: "$on_surface_high" } }, /* @__PURE__ */ React154.createElement(Text, { variant: "xs", css: { c: "$on_surface_medium" } }, description.slice(0, clipLength)), description.length > clipLength ? /* @__PURE__ */ React154.createElement(
|
28850
29064
|
"span",
|
28851
29065
|
{
|
28852
29066
|
style: { fontWeight: "600", fontSize: "12px", cursor: "pointer", lineHeight: "1rem" },
|
28853
29067
|
onClick: toggleDetailsPane
|
28854
29068
|
},
|
28855
29069
|
"\xA0...more"
|
28856
|
-
) : null), isMobile && description ? /* @__PURE__ */
|
29070
|
+
) : null), isMobile && description ? /* @__PURE__ */ React154.createElement(Flex, { css: { color: "$on_surface_medium" } }, /* @__PURE__ */ React154.createElement(ChevronRightIcon5, { height: 16, width: 16, onClick: toggleDetailsSheet })) : null);
|
28857
29071
|
};
|
28858
29072
|
|
28859
29073
|
// src/Prebuilt/components/Header/common.jsx
|
28860
29074
|
init_define_process_env();
|
28861
|
-
import
|
29075
|
+
import React155 from "react";
|
28862
29076
|
import {
|
28863
29077
|
DeviceType as DeviceType3,
|
28864
29078
|
selectIsLocalVideoEnabled as selectIsLocalVideoEnabled8,
|
@@ -28866,7 +29080,7 @@ import {
|
|
28866
29080
|
selectVideoTrackByID as selectVideoTrackByID7,
|
28867
29081
|
useDevices as useDevices3,
|
28868
29082
|
useHMSActions as useHMSActions47,
|
28869
|
-
useHMSStore as
|
29083
|
+
useHMSStore as useHMSStore86
|
28870
29084
|
} from "@100mslive/react-sdk";
|
28871
29085
|
import {
|
28872
29086
|
BluetoothIcon,
|
@@ -28880,13 +29094,13 @@ var CamaraFlipActions = () => {
|
|
28880
29094
|
const actions = useHMSActions47();
|
28881
29095
|
const { allDevices } = useDevices3();
|
28882
29096
|
const { videoInput } = allDevices;
|
28883
|
-
const isVideoOn =
|
28884
|
-
const videoTrackId =
|
28885
|
-
const localVideoTrack =
|
29097
|
+
const isVideoOn = useHMSStore86(selectIsLocalVideoEnabled8);
|
29098
|
+
const videoTrackId = useHMSStore86(selectLocalVideoTrackID3);
|
29099
|
+
const localVideoTrack = useHMSStore86(selectVideoTrackByID7(videoTrackId));
|
28886
29100
|
if (!videoInput || !(videoInput == null ? void 0 : videoInput.length) || !(localVideoTrack == null ? void 0 : localVideoTrack.facingMode)) {
|
28887
29101
|
return null;
|
28888
29102
|
}
|
28889
|
-
return /* @__PURE__ */
|
29103
|
+
return /* @__PURE__ */ React155.createElement(Box, null, /* @__PURE__ */ React155.createElement(
|
28890
29104
|
IconButton_default,
|
28891
29105
|
{
|
28892
29106
|
disabled: !isVideoOn,
|
@@ -28901,7 +29115,7 @@ var CamaraFlipActions = () => {
|
|
28901
29115
|
}
|
28902
29116
|
})
|
28903
29117
|
},
|
28904
|
-
/* @__PURE__ */
|
29118
|
+
/* @__PURE__ */ React155.createElement(CameraFlipIcon2, null)
|
28905
29119
|
));
|
28906
29120
|
};
|
28907
29121
|
var AudioActions = () => {
|
@@ -28920,13 +29134,13 @@ var AudioActions = () => {
|
|
28920
29134
|
if (!audioFiltered) {
|
28921
29135
|
return null;
|
28922
29136
|
}
|
28923
|
-
let AudioIcon = /* @__PURE__ */
|
29137
|
+
let AudioIcon = /* @__PURE__ */ React155.createElement(SpeakerIcon4, null);
|
28924
29138
|
if (currentSelection && currentSelection.label.toLowerCase().includes("bluetooth")) {
|
28925
|
-
AudioIcon = /* @__PURE__ */
|
29139
|
+
AudioIcon = /* @__PURE__ */ React155.createElement(BluetoothIcon, null);
|
28926
29140
|
} else if (currentSelection && currentSelection.label.toLowerCase().includes("wired")) {
|
28927
|
-
AudioIcon = /* @__PURE__ */
|
29141
|
+
AudioIcon = /* @__PURE__ */ React155.createElement(HeadphonesIcon, null);
|
28928
29142
|
}
|
28929
|
-
return /* @__PURE__ */
|
29143
|
+
return /* @__PURE__ */ React155.createElement(
|
28930
29144
|
AudioSelectionSheet,
|
28931
29145
|
{
|
28932
29146
|
audioDevices: availableAudioDevices,
|
@@ -28945,19 +29159,19 @@ var AudioActions = () => {
|
|
28945
29159
|
}
|
28946
29160
|
})
|
28947
29161
|
},
|
28948
|
-
/* @__PURE__ */
|
29162
|
+
/* @__PURE__ */ React155.createElement(
|
28949
29163
|
Box,
|
28950
29164
|
{
|
28951
29165
|
onClick: () => __async(void 0, null, function* () {
|
28952
29166
|
yield hmsActions.refreshDevices();
|
28953
29167
|
})
|
28954
29168
|
},
|
28955
|
-
/* @__PURE__ */
|
29169
|
+
/* @__PURE__ */ React155.createElement(IconButton_default, null, AudioIcon, " ")
|
28956
29170
|
)
|
28957
29171
|
);
|
28958
29172
|
};
|
28959
29173
|
var AudioSelectionSheet = ({ audioDevices, audioSelected, onChange, children }) => {
|
28960
|
-
return /* @__PURE__ */
|
29174
|
+
return /* @__PURE__ */ React155.createElement(Sheet.Root, null, /* @__PURE__ */ React155.createElement(Sheet.Trigger, { asChild: true }, children), /* @__PURE__ */ React155.createElement(Sheet.Content, null, /* @__PURE__ */ React155.createElement(Sheet.Title, { css: { py: "$10", px: "$8", alignItems: "center" } }, /* @__PURE__ */ React155.createElement(Flex, { direction: "row", justify: "between", css: { w: "100%" } }, /* @__PURE__ */ React155.createElement(Text, { variant: "h6", css: { display: "flex" } }, "Audio"), /* @__PURE__ */ React155.createElement(Sheet.Close, null, /* @__PURE__ */ React155.createElement(IconButton_default, { as: "div", "data-testid": "dialog_cross_icon" }, /* @__PURE__ */ React155.createElement(CrossIcon25, null))))), /* @__PURE__ */ React155.createElement(HorizontalDivider, null), /* @__PURE__ */ React155.createElement(
|
28961
29175
|
Flex,
|
28962
29176
|
{
|
28963
29177
|
direction: "column",
|
@@ -28968,7 +29182,7 @@ var AudioSelectionSheet = ({ audioDevices, audioSelected, onChange, children })
|
|
28968
29182
|
}
|
28969
29183
|
},
|
28970
29184
|
audioDevices.map((audioDevice) => {
|
28971
|
-
return /* @__PURE__ */
|
29185
|
+
return /* @__PURE__ */ React155.createElement(
|
28972
29186
|
SelectWithLabel,
|
28973
29187
|
{
|
28974
29188
|
key: audioDevice.deviceId,
|
@@ -28981,8 +29195,8 @@ var AudioSelectionSheet = ({ audioDevices, audioSelected, onChange, children })
|
|
28981
29195
|
})
|
28982
29196
|
)));
|
28983
29197
|
};
|
28984
|
-
var SelectWithLabel = ({ label, icon = /* @__PURE__ */
|
28985
|
-
return /* @__PURE__ */
|
29198
|
+
var SelectWithLabel = ({ label, icon = /* @__PURE__ */ React155.createElement(React155.Fragment, null), checked, id, onChange }) => {
|
29199
|
+
return /* @__PURE__ */ React155.createElement(
|
28986
29200
|
Flex,
|
28987
29201
|
{
|
28988
29202
|
align: "center",
|
@@ -28994,7 +29208,7 @@ var SelectWithLabel = ({ label, icon = /* @__PURE__ */ React154.createElement(Re
|
|
28994
29208
|
},
|
28995
29209
|
onClick: onChange
|
28996
29210
|
},
|
28997
|
-
/* @__PURE__ */
|
29211
|
+
/* @__PURE__ */ React155.createElement(
|
28998
29212
|
Label3,
|
28999
29213
|
{
|
29000
29214
|
htmlFor: id,
|
@@ -29012,18 +29226,18 @@ var SelectWithLabel = ({ label, icon = /* @__PURE__ */ React154.createElement(Re
|
|
29012
29226
|
icon,
|
29013
29227
|
label
|
29014
29228
|
),
|
29015
|
-
checked && /* @__PURE__ */
|
29229
|
+
checked && /* @__PURE__ */ React155.createElement(CheckIcon9, { width: 24, height: 24 })
|
29016
29230
|
);
|
29017
29231
|
};
|
29018
29232
|
|
29019
29233
|
// src/Prebuilt/components/Header/Header.tsx
|
29020
29234
|
var Header2 = () => {
|
29021
|
-
const roomState =
|
29022
|
-
const isMobile =
|
29235
|
+
const roomState = useHMSStore87(selectRoomState6);
|
29236
|
+
const isMobile = useMedia36(config.media.md);
|
29023
29237
|
if (roomState !== HMSRoomState6.Connected) {
|
29024
|
-
return /* @__PURE__ */
|
29238
|
+
return /* @__PURE__ */ React156.createElement(React156.Fragment, null);
|
29025
29239
|
}
|
29026
|
-
return /* @__PURE__ */
|
29240
|
+
return /* @__PURE__ */ React156.createElement(Flex, { justify: "between", align: "center", css: { position: "relative", height: "100%" } }, /* @__PURE__ */ React156.createElement(Flex, { align: "center", gap: "2", css: { position: "absolute", left: "$10" } }, /* @__PURE__ */ React156.createElement(Logo, null), /* @__PURE__ */ React156.createElement(RoomDetailsHeader, null), /* @__PURE__ */ React156.createElement(SpeakerTag, null), isMobile && /* @__PURE__ */ React156.createElement(Flex, { align: "center", css: { gap: "$4" } }, /* @__PURE__ */ React156.createElement(LiveStatus, null), /* @__PURE__ */ React156.createElement(RecordingStatus, null), /* @__PURE__ */ React156.createElement(RecordingPauseStatus, null))), /* @__PURE__ */ React156.createElement(
|
29027
29241
|
Flex,
|
29028
29242
|
{
|
29029
29243
|
align: "center",
|
@@ -29033,19 +29247,19 @@ var Header2 = () => {
|
|
29033
29247
|
gap: "$4"
|
29034
29248
|
}
|
29035
29249
|
},
|
29036
|
-
/* @__PURE__ */
|
29037
|
-
isMobile ? /* @__PURE__ */
|
29250
|
+
/* @__PURE__ */ React156.createElement(StreamActions, null),
|
29251
|
+
isMobile ? /* @__PURE__ */ React156.createElement(React156.Fragment, null, /* @__PURE__ */ React156.createElement(CamaraFlipActions, null), /* @__PURE__ */ React156.createElement(AudioActions, null)) : null
|
29038
29252
|
));
|
29039
29253
|
};
|
29040
29254
|
|
29041
29255
|
// src/Prebuilt/components/PreviousRoleInMetadata.tsx
|
29042
29256
|
init_define_process_env();
|
29043
|
-
import { useEffect as
|
29257
|
+
import { useEffect as useEffect50 } from "react";
|
29044
29258
|
import { selectLocalPeerRoleName as selectLocalPeerRoleName7, useHMSVanillaStore as useHMSVanillaStore13 } from "@100mslive/react-sdk";
|
29045
29259
|
var PreviousRoleInMetadata = () => {
|
29046
29260
|
const vanillaStore = useHMSVanillaStore13();
|
29047
29261
|
const { updateMetaData } = useMyMetadata();
|
29048
|
-
|
29262
|
+
useEffect50(() => {
|
29049
29263
|
let previousRole = vanillaStore.getState(selectLocalPeerRoleName7);
|
29050
29264
|
const unsubscribe = vanillaStore.subscribe((currentRole) => {
|
29051
29265
|
if (previousRole !== currentRole && currentRole) {
|
@@ -29058,195 +29272,10 @@ var PreviousRoleInMetadata = () => {
|
|
29058
29272
|
return null;
|
29059
29273
|
};
|
29060
29274
|
|
29061
|
-
// src/Prebuilt/plugins/CaptionsViewer.tsx
|
29062
|
-
init_define_process_env();
|
29063
|
-
import React156, { useEffect as useEffect50, useState as useState65 } from "react";
|
29064
|
-
import { selectPeerNameByID as selectPeerNameByID5, useHMSStore as useHMSStore87, useTranscript } from "@100mslive/react-sdk";
|
29065
|
-
var SimpleQueue = class {
|
29066
|
-
constructor(capacity = 3, MAX_STORAGE_TIME = 5e3) {
|
29067
|
-
this.capacity = capacity;
|
29068
|
-
this.MAX_STORAGE_TIME = MAX_STORAGE_TIME;
|
29069
|
-
this.storage = [];
|
29070
|
-
}
|
29071
|
-
enqueue(data3) {
|
29072
|
-
var _a8;
|
29073
|
-
if (this.size() === this.capacity && this.storage[this.size() - 1].final) {
|
29074
|
-
this.dequeue(this.storage[this.size() - 1]);
|
29075
|
-
}
|
29076
|
-
if (this.size() === 0) {
|
29077
|
-
this.storage.push(data3);
|
29078
|
-
this.addTimeout(this.storage[this.size() - 1], data3.final);
|
29079
|
-
return;
|
29080
|
-
}
|
29081
|
-
if (this.size() > 0 && ((_a8 = this.storage[this.size() - 1]) == null ? void 0 : _a8.final) === true) {
|
29082
|
-
this.storage.push(data3);
|
29083
|
-
this.addTimeout(this.storage[this.size() - 1], data3.final);
|
29084
|
-
return;
|
29085
|
-
}
|
29086
|
-
this.storage[this.size() - 1].transcript = data3.transcript;
|
29087
|
-
this.storage[this.size() - 1].final = data3.final;
|
29088
|
-
this.storage[this.size() - 1].end = data3.end;
|
29089
|
-
this.addTimeout(this.storage[this.size() - 1], data3.final);
|
29090
|
-
}
|
29091
|
-
addTimeout(item, isFinal) {
|
29092
|
-
if (!isFinal) {
|
29093
|
-
return;
|
29094
|
-
}
|
29095
|
-
item.timeout = setTimeout(() => {
|
29096
|
-
this.dequeue(item);
|
29097
|
-
}, this.MAX_STORAGE_TIME);
|
29098
|
-
}
|
29099
|
-
dequeue(item) {
|
29100
|
-
const index = this.storage.indexOf(item);
|
29101
|
-
if (index === -1) {
|
29102
|
-
return void 0;
|
29103
|
-
}
|
29104
|
-
const removedItem = this.storage.splice(index, 1);
|
29105
|
-
if (removedItem.length <= 0) {
|
29106
|
-
return void 0;
|
29107
|
-
}
|
29108
|
-
this.clearTimeout(removedItem[0]);
|
29109
|
-
return item;
|
29110
|
-
}
|
29111
|
-
clearTimeout(item) {
|
29112
|
-
if (!item.timeout) {
|
29113
|
-
return;
|
29114
|
-
}
|
29115
|
-
clearTimeout(item.timeout);
|
29116
|
-
}
|
29117
|
-
peek() {
|
29118
|
-
if (this.size() <= 0) {
|
29119
|
-
return void 0;
|
29120
|
-
}
|
29121
|
-
return this.storage[0];
|
29122
|
-
}
|
29123
|
-
getTranscription() {
|
29124
|
-
let script = "";
|
29125
|
-
this.storage.forEach((value) => script += value.transcript + " ");
|
29126
|
-
return script;
|
29127
|
-
}
|
29128
|
-
reset() {
|
29129
|
-
this.storage.length = 0;
|
29130
|
-
}
|
29131
|
-
size() {
|
29132
|
-
return this.storage.length;
|
29133
|
-
}
|
29134
|
-
};
|
29135
|
-
var Queue = class {
|
29136
|
-
constructor(capacity = 3) {
|
29137
|
-
this.capacity = capacity;
|
29138
|
-
this.storage = {};
|
29139
|
-
}
|
29140
|
-
enqueue(data3) {
|
29141
|
-
if (this.size() === this.capacity) {
|
29142
|
-
this.dequeue();
|
29143
|
-
}
|
29144
|
-
if (!this.storage[data3.peer_id]) {
|
29145
|
-
this.storage[data3.peer_id] = {
|
29146
|
-
peer_id: data3.peer_id,
|
29147
|
-
transcript: data3.transcript,
|
29148
|
-
final: data3.final,
|
29149
|
-
transcriptQueue: new SimpleQueue(),
|
29150
|
-
start: data3.start,
|
29151
|
-
end: data3.end
|
29152
|
-
};
|
29153
|
-
this.storage[data3.peer_id].transcriptQueue.enqueue(data3);
|
29154
|
-
return;
|
29155
|
-
}
|
29156
|
-
this.storage[data3.peer_id].transcriptQueue.enqueue(data3);
|
29157
|
-
}
|
29158
|
-
dequeue() {
|
29159
|
-
const key = Object.keys(this.storage).shift() || "";
|
29160
|
-
const captionData = this.storage[key];
|
29161
|
-
captionData.transcriptQueue.reset();
|
29162
|
-
delete this.storage[key];
|
29163
|
-
return captionData;
|
29164
|
-
}
|
29165
|
-
peek() {
|
29166
|
-
if (this.size() <= 0)
|
29167
|
-
return void 0;
|
29168
|
-
const key = Object.keys(this.storage).shift() || "";
|
29169
|
-
return this.storage[key];
|
29170
|
-
}
|
29171
|
-
findPeerData() {
|
29172
|
-
const keys = Object.keys(this.storage);
|
29173
|
-
const data3 = keys.map((key) => {
|
29174
|
-
const data4 = this.storage[key];
|
29175
|
-
const word = data4.transcriptQueue.getTranscription();
|
29176
|
-
return { [key]: word };
|
29177
|
-
});
|
29178
|
-
return data3;
|
29179
|
-
}
|
29180
|
-
size() {
|
29181
|
-
return Object.keys(this.storage).length;
|
29182
|
-
}
|
29183
|
-
};
|
29184
|
-
var CaptionMaintainerQueue = class {
|
29185
|
-
constructor() {
|
29186
|
-
this.captionData = new Queue();
|
29187
|
-
}
|
29188
|
-
push(data3 = []) {
|
29189
|
-
data3.forEach((value) => {
|
29190
|
-
this.captionData.enqueue(value);
|
29191
|
-
});
|
29192
|
-
}
|
29193
|
-
};
|
29194
|
-
var TranscriptView = ({ peer_id, data: data3 }) => {
|
29195
|
-
const peerName = useHMSStore87(selectPeerNameByID5(peer_id));
|
29196
|
-
data3 = data3.trim();
|
29197
|
-
if (!data3)
|
29198
|
-
return null;
|
29199
|
-
return /* @__PURE__ */ React156.createElement(
|
29200
|
-
Text,
|
29201
|
-
{
|
29202
|
-
variant: "body2",
|
29203
|
-
css: {
|
29204
|
-
fontWeight: "$normal"
|
29205
|
-
}
|
29206
|
-
},
|
29207
|
-
`${peerName}: ${data3}`
|
29208
|
-
);
|
29209
|
-
};
|
29210
|
-
var CaptionsViewer = () => {
|
29211
|
-
const [captionQueue] = useState65(new CaptionMaintainerQueue());
|
29212
|
-
const [currentData, setCurrentData] = useState65([]);
|
29213
|
-
useEffect50(() => {
|
29214
|
-
const timeInterval = setInterval(() => {
|
29215
|
-
var _a8;
|
29216
|
-
if (!captionQueue) {
|
29217
|
-
return;
|
29218
|
-
}
|
29219
|
-
const data3 = (_a8 = captionQueue.captionData) == null ? void 0 : _a8.findPeerData();
|
29220
|
-
setCurrentData(data3);
|
29221
|
-
}, 1e3);
|
29222
|
-
return () => clearInterval(timeInterval);
|
29223
|
-
}, [captionQueue]);
|
29224
|
-
useTranscript({
|
29225
|
-
onTranscript: (data3) => {
|
29226
|
-
captionQueue && captionQueue.push(data3);
|
29227
|
-
}
|
29228
|
-
});
|
29229
|
-
const dataToShow = currentData.filter((data3) => {
|
29230
|
-
const key = Object.keys(data3)[0];
|
29231
|
-
if (data3[key]) {
|
29232
|
-
return true;
|
29233
|
-
}
|
29234
|
-
return false;
|
29235
|
-
});
|
29236
|
-
if (dataToShow.length <= 0) {
|
29237
|
-
return null;
|
29238
|
-
}
|
29239
|
-
return /* @__PURE__ */ React156.createElement(Flex, { direction: "column", gap: 1 }, dataToShow.map((data3, index) => {
|
29240
|
-
const key = Object.keys(data3)[0];
|
29241
|
-
return /* @__PURE__ */ React156.createElement(TranscriptView, { key: index, peer_id: key, data: data3[key] });
|
29242
|
-
}));
|
29243
|
-
};
|
29244
|
-
|
29245
29275
|
// src/Prebuilt/components/ConferenceScreen.tsx
|
29246
29276
|
var ConferenceScreen = () => {
|
29247
|
-
var _a8, _b7, _c, _d, _e, _f
|
29277
|
+
var _a8, _b7, _c, _d, _e, _f;
|
29248
29278
|
const { userName, endpoints, onJoin: onJoinFunc } = useHMSPrebuiltContext();
|
29249
|
-
const isMobile = useMedia36(config.media.md);
|
29250
29279
|
const screenProps = useRoomLayoutConferencingScreen();
|
29251
29280
|
const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
|
29252
29281
|
const roomState = useHMSStore88(selectRoomState7);
|
@@ -29265,9 +29294,6 @@ var ConferenceScreen = () => {
|
|
29265
29294
|
const isMobileHLSStream = useMobileHLSStream();
|
29266
29295
|
const isLandscapeHLSStream = useLandscapeHLSStream();
|
29267
29296
|
const isMwebHLSStream = isMobileHLSStream || isLandscapeHLSStream;
|
29268
|
-
const isCaptionEnabled = useIsCaptionEnabled();
|
29269
|
-
const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
|
29270
|
-
const showCaptionAtTop = ((_c = (_b7 = screenProps.elements) == null ? void 0 : _b7.chat) == null ? void 0 : _c.is_overlay) && isChatOpen;
|
29271
29297
|
const toggleControls = () => {
|
29272
29298
|
var _a9;
|
29273
29299
|
if (((_a9 = dropdownListRef.current) == null ? void 0 : _a9.length) === 0 && isMobileDevice && !isMwebHLSStream) {
|
@@ -29314,35 +29340,14 @@ var ConferenceScreen = () => {
|
|
29314
29340
|
return /* @__PURE__ */ React157.createElement(FullPageProgress_default, { text: roomState === HMSRoomState7.Connecting ? "Joining..." : "" });
|
29315
29341
|
}
|
29316
29342
|
const hideControlsForStreaming = isMwebHLSStream ? true : hideControls;
|
29317
|
-
return /* @__PURE__ */ React157.createElement(React157.Fragment, null, isHLSStarted ? /* @__PURE__ */ React157.createElement(Box, { css: { position: "fixed", zIndex: 100, w: "100%", h: "100%", left: 0, top: 0 } }, /* @__PURE__ */ React157.createElement(FullPageProgress_default, { text: "Starting live stream...", css: { opacity: 0.8, bg: "$background_dim" } })) : null,
|
29318
|
-
Box,
|
29319
|
-
{
|
29320
|
-
css: {
|
29321
|
-
position: "fixed",
|
29322
|
-
maxWidth: isMobile ? "100%" : "40%",
|
29323
|
-
bottom: showCaptionAtTop ? "" : hideControlsForStreaming ? "5%" : "10%",
|
29324
|
-
top: showCaptionAtTop ? hideControlsForStreaming ? "5%" : "10%" : "",
|
29325
|
-
left: isMobile ? 0 : "50%",
|
29326
|
-
transform: isMobile ? "" : "translateX(-50%)",
|
29327
|
-
background: "#000000A3",
|
29328
|
-
overflow: "clip",
|
29329
|
-
zIndex: 10,
|
29330
|
-
height: "fit-content",
|
29331
|
-
r: "$1",
|
29332
|
-
p: "$6",
|
29333
|
-
transition: "bottom 0.3s ease-in-out",
|
29334
|
-
"&:empty": { display: "none" }
|
29335
|
-
}
|
29336
|
-
},
|
29337
|
-
/* @__PURE__ */ React157.createElement(CaptionsViewer, null)
|
29338
|
-
), /* @__PURE__ */ React157.createElement(Flex, { css: { size: "100%", overflow: "hidden" }, direction: "column" }, !(screenProps.hideSections.includes("header") || isMwebHLSStream) && /* @__PURE__ */ React157.createElement(
|
29343
|
+
return /* @__PURE__ */ React157.createElement(React157.Fragment, null, isHLSStarted ? /* @__PURE__ */ React157.createElement(Box, { css: { position: "fixed", zIndex: 100, w: "100%", h: "100%", left: 0, top: 0 } }, /* @__PURE__ */ React157.createElement(FullPageProgress_default, { text: "Starting live stream...", css: { opacity: 0.8, bg: "$background_dim" } })) : null, /* @__PURE__ */ React157.createElement(Flex, { css: { size: "100%", overflow: "hidden" }, direction: "column" }, !(screenProps.hideSections.includes("header") || isMwebHLSStream) && /* @__PURE__ */ React157.createElement(
|
29339
29344
|
Box,
|
29340
29345
|
{
|
29341
29346
|
ref: headerRef,
|
29342
29347
|
css: {
|
29343
29348
|
h: "$18",
|
29344
29349
|
transition: "margin 0.3s ease-in-out",
|
29345
|
-
marginTop: hideControlsForStreaming ? `-${(
|
29350
|
+
marginTop: hideControlsForStreaming ? `-${(_b7 = headerRef.current) == null ? void 0 : _b7.clientHeight}px` : "none",
|
29346
29351
|
"@md": {
|
29347
29352
|
h: "$17"
|
29348
29353
|
}
|
@@ -29358,7 +29363,7 @@ var ConferenceScreen = () => {
|
|
29358
29363
|
flex: "1 1 0",
|
29359
29364
|
minHeight: 0,
|
29360
29365
|
// @ts-ignore
|
29361
|
-
px: ((
|
29366
|
+
px: ((_e = (_d = (_c = screenProps == null ? void 0 : screenProps.elements) == null ? void 0 : _c.video_tile_layout) == null ? void 0 : _d.grid) == null ? void 0 : _e.edge_to_edge) ? 0 : "$10",
|
29362
29367
|
// TODO: padding to be controlled by section/element
|
29363
29368
|
paddingBottom: "env(safe-area-inset-bottom)",
|
29364
29369
|
"@lg": {
|
@@ -29386,7 +29391,7 @@ var ConferenceScreen = () => {
|
|
29386
29391
|
maxHeight: "$24",
|
29387
29392
|
transition: "margin 0.3s ease-in-out",
|
29388
29393
|
bg: "$background_dim",
|
29389
|
-
marginBottom: hideControlsForStreaming ? `-${(
|
29394
|
+
marginBottom: hideControlsForStreaming ? `-${(_f = footerRef.current) == null ? void 0 : _f.clientHeight}px` : void 0,
|
29390
29395
|
"@md": {
|
29391
29396
|
maxHeight: "unset",
|
29392
29397
|
bg: screenProps.screenType === "hls_live_streaming" ? "transparent" : "$background_dim"
|
@@ -31293,4 +31298,4 @@ lodash/lodash.js:
|
|
31293
31298
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
31294
31299
|
*)
|
31295
31300
|
*/
|
31296
|
-
//# sourceMappingURL=chunk-
|
31301
|
+
//# sourceMappingURL=chunk-KRTJ2T7F.js.map
|