@100mslive/roomkit-react 0.3.7-alpha.1 → 0.3.7-alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-QKPBZFZP.js → HLSView-RHG5VXUT.js} +2 -2
- package/dist/{chunk-LVXGI4HW.js → chunk-SPJHBZ24.js} +197 -189
- package/dist/{chunk-LVXGI4HW.js.map → chunk-SPJHBZ24.js.map} +3 -3
- package/dist/index.cjs.js +181 -173
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +9 -9
- package/dist/meta.esbuild.json +16 -16
- package/package.json +6 -6
- package/src/Prebuilt/layouts/SidePane.tsx +7 -0
- /package/dist/{HLSView-QKPBZFZP.js.map → HLSView-RHG5VXUT.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_97ca305c-0095-4a3e-b6b1-10dcebd920d3", 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.1 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.7-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_97ca305c-0095-4a3e-b6b1-10dcebd920d3", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.1/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.7-alpha.1", 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.2.11394342", 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: "603", 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: "20240407.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:17317", 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.7-alpha.1", 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: "8629237506", 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: "f8131959ff3d81261f1f5e10aeca4ffdb85de037", 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: "8abe6400a3d469d855f17212fdb4f2291c7d8e728998b9cec4b081546f62b9d8", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", 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--1712742450757-0.3169478914240358:/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.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712742450552-0.42417225478801224:/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.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712742427536-0.8765541171080096:/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.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712742427351-0.5426797022502139:/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.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/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.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_fa254625-bdb7-4c8e-bcac-830707b51973", INVOCATION_ID: "dbbeaf6ae58547a29248db986b6fb335", 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: "509", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", 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 253", 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.7-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.7-alpha.1", 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: "f8131959ff3d81261f1f5e10aeca4ffdb85de037", 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: "KaustubhKumar05", 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_97ca305c-0095-4a3e-b6b1-10dcebd920d3", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", 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_97ca305c-0095-4a3e-b6b1-10dcebd920d3", 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_97ca305c-0095-4a3e-b6b1-10dcebd920d3" };
|
109
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_fca4aa2f-4392-4e78-8c06-00498463f54b", 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.1 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.7-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_fca4aa2f-4392-4e78-8c06-00498463f54b", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.1/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.7-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.2.11394342", 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: "592", 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: "20240407.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:1890", 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.7-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: "8630055430", 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: "d1abe3be1c61075152b1aca862f5b1fd10aa4a1b", 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: "a35d8c028302345b368224613a6913477b17718c0f607e0a3ec41b97891d1935", 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--1712746492918-0.06019226614785844:/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.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712746492725-0.5550635384805289:/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.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712746470689-0.41934451907770254:/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.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712746470514-0.4816943480790601:/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.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/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.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_ad4b61c4-147a-4f60-9a69-85f5c2c4592c", INVOCATION_ID: "ddb218d5b1f84cd58b6a0922ad718397", 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: "510", 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 369", 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.7-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.7-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: "d1abe3be1c61075152b1aca862f5b1fd10aa4a1b", 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_fca4aa2f-4392-4e78-8c06-00498463f54b", 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_fca4aa2f-4392-4e78-8c06-00498463f54b", 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_fca4aa2f-4392-4e78-8c06-00498463f54b" };
|
110
110
|
}
|
111
111
|
});
|
112
112
|
|
@@ -16364,8 +16364,8 @@ var createSelector = createSelectorCreator(defaultMemoize);
|
|
16364
16364
|
// ../hms-video-store/dist/index.js
|
16365
16365
|
var import_ua_parser_js = __toESM(require_ua_parser());
|
16366
16366
|
var import_lodash3 = __toESM(require_lodash2());
|
16367
|
-
import { v4 as
|
16368
|
-
import { v4 as
|
16367
|
+
import { v4 as Ya } from "uuid";
|
16368
|
+
import { v4 as Qa } from "uuid";
|
16369
16369
|
|
16370
16370
|
// ../../node_modules/webrtc-adapter/src/js/adapter_core.js
|
16371
16371
|
init_define_process_env();
|
@@ -16603,7 +16603,7 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
16603
16603
|
if (typeof c !== "object" || c.mandatory || c.optional) {
|
16604
16604
|
return c;
|
16605
16605
|
}
|
16606
|
-
const
|
16606
|
+
const cc2 = {};
|
16607
16607
|
Object.keys(c).forEach((key) => {
|
16608
16608
|
if (key === "require" || key === "advanced" || key === "mediaSource") {
|
16609
16609
|
return;
|
@@ -16619,35 +16619,35 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
16619
16619
|
return name === "deviceId" ? "sourceId" : name;
|
16620
16620
|
};
|
16621
16621
|
if (r.ideal !== void 0) {
|
16622
|
-
|
16622
|
+
cc2.optional = cc2.optional || [];
|
16623
16623
|
let oc2 = {};
|
16624
16624
|
if (typeof r.ideal === "number") {
|
16625
16625
|
oc2[oldname_("min", key)] = r.ideal;
|
16626
|
-
|
16626
|
+
cc2.optional.push(oc2);
|
16627
16627
|
oc2 = {};
|
16628
16628
|
oc2[oldname_("max", key)] = r.ideal;
|
16629
|
-
|
16629
|
+
cc2.optional.push(oc2);
|
16630
16630
|
} else {
|
16631
16631
|
oc2[oldname_("", key)] = r.ideal;
|
16632
|
-
|
16632
|
+
cc2.optional.push(oc2);
|
16633
16633
|
}
|
16634
16634
|
}
|
16635
16635
|
if (r.exact !== void 0 && typeof r.exact !== "number") {
|
16636
|
-
|
16637
|
-
|
16636
|
+
cc2.mandatory = cc2.mandatory || {};
|
16637
|
+
cc2.mandatory[oldname_("", key)] = r.exact;
|
16638
16638
|
} else {
|
16639
16639
|
["min", "max"].forEach((mix) => {
|
16640
16640
|
if (r[mix] !== void 0) {
|
16641
|
-
|
16642
|
-
|
16641
|
+
cc2.mandatory = cc2.mandatory || {};
|
16642
|
+
cc2.mandatory[oldname_(mix, key)] = r[mix];
|
16643
16643
|
}
|
16644
16644
|
});
|
16645
16645
|
}
|
16646
16646
|
});
|
16647
16647
|
if (c.advanced) {
|
16648
|
-
|
16648
|
+
cc2.optional = (cc2.optional || []).concat(c.advanced);
|
16649
16649
|
}
|
16650
|
-
return
|
16650
|
+
return cc2;
|
16651
16651
|
};
|
16652
16652
|
const shimConstraints_ = function(constraints, func) {
|
16653
16653
|
if (browserDetails.version >= 61) {
|
@@ -18462,24 +18462,24 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
|
|
18462
18462
|
|
18463
18463
|
// ../hms-video-store/dist/index.js
|
18464
18464
|
var import_lodash4 = __toESM(require_lodash2());
|
18465
|
-
import { v4 as
|
18466
|
-
import { v4 as
|
18467
|
-
import { v4 as
|
18468
|
-
import { EventEmitter2 as
|
18465
|
+
import { v4 as no } from "uuid";
|
18466
|
+
import { v4 as po } from "uuid";
|
18467
|
+
import { v4 as go } from "uuid";
|
18468
|
+
import { EventEmitter2 as To } from "eventemitter2";
|
18469
18469
|
var Dt = __toESM(require_lib());
|
18470
|
-
import { EventEmitter2 as
|
18471
|
-
import { v4 as
|
18472
|
-
import { EventEmitter2 as
|
18473
|
-
import
|
18474
|
-
import { v4 as
|
18475
|
-
import { v4 as
|
18476
|
-
var
|
18477
|
-
var
|
18478
|
-
var
|
18470
|
+
import { EventEmitter2 as No } from "eventemitter2";
|
18471
|
+
import { v4 as Uo } from "uuid";
|
18472
|
+
import { EventEmitter2 as Bo } from "eventemitter2";
|
18473
|
+
import Vo from "eventemitter2";
|
18474
|
+
import { v4 as Fo } from "uuid";
|
18475
|
+
import { v4 as $o } from "uuid";
|
18476
|
+
var Ra = Object.defineProperty;
|
18477
|
+
var Ia = Object.defineProperties;
|
18478
|
+
var Ha = Object.getOwnPropertyDescriptors;
|
18479
18479
|
var Ft = Object.getOwnPropertySymbols;
|
18480
18480
|
var Kr = Object.prototype.hasOwnProperty;
|
18481
18481
|
var qr = Object.prototype.propertyIsEnumerable;
|
18482
|
-
var $r = (a2, e, t) => e in a2 ?
|
18482
|
+
var $r = (a2, e, t) => e in a2 ? Ra(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
18483
18483
|
var m = (a2, e) => {
|
18484
18484
|
for (var t in e || (e = {}))
|
18485
18485
|
Kr.call(e, t) && $r(a2, t, e[t]);
|
@@ -18488,7 +18488,7 @@ var m = (a2, e) => {
|
|
18488
18488
|
qr.call(e, t) && $r(a2, t, e[t]);
|
18489
18489
|
return a2;
|
18490
18490
|
};
|
18491
|
-
var v = (a2, e) =>
|
18491
|
+
var v = (a2, e) => Ia(a2, Ha(e));
|
18492
18492
|
var Zi = (a2, e) => {
|
18493
18493
|
var t = {};
|
18494
18494
|
for (var i in a2)
|
@@ -18498,21 +18498,21 @@ var Zi = (a2, e) => {
|
|
18498
18498
|
e.indexOf(i) < 0 && qr.call(a2, i) && (t[i] = a2[i]);
|
18499
18499
|
return t;
|
18500
18500
|
};
|
18501
|
-
var
|
18502
|
-
var ur =
|
18503
|
-
|
18501
|
+
var wa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
18502
|
+
var ur = wa((od, za) => {
|
18503
|
+
za.exports = { version: "0.12.7-alpha.2", 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"] };
|
18504
18504
|
});
|
18505
18505
|
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 || {});
|
18506
|
-
var
|
18506
|
+
var Da = ((e) => (e.CHAT = "chat", e))(Da || {});
|
18507
18507
|
var jr = ((t) => (t.INFO = "info", t.ERROR = "error", t))(jr || {});
|
18508
|
-
var tr = ((
|
18508
|
+
var tr = ((L) => (L.PEER_JOINED = "PEER_JOINED", L.PEER_LEFT = "PEER_LEFT", L.PEER_LIST = "PEER_LIST", L.NEW_MESSAGE = "NEW_MESSAGE", L.ERROR = "ERROR", L.RECONNECTING = "RECONNECTING", L.RECONNECTED = "RECONNECTED", L.TRACK_ADDED = "TRACK_ADDED", L.TRACK_REMOVED = "TRACK_REMOVED", L.TRACK_MUTED = "TRACK_MUTED", L.TRACK_UNMUTED = "TRACK_UNMUTED", L.TRACK_DEGRADED = "TRACK_DEGRADED", L.TRACK_RESTORED = "TRACK_RESTORED", L.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", L.ROLE_UPDATED = "ROLE_UPDATED", L.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", L.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", L.ROOM_ENDED = "ROOM_ENDED", L.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", L.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", L.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", L.NAME_UPDATED = "NAME_UPDATED", L.METADATA_UPDATED = "METADATA_UPDATED", L.POLL_CREATED = "POLL_CREATED", L.POLL_STARTED = "POLL_STARTED", L.POLL_STOPPED = "POLL_STOPPED", L.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", L.POLLS_LIST = "POLLS_LIST", L.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", L))(tr || {});
|
18509
18509
|
var Jr = ((t) => (t.audio = "audio", t.video = "video", t))(Jr || {});
|
18510
18510
|
function He(a2, e) {
|
18511
18511
|
let t, i;
|
18512
18512
|
if (e)
|
18513
18513
|
for (let r of e.auxiliaryTracks) {
|
18514
18514
|
let s = a2[r];
|
18515
|
-
|
18515
|
+
_a7(s) && (i = tt(s) ? s : i, t = it(s) ? s : t);
|
18516
18516
|
}
|
18517
18517
|
return { video: t, audio: i };
|
18518
18518
|
}
|
@@ -18522,7 +18522,7 @@ function tt(a2) {
|
|
18522
18522
|
function it(a2) {
|
18523
18523
|
return a2 && a2.type === "video";
|
18524
18524
|
}
|
18525
|
-
function
|
18525
|
+
function _a7(a2) {
|
18526
18526
|
return a2 && a2.source === "screen";
|
18527
18527
|
}
|
18528
18528
|
function $t(a2) {
|
@@ -18543,33 +18543,33 @@ function st(a2) {
|
|
18543
18543
|
return (r = a2 == null ? void 0 : a2.publishParams) != null && r.allowed && (e = a2.publishParams.allowed.includes("video"), t = a2.publishParams.allowed.includes("audio"), i = a2.publishParams.allowed.includes("screen")), { video: e, audio: t, screen: i };
|
18544
18544
|
}
|
18545
18545
|
var B = (a2) => a2.room;
|
18546
|
-
var
|
18547
|
-
var
|
18548
|
-
var
|
18546
|
+
var Na = (a2) => a2.errors;
|
18547
|
+
var Dn = createSelector(Na, (a2) => a2.length === 0 ? null : a2.at(-1));
|
18548
|
+
var _n = createSelector(B, (a2) => a2.id);
|
18549
18549
|
var G = (a2) => a2.peers;
|
18550
18550
|
var Kt = (a2) => a2.messages.byID;
|
18551
18551
|
var Yr = (a2) => a2.messages.allIDs;
|
18552
18552
|
var D = (a2) => a2.tracks;
|
18553
18553
|
var ir = (a2) => a2.appData;
|
18554
|
-
var
|
18554
|
+
var Oa = (a2) => a2.speakers;
|
18555
18555
|
var ye = createSelector([B], (a2) => a2 && a2.isConnected);
|
18556
|
-
var
|
18557
|
-
var
|
18558
|
-
var oe = createSelector([B, G,
|
18559
|
-
var
|
18556
|
+
var xn = createSelector([ye, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
|
18557
|
+
var xa = (a2) => a2.hideLocalPeer;
|
18558
|
+
var oe = createSelector([B, G, xa], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
18559
|
+
var Ua = createSelector(D, (a2) => Object.values(a2));
|
18560
18560
|
var z = createSelector(B, G, (a2, e) => e[a2.localPeer]);
|
18561
18561
|
var ue = createSelector(B, (a2) => a2.localPeer);
|
18562
|
-
var
|
18563
|
-
var
|
18562
|
+
var Un = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
|
18563
|
+
var Bn = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
|
18564
18564
|
var Z = createSelector(z, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
18565
18565
|
var q = createSelector(z, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
18566
|
-
var
|
18567
|
-
var Zr = createSelector([Z, q,
|
18566
|
+
var Ba = createSelector(z, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
18567
|
+
var Zr = createSelector([Z, q, Ba], (a2, e, t) => {
|
18568
18568
|
let i = t ? [...t] : [];
|
18569
18569
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
18570
18570
|
});
|
18571
|
-
var
|
18572
|
-
var
|
18571
|
+
var Vn = createSelector(oe, (a2) => a2.filter((e) => !e.isLocal));
|
18572
|
+
var Fn = createSelector(G, Oa, (a2, e) => {
|
18573
18573
|
let t = Object.entries(e).sort((i, r) => {
|
18574
18574
|
var n, l;
|
18575
18575
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -18586,7 +18586,7 @@ var sr = createSelector(z, D, (a2, e) => {
|
|
18586
18586
|
let { video: t, audio: i } = He(e, a2);
|
18587
18587
|
return !!(t || i);
|
18588
18588
|
});
|
18589
|
-
var
|
18589
|
+
var Va = createSelector(G, D, (a2, e) => {
|
18590
18590
|
let t;
|
18591
18591
|
for (let i in a2) {
|
18592
18592
|
let r = a2[i], { video: s, audio: o } = He(e, r);
|
@@ -18596,15 +18596,15 @@ var Ba = createSelector(G, D, (a2, e) => {
|
|
18596
18596
|
}
|
18597
18597
|
return t;
|
18598
18598
|
});
|
18599
|
-
var
|
18600
|
-
var
|
18599
|
+
var Wn = createSelector(Va, (a2) => !!a2);
|
18600
|
+
var $n = createSelector(G, D, (a2, e) => {
|
18601
18601
|
for (let t in a2) {
|
18602
18602
|
let i = a2[t], { audio: r, video: s } = He(e, i);
|
18603
18603
|
if (!s && r)
|
18604
18604
|
return i;
|
18605
18605
|
}
|
18606
18606
|
});
|
18607
|
-
var
|
18607
|
+
var Kn = createSelector(G, D, (a2, e) => {
|
18608
18608
|
let t = [], i = [];
|
18609
18609
|
for (let r in a2) {
|
18610
18610
|
let s = a2[r], { video: o, audio: n } = He(e, s);
|
@@ -18612,62 +18612,62 @@ var $n = createSelector(G, D, (a2, e) => {
|
|
18612
18612
|
}
|
18613
18613
|
return t.concat(i);
|
18614
18614
|
});
|
18615
|
-
var
|
18615
|
+
var qn = createSelector(G, D, (a2, e) => {
|
18616
18616
|
for (let t in e) {
|
18617
18617
|
let i = e[t];
|
18618
18618
|
if (rt(i) && it(i) && i.peerId)
|
18619
18619
|
return a2[i.peerId];
|
18620
18620
|
}
|
18621
18621
|
});
|
18622
|
-
var
|
18622
|
+
var jn = createSelector(G, D, (a2, e) => {
|
18623
18623
|
for (let t in e) {
|
18624
18624
|
let i = e[t];
|
18625
18625
|
if ($t(i) && i.peerId)
|
18626
18626
|
return a2[i.peerId];
|
18627
18627
|
}
|
18628
18628
|
});
|
18629
|
-
var
|
18630
|
-
var
|
18631
|
-
var
|
18629
|
+
var Jn = createSelector(Ua, (a2) => a2.filter(Qr));
|
18630
|
+
var Qn = createSelector(Yr, (a2) => a2.length);
|
18631
|
+
var zn = createSelector(Kt, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
18632
18632
|
var at = createSelector(Yr, Kt, (a2, e) => {
|
18633
18633
|
let t = [];
|
18634
18634
|
return a2.forEach((i) => {
|
18635
18635
|
t.push(e[i]);
|
18636
18636
|
}), t;
|
18637
18637
|
});
|
18638
|
-
var
|
18638
|
+
var Fa = createSelector(at, (a2) => a2.filter((e) => {
|
18639
18639
|
var t;
|
18640
18640
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
18641
18641
|
}));
|
18642
|
-
var
|
18642
|
+
var Yn = createSelector(Fa, (a2) => a2.filter((e) => !e.read).length);
|
18643
18643
|
var Y = createSelector([B], (a2) => a2 && a2.roomState);
|
18644
18644
|
var ts = createSelector(Y, (a2) => a2 === "Preview");
|
18645
|
-
var
|
18645
|
+
var Xn = createSelector(B, (a2) => a2.roomState !== "Disconnected");
|
18646
18646
|
var ne = (a2) => a2.roles;
|
18647
|
-
var
|
18647
|
+
var Zn = createSelector([ne], (a2) => Object.keys(a2));
|
18648
18648
|
var qt = createSelector([z, ne], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
18649
|
-
var
|
18649
|
+
var Ga = (a2) => {
|
18650
18650
|
var e;
|
18651
18651
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
18652
18652
|
};
|
18653
|
-
var is = createSelector([
|
18654
|
-
var
|
18653
|
+
var is = createSelector([Ga, ne], (a2, e) => a2 ? e[a2] : null);
|
18654
|
+
var ec = createSelector([qt], (a2) => {
|
18655
18655
|
var e;
|
18656
18656
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
18657
18657
|
});
|
18658
18658
|
var rs = createSelector(qt, (a2) => a2 == null ? void 0 : a2.permissions);
|
18659
|
-
var
|
18660
|
-
var
|
18661
|
-
var
|
18662
|
-
var
|
18663
|
-
var
|
18664
|
-
var
|
18665
|
-
var
|
18666
|
-
var
|
18659
|
+
var tc = createSelector(B, (a2) => a2.recording);
|
18660
|
+
var ic = createSelector(B, (a2) => a2.rtmp);
|
18661
|
+
var rc = createSelector(B, (a2) => a2.hls);
|
18662
|
+
var sc = createSelector(B, (a2) => a2.sessionId);
|
18663
|
+
var ac = createSelector(B, (a2) => a2.startedAt);
|
18664
|
+
var oc = createSelector(B, (a2) => !!a2.isLargeRoom);
|
18665
|
+
var nc = createSelector(B, (a2) => !!a2.isEffectsEnabled);
|
18666
|
+
var cc = createSelector(B, (a2) => a2.effectsKey);
|
18667
18667
|
var ss = (a2) => a2.polls;
|
18668
|
-
var
|
18669
|
-
var
|
18670
|
-
var
|
18668
|
+
var pc = createSelector(oe, (a2) => a2.filter((e) => e.isHandRaised));
|
18669
|
+
var Wa = (a2) => a2.whiteboards;
|
18670
|
+
var hc = createSelector(Wa, (a2) => Object.values(a2)[0]);
|
18671
18671
|
var os = (a2 = "audio") => (e) => e.playlist[a2].list;
|
18672
18672
|
var ar = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
18673
18673
|
var ns = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
@@ -18685,7 +18685,7 @@ function R(a2) {
|
|
18685
18685
|
return (e) => (t) => a2(t, e);
|
18686
18686
|
}
|
18687
18687
|
var Ss = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(Ss || {});
|
18688
|
-
var
|
18688
|
+
var $a = typeof window != "undefined" && typeof window.expect != "undefined";
|
18689
18689
|
var d = class {
|
18690
18690
|
static v(e, ...t) {
|
18691
18691
|
this.log(0, e, ...t);
|
@@ -18751,25 +18751,25 @@ var d = class {
|
|
18751
18751
|
}
|
18752
18752
|
}
|
18753
18753
|
};
|
18754
|
-
d.level =
|
18754
|
+
d.level = $a ? 7 : 0;
|
18755
18755
|
var pe = new import_ua_parser_js.UAParser();
|
18756
18756
|
var _ = typeof window != "undefined";
|
18757
18757
|
var gs;
|
18758
18758
|
var Ce = typeof window == "undefined" && !((gs = pe.getBrowser().name) != null && gs.toLowerCase().includes("electron"));
|
18759
|
-
var
|
18760
|
-
var
|
18759
|
+
var qa = () => !Ce;
|
18760
|
+
var yc = qa();
|
18761
18761
|
var Ts;
|
18762
18762
|
var fs;
|
18763
18763
|
var Ms = ((fs = (Ts = pe.getBrowser()) == null ? void 0 : Ts.name) == null ? void 0 : fs.toLowerCase()) === "firefox";
|
18764
18764
|
var ys = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(ys || {});
|
18765
|
-
function
|
18765
|
+
function ja() {
|
18766
18766
|
if (_ && window) {
|
18767
18767
|
let a2 = window.location.hostname;
|
18768
18768
|
return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
|
18769
18769
|
}
|
18770
18770
|
return "CUSTOM";
|
18771
18771
|
}
|
18772
|
-
var Ve =
|
18772
|
+
var Ve = ja();
|
18773
18773
|
var M = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
|
18774
18774
|
var f = class a extends Error {
|
18775
18775
|
constructor(t, i, r, s, o, n = false) {
|
@@ -18800,7 +18800,7 @@ var f = class a extends Error {
|
|
18800
18800
|
}`;
|
18801
18801
|
}
|
18802
18802
|
};
|
18803
|
-
var
|
18803
|
+
var Ja = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
18804
18804
|
var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
18805
18805
|
return new f(M.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
18806
18806
|
}, WebSocketConnectionLost(a2, e = "") {
|
@@ -18860,7 +18860,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
|
18860
18860
|
}, StatsFailed(a2, e = "") {
|
18861
18861
|
return new f(M.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
18862
18862
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
18863
|
-
return new f(a2, "ServerErrors", e, t, t,
|
18863
|
+
return new f(a2, "ServerErrors", e, t, t, Ja.includes(e));
|
18864
18864
|
}, AlreadyJoined(a2, e = "") {
|
18865
18865
|
return new f(M.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
18866
18866
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
@@ -18969,7 +18969,7 @@ var ce = class {
|
|
18969
18969
|
};
|
18970
18970
|
var Es = () => {
|
18971
18971
|
let a2, e = new ce("hms-analytics-deviceId"), t = e.get();
|
18972
|
-
return t ? a2 = t : (a2 =
|
18972
|
+
return t ? a2 = t : (a2 = Qa(), e.set(a2)), a2;
|
18973
18973
|
};
|
18974
18974
|
function ie(a2) {
|
18975
18975
|
return a2 != null;
|
@@ -18989,7 +18989,7 @@ var As = (a2, e = ",") => Object.keys(a2).filter((t) => ie(a2[t])).map((t) => `$
|
|
18989
18989
|
var I = class {
|
18990
18990
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
18991
18991
|
this.metadata = { peer: {}, userAgent: ot() };
|
18992
|
-
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id =
|
18992
|
+
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = Ya(), this.device_id = Es();
|
18993
18993
|
}
|
18994
18994
|
toSignalParams() {
|
18995
18995
|
return { name: this.name, info: v(m({}, this.properties), { timestamp: this.timestamp, domain: Ve }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
@@ -19136,7 +19136,8 @@ function Qt(a2, e = 300) {
|
|
19136
19136
|
var gr = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(gr || {});
|
19137
19137
|
var ws = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(ws || {});
|
19138
19138
|
var Ds = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Ds || {});
|
19139
|
-
var _s = ((i) => (i.
|
19139
|
+
var _s = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(_s || {});
|
19140
|
+
var Ns = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ns || {});
|
19140
19141
|
var Tr = class {
|
19141
19142
|
constructor() {
|
19142
19143
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
@@ -19164,7 +19165,7 @@ var Tr = class {
|
|
19164
19165
|
return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
19165
19166
|
}
|
19166
19167
|
};
|
19167
|
-
var
|
19168
|
+
var Bs = new Tr();
|
19168
19169
|
var fr = class {
|
19169
19170
|
constructor() {
|
19170
19171
|
this.TAG = "[HMSResizeObserverWrapper]";
|
@@ -19192,15 +19193,15 @@ var fr = class {
|
|
19192
19193
|
return e || d.w(this.TAG, "Resize Observer is not supported"), e;
|
19193
19194
|
}
|
19194
19195
|
};
|
19195
|
-
var
|
19196
|
+
var Vs = new fr();
|
19196
19197
|
var vr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(vr || {});
|
19197
19198
|
var Mr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Mr || {});
|
19198
|
-
var
|
19199
|
-
var
|
19199
|
+
var Ws = "https://event.100ms.live/v2/client/report";
|
19200
|
+
var $s = "https://event-nonprod.100ms.live/v2/client/report";
|
19200
19201
|
var pt = Math.pow(2, 31) - 1;
|
19201
19202
|
var Qe = class {
|
19202
19203
|
};
|
19203
|
-
Qe.makePeerId = () =>
|
19204
|
+
Qe.makePeerId = () => go();
|
19204
19205
|
var gt = "HMS-Store:";
|
19205
19206
|
var k = class {
|
19206
19207
|
static v(e, ...t) {
|
@@ -19270,130 +19271,130 @@ var k = class {
|
|
19270
19271
|
k.level = 0;
|
19271
19272
|
var Cr = (a2, e) => e;
|
19272
19273
|
var Tt = (a2, e) => e;
|
19273
|
-
var
|
19274
|
-
var To = (a2, e) => e;
|
19274
|
+
var Zs = (a2, e) => e;
|
19275
19275
|
var fo = (a2, e) => e;
|
19276
|
+
var vo = (a2, e) => e;
|
19276
19277
|
var W = createSelector([G, Cr], (a2, e) => e ? a2[e] : null);
|
19277
19278
|
var Lr = createSelector([D, Tt], (a2, e) => e ? a2[e] : null);
|
19278
|
-
var
|
19279
|
+
var Mo = createSelector([D, Tt], (a2, e) => {
|
19279
19280
|
if (!e)
|
19280
19281
|
return null;
|
19281
19282
|
let t = a2[e];
|
19282
19283
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
19283
19284
|
});
|
19284
|
-
var
|
19285
|
+
var yo = createSelector([D, Tt], (a2, e) => {
|
19285
19286
|
if (!e)
|
19286
19287
|
return null;
|
19287
19288
|
let t = a2[e];
|
19288
19289
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
19289
19290
|
});
|
19290
|
-
var
|
19291
|
+
var ko = createSelector([D, Tt], (a2, e) => {
|
19291
19292
|
if (!e)
|
19292
19293
|
return null;
|
19293
19294
|
let t = a2[e];
|
19294
19295
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
19295
19296
|
});
|
19296
|
-
var
|
19297
|
+
var Eo = createSelector([D, Tt], (a2, e) => {
|
19297
19298
|
if (!e)
|
19298
19299
|
return null;
|
19299
19300
|
let t = a2[e];
|
19300
19301
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
19301
19302
|
});
|
19302
|
-
var
|
19303
|
+
var Po = createSelector([ss, vo], (a2, e) => e ? a2[e] : null);
|
19303
19304
|
var Q = R(W);
|
19304
|
-
var
|
19305
|
+
var um = R(createSelector([ir, fo], (a2, e) => {
|
19305
19306
|
if (a2)
|
19306
19307
|
return e ? a2[e] : a2;
|
19307
19308
|
}));
|
19308
|
-
function
|
19309
|
+
function pm(a2) {
|
19309
19310
|
return (e) => {
|
19310
19311
|
if (e.sessionStore)
|
19311
19312
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
19312
19313
|
};
|
19313
19314
|
}
|
19314
|
-
var
|
19315
|
-
var
|
19315
|
+
var mm = R(createSelector(W, (a2) => a2 == null ? void 0 : a2.name));
|
19316
|
+
var Sm = R(createSelector(W, (a2) => a2 == null ? void 0 : a2.type));
|
19316
19317
|
var ni = R(Lr);
|
19317
|
-
var
|
19318
|
-
var Sm = R(Mo);
|
19318
|
+
var ea = R(Mo);
|
19319
19319
|
var gm = R(yo);
|
19320
19320
|
var Tm = R(ko);
|
19321
|
-
var
|
19321
|
+
var fm = R(Eo);
|
19322
|
+
var bo = R((a2, e) => {
|
19322
19323
|
let t = W(a2, e);
|
19323
19324
|
if (t && t.videoTrack && t.videoTrack !== "")
|
19324
19325
|
return a2.tracks[t.videoTrack];
|
19325
19326
|
});
|
19326
|
-
var
|
19327
|
+
var Ao = R((a2, e) => {
|
19327
19328
|
let t = W(a2, e);
|
19328
19329
|
if (t && t.audioTrack && t.audioTrack !== "")
|
19329
19330
|
return a2.tracks[t.audioTrack];
|
19330
19331
|
});
|
19331
|
-
var
|
19332
|
+
var Mm = R((a2, e) => {
|
19332
19333
|
let t = W(a2, e);
|
19333
19334
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
19334
19335
|
});
|
19335
|
-
var
|
19336
|
-
var
|
19337
|
-
var
|
19338
|
-
let t =
|
19339
|
-
return
|
19340
|
-
};
|
19341
|
-
var
|
19342
|
-
var
|
19336
|
+
var ta = (a2, e) => e ? a2.speakers[e] : null;
|
19337
|
+
var ym = R(createSelector(ta, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
19338
|
+
var Ro = (a2, e) => {
|
19339
|
+
let t = Ao(e)(a2);
|
19340
|
+
return ta(a2, t == null ? void 0 : t.id);
|
19341
|
+
};
|
19342
|
+
var km = R(createSelector(Ro, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
19343
|
+
var Em = R((a2, e) => {
|
19343
19344
|
if (e)
|
19344
19345
|
return a2.connectionQualities[e];
|
19345
19346
|
});
|
19346
|
-
var
|
19347
|
+
var Pm = R((a2, e) => {
|
19347
19348
|
let t = W(a2, e);
|
19348
19349
|
if (t) {
|
19349
19350
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => tt(a2.tracks[r]));
|
19350
19351
|
return i ? a2.tracks[i] : void 0;
|
19351
19352
|
}
|
19352
19353
|
});
|
19353
|
-
var
|
19354
|
+
var bm = R(createSelector(D, W, (a2, e) => {
|
19354
19355
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19355
19356
|
let r = a2[i];
|
19356
19357
|
return rt(r) && it(r);
|
19357
19358
|
});
|
19358
19359
|
return t ? a2[t] : void 0;
|
19359
19360
|
}));
|
19360
|
-
var
|
19361
|
+
var Am = R(createSelector(D, W, (a2, e) => {
|
19361
19362
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19362
19363
|
let r = a2[i];
|
19363
19364
|
return rt(r) && tt(r);
|
19364
19365
|
});
|
19365
19366
|
return t ? a2[t] : void 0;
|
19366
19367
|
}));
|
19367
|
-
var
|
19368
|
+
var Rm = R(createSelector(D, W, (a2, e) => {
|
19368
19369
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19369
19370
|
let r = a2[i];
|
19370
19371
|
return $t(r) && tt(r);
|
19371
19372
|
});
|
19372
19373
|
return t ? a2[t] : void 0;
|
19373
19374
|
}));
|
19374
|
-
var
|
19375
|
-
var
|
19376
|
-
var
|
19375
|
+
var ia = R(createSelector(D, W, (a2, e) => He(a2, e)));
|
19376
|
+
var ra = (a2) => createSelector(ia(a2), (e) => e.audio);
|
19377
|
+
var Hm = R((a2, e) => {
|
19377
19378
|
let t = W(a2, e);
|
19378
19379
|
return Ue(a2, t == null ? void 0 : t.audioTrack);
|
19379
19380
|
});
|
19380
|
-
var
|
19381
|
+
var Cm = R((a2, e) => {
|
19381
19382
|
let t = W(a2, e);
|
19382
19383
|
return Ue(a2, t == null ? void 0 : t.videoTrack);
|
19383
19384
|
});
|
19384
|
-
var
|
19385
|
+
var sa = R((a2, e) => {
|
19385
19386
|
if (e && a2.tracks[e])
|
19386
19387
|
return a2.tracks[e].volume === 0;
|
19387
19388
|
});
|
19388
|
-
var
|
19389
|
+
var Lm = R((a2, e) => {
|
19389
19390
|
let t = W(a2, e);
|
19390
|
-
return
|
19391
|
+
return sa(t == null ? void 0 : t.audioTrack)(a2);
|
19391
19392
|
});
|
19392
|
-
var
|
19393
|
-
let t =
|
19394
|
-
return
|
19393
|
+
var wm = R((a2, e) => {
|
19394
|
+
let t = ra(e)(a2);
|
19395
|
+
return sa(t == null ? void 0 : t.id)(a2);
|
19395
19396
|
});
|
19396
|
-
var
|
19397
|
+
var aa = R((a2, e) => {
|
19397
19398
|
let t = Lr(a2, e);
|
19398
19399
|
if (t) {
|
19399
19400
|
if (t.type !== "audio") {
|
@@ -19403,15 +19404,15 @@ var sa = R((a2, e) => {
|
|
19403
19404
|
return t.volume;
|
19404
19405
|
}
|
19405
19406
|
});
|
19406
|
-
var wm = R((a2, e) => {
|
19407
|
-
let t = W(a2, e);
|
19408
|
-
return sa(t == null ? void 0 : t.audioTrack)(a2);
|
19409
|
-
});
|
19410
19407
|
var Dm = R((a2, e) => {
|
19411
|
-
let t =
|
19412
|
-
return
|
19408
|
+
let t = W(a2, e);
|
19409
|
+
return aa(t == null ? void 0 : t.audioTrack)(a2);
|
19413
19410
|
});
|
19414
19411
|
var _m = R((a2, e) => {
|
19412
|
+
let t = ra(e)(a2);
|
19413
|
+
return aa(t == null ? void 0 : t.id)(a2);
|
19414
|
+
});
|
19415
|
+
var Nm = R((a2, e) => {
|
19415
19416
|
let t = Lr(a2, e);
|
19416
19417
|
if (t) {
|
19417
19418
|
if (t.type !== "video") {
|
@@ -19421,45 +19422,45 @@ var _m = R((a2, e) => {
|
|
19421
19422
|
return t.layer;
|
19422
19423
|
}
|
19423
19424
|
});
|
19424
|
-
var
|
19425
|
+
var oa = createSelector([at, ue, Cr], (a2, e, t) => {
|
19425
19426
|
if (t)
|
19426
19427
|
return a2.filter((i) => {
|
19427
19428
|
var r;
|
19428
19429
|
return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
|
19429
19430
|
});
|
19430
19431
|
});
|
19431
|
-
var
|
19432
|
+
var na = createSelector([at, Zs], (a2, e) => {
|
19432
19433
|
if (e)
|
19433
19434
|
return a2.filter((t) => {
|
19434
19435
|
var i, r;
|
19435
19436
|
return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
|
19436
19437
|
});
|
19437
19438
|
});
|
19438
|
-
var
|
19439
|
+
var Io = createSelector(at, (a2) => a2.filter((e) => {
|
19439
19440
|
var t;
|
19440
19441
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
19441
19442
|
}));
|
19442
|
-
var
|
19443
|
-
var
|
19444
|
-
var
|
19445
|
-
var Om = R(aa);
|
19443
|
+
var Ho = createSelector([na, Zs], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
19444
|
+
var Co = createSelector([oa, Cr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
19445
|
+
var Om = createSelector(Io, (a2) => a2.filter((e) => !e.read).length);
|
19446
19446
|
var xm = R(oa);
|
19447
|
-
var Um = R(
|
19447
|
+
var Um = R(na);
|
19448
19448
|
var Bm = R(Ho);
|
19449
|
-
var
|
19450
|
-
var
|
19449
|
+
var Vm = R(Co);
|
19450
|
+
var ca = R(Po);
|
19451
|
+
var Ym = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
|
19451
19452
|
var r;
|
19452
19453
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
19453
19454
|
}));
|
19454
|
-
var
|
19455
|
-
var
|
19456
|
-
var
|
19457
|
-
var
|
19458
|
-
var
|
19455
|
+
var Lo = (a2) => a2.roleChangeRequests[0] || null;
|
19456
|
+
var Xm = createSelector([Lo, G, ne], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
19457
|
+
var Zm = createSelector([qt], (a2) => st(a2));
|
19458
|
+
var eS = createSelector([is], (a2) => st(a2));
|
19459
|
+
var Do = createSelector([q, D], (a2, e) => {
|
19459
19460
|
let t = null;
|
19460
19461
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
19461
19462
|
});
|
19462
|
-
var
|
19463
|
+
var _o = createSelector([Z, D], (a2, e) => {
|
19463
19464
|
let t = null;
|
19464
19465
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
19465
19466
|
});
|
@@ -19482,7 +19483,7 @@ var Or = class {
|
|
19482
19483
|
this.addEventToStorage(e);
|
19483
19484
|
return;
|
19484
19485
|
}
|
19485
|
-
let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ?
|
19486
|
+
let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? Ws : $s;
|
19486
19487
|
fetch(i, { method: "POST", headers: { "Content-Type": "application/json", Authorization: `Bearer ${e.metadata.token}`, user_agent_v2: e.metadata.userAgent }, body: JSON.stringify(t) }).then((r) => {
|
19487
19488
|
if (r.status === 401) {
|
19488
19489
|
this.removeFromStorage(e);
|
@@ -19512,62 +19513,62 @@ var Te = new Or();
|
|
19512
19513
|
var $ = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))($ || {});
|
19513
19514
|
var Vi = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(Vi || {});
|
19514
19515
|
var Qi = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(Qi || {});
|
19515
|
-
var
|
19516
|
-
var
|
19517
|
-
var
|
19518
|
-
var
|
19519
|
-
var
|
19520
|
-
var
|
19521
|
-
var
|
19516
|
+
var en = (a2) => a2.localPeer.id;
|
19517
|
+
var tn = (a2) => a2.localPeer.audioTrack;
|
19518
|
+
var rn = (a2) => a2.localPeer.videoTrack;
|
19519
|
+
var sn = (a2, e) => e;
|
19520
|
+
var ba = (a2, e) => e;
|
19521
|
+
var an = (a2) => a2.remoteTrackStats;
|
19522
|
+
var Aa = (a2) => a2.peerStats;
|
19522
19523
|
var Fr = (a2) => a2.localTrackStats;
|
19523
|
-
var ve = createSelector([
|
19524
|
-
var
|
19524
|
+
var ve = createSelector([Aa, en], (a2, e) => a2[e]);
|
19525
|
+
var on = createSelector(ve, (a2) => {
|
19525
19526
|
var e;
|
19526
19527
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
19527
19528
|
});
|
19528
|
-
var
|
19529
|
+
var nn = createSelector(ve, (a2) => {
|
19529
19530
|
var e;
|
19530
19531
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
19531
19532
|
});
|
19532
|
-
var
|
19533
|
+
var cn = createSelector(ve, (a2) => {
|
19533
19534
|
var e;
|
19534
19535
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
19535
19536
|
});
|
19536
|
-
var
|
19537
|
+
var dn = createSelector(ve, (a2) => {
|
19537
19538
|
var e;
|
19538
19539
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
19539
19540
|
});
|
19540
|
-
var
|
19541
|
+
var ln = createSelector(ve, (a2) => {
|
19541
19542
|
var e;
|
19542
19543
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
19543
19544
|
});
|
19544
|
-
var
|
19545
|
+
var un = createSelector(ve, (a2) => {
|
19545
19546
|
var e;
|
19546
19547
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
19547
19548
|
});
|
19548
|
-
var
|
19549
|
+
var pn = createSelector(ve, (a2) => {
|
19549
19550
|
var e;
|
19550
19551
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
19551
19552
|
});
|
19552
|
-
var
|
19553
|
+
var hn = createSelector(ve, (a2) => {
|
19553
19554
|
var e;
|
19554
19555
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
19555
19556
|
});
|
19556
|
-
var
|
19557
|
-
var
|
19558
|
-
var Gr = createSelector([Fr,
|
19559
|
-
var Sn = R(hn);
|
19557
|
+
var mn = createSelector([Aa, sn], (a2, e) => e ? a2[e] : void 0);
|
19558
|
+
var Sn = createSelector([an, ba], (a2, e) => e ? a2[e] : void 0);
|
19559
|
+
var Gr = createSelector([Fr, ba], (a2, e) => e ? a2[e] : void 0);
|
19560
19560
|
var gn = R(mn);
|
19561
|
-
var Tn =
|
19561
|
+
var Tn = R(Sn);
|
19562
|
+
var fn = createSelector([Fr, tn], (a2, e) => {
|
19562
19563
|
var t;
|
19563
19564
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
19564
19565
|
});
|
19565
|
-
var
|
19566
|
-
var
|
19566
|
+
var vn = R(createSelector(Gr, (a2) => a2 == null ? void 0 : a2[0]));
|
19567
|
+
var Mn = createSelector([Fr, rn], (a2, e) => {
|
19567
19568
|
var t;
|
19568
19569
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
19569
19570
|
});
|
19570
|
-
var
|
19571
|
+
var yn = R(createSelector(Gr, (a2) => a2));
|
19571
19572
|
|
19572
19573
|
// src/Prebuilt/components/Header/StreamActions.tsx
|
19573
19574
|
import {
|
@@ -25388,7 +25389,7 @@ var Chat = () => {
|
|
25388
25389
|
const listRef = useRef22(null);
|
25389
25390
|
const hmsActions = useHMSActions39();
|
25390
25391
|
const vanillaStore = useHMSVanillaStore10();
|
25391
|
-
const { enabled: isChatEnabled = true } = useHMSStore61(
|
25392
|
+
const { enabled: isChatEnabled = true } = useHMSStore61(pm("chatState" /* CHAT_STATE */)) || {};
|
25392
25393
|
const isMobile = useMedia17(config.media.md);
|
25393
25394
|
const isMobileHLSStream = useMobileHLSStream();
|
25394
25395
|
const isLandscapeStream = useLandscapeHLSStream();
|
@@ -25472,7 +25473,7 @@ var NewMessageIndicator = ({
|
|
25472
25473
|
scrollToBottom,
|
25473
25474
|
listRef
|
25474
25475
|
}) => {
|
25475
|
-
const unreadCount = useHMSStore61(
|
25476
|
+
const unreadCount = useHMSStore61(zn);
|
25476
25477
|
if (!unreadCount || !listRef.current) {
|
25477
25478
|
return null;
|
25478
25479
|
}
|
@@ -26567,10 +26568,10 @@ var VBPicker = ({ backgroundMedia = [] }) => {
|
|
26567
26568
|
const [blurAmount, setBlurAmount] = useState55(VBHandler.getBlurAmount() || 0.5);
|
26568
26569
|
const roomState = useHMSStore69(selectRoomState4);
|
26569
26570
|
const isLargeRoom = useHMSStore69(selectIsLargeRoom3);
|
26570
|
-
const isEffectsEnabled = useHMSStore69(
|
26571
|
-
const effectsKey = useHMSStore69(
|
26571
|
+
const isEffectsEnabled = useHMSStore69(nc);
|
26572
|
+
const effectsKey = useHMSStore69(cc);
|
26572
26573
|
const isPluginAdded = useHMSStore69(selectIsLocalVideoPluginPresent(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
|
26573
|
-
const background = useHMSStore69(
|
26574
|
+
const background = useHMSStore69(um(APP_DATA.background));
|
26574
26575
|
const mediaList = backgroundMedia.length ? backgroundMedia.map((media) => media.url || "") : defaultMedia2;
|
26575
26576
|
const inPreview = roomState === HMSRoomState4.Preview;
|
26576
26577
|
const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
|
@@ -26757,6 +26758,12 @@ var Wrapper3 = styled("div", {
|
|
26757
26758
|
},
|
26758
26759
|
hideControls: {
|
26759
26760
|
true: {}
|
26761
|
+
},
|
26762
|
+
virtualBackground: {
|
26763
|
+
true: {
|
26764
|
+
maxHeight: "100%",
|
26765
|
+
background: "$surface_dim"
|
26766
|
+
}
|
26760
26767
|
}
|
26761
26768
|
},
|
26762
26769
|
compoundVariants: [
|
@@ -26824,7 +26831,8 @@ var SidePane = ({
|
|
26824
26831
|
mobileStream: isMobileHLSStream,
|
26825
26832
|
hideControls,
|
26826
26833
|
overlayChat: !!((_g = elements == null ? void 0 : elements.chat) == null ? void 0 : _g.is_overlay),
|
26827
|
-
roomDescription: isMobile && sidepane === SIDE_PANE_OPTIONS.ROOM_DETAILS
|
26834
|
+
roomDescription: isMobile && sidepane === SIDE_PANE_OPTIONS.ROOM_DETAILS,
|
26835
|
+
virtualBackground: sidepane === SIDE_PANE_OPTIONS.VB
|
26828
26836
|
};
|
26829
26837
|
const SidepaneComponent = match11(sidepane).with(SIDE_PANE_OPTIONS.POLLS, () => /* @__PURE__ */ React127.createElement(
|
26830
26838
|
Wrapper3,
|
@@ -28671,7 +28679,7 @@ var useCloseScreenshareWhiteboard = () => {
|
|
28671
28679
|
};
|
28672
28680
|
|
28673
28681
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
28674
|
-
var HLSView = React151.lazy(() => import("./HLSView-
|
28682
|
+
var HLSView = React151.lazy(() => import("./HLSView-RHG5VXUT.js"));
|
28675
28683
|
var VideoStreamingSection = ({
|
28676
28684
|
screenType,
|
28677
28685
|
elements,
|
@@ -30292,7 +30300,7 @@ function Notifications() {
|
|
30292
30300
|
}, []);
|
30293
30301
|
useCustomEvent4({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
|
30294
30302
|
useEffect65(() => {
|
30295
|
-
var _a9, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m2,
|
30303
|
+
var _a9, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m2, _n2, _o2, _p;
|
30296
30304
|
if (!notification || isNotificationDisabled) {
|
30297
30305
|
return;
|
30298
30306
|
}
|
@@ -30333,7 +30341,7 @@ function Notifications() {
|
|
30333
30341
|
});
|
30334
30342
|
break;
|
30335
30343
|
case HMSNotificationTypes10.ROLE_UPDATED: {
|
30336
|
-
if (((_m2 = notification.data) == null ? void 0 : _m2.isLocal) && ((
|
30344
|
+
if (((_m2 = notification.data) == null ? void 0 : _m2.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
|
30337
30345
|
ToastManager.addToast({
|
30338
30346
|
title: `You are now a ${notification.data.roleName}`
|
30339
30347
|
});
|
@@ -31045,4 +31053,4 @@ lodash/lodash.js:
|
|
31045
31053
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
31046
31054
|
*)
|
31047
31055
|
*/
|
31048
|
-
//# sourceMappingURL=chunk-
|
31056
|
+
//# sourceMappingURL=chunk-SPJHBZ24.js.map
|