@100mslive/roomkit-react 0.3.17-alpha.3 → 0.3.17-alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-OZJSG4V6.js → HLSView-3TZCJ2RD.js} +2 -2
- package/dist/{HLSView-6SX3GTZB.css → HLSView-EZ2C52TT.css} +3 -3
- package/dist/{HLSView-6SX3GTZB.css.map → HLSView-EZ2C52TT.css.map} +1 -1
- package/dist/{chunk-SKEVNNJ2.js → chunk-BSNLB7LM.js} +249 -249
- package/dist/chunk-BSNLB7LM.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +242 -242
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +28 -28
- package/dist/meta.esbuild.json +39 -39
- package/package.json +7 -7
- package/src/Prebuilt/components/AppData/AppData.tsx +1 -1
- package/dist/chunk-SKEVNNJ2.js.map +0 -7
- /package/dist/{HLSView-OZJSG4V6.js.map → HLSView-3TZCJ2RD.js.map} +0 -0
@@ -107,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
|
|
107
107
|
var define_process_env_default;
|
108
108
|
var init_define_process_env = __esm({
|
109
109
|
"<define:process.env>"() {
|
110
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_0e37254f-bc19-4440-b761-919f293f6b6f", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.7-alpha.3", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.17-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_0e37254f-bc19-4440-b761-919f293f6b6f", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.17-alpha.3", 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.11", 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.9", 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: "591", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240721.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.5/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:18997", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.17-alpha.3", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10176675555", 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: "d5977b3f04bb2bbf1f89766d3e0e55fc189af53d", 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: "455f367230d30eee00ec06833ecc19b508a1ae06122395c10d17b459ddf90139", 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--1722414197549-0.9842475188723876:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722414197351-0.9464417725897856:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722414171124-0.1772205229990096:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722414170942-0.6331922006341999:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_c58a2169-06f8-439b-9740-2d84d1a25203", INVOCATION_ID: "3bf0a46eb6654fe1bab650b4899ff8cb", 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: "620", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 26", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/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.17-alpha.3", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.17-alpha.3", 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", GITHUB_SHA: "d5977b3f04bb2bbf1f89766d3e0e55fc189af53d", 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_0e37254f-bc19-4440-b761-919f293f6b6f", 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_0e37254f-bc19-4440-b761-919f293f6b6f", 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.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_0e37254f-bc19-4440-b761-919f293f6b6f" };
|
110
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_44ec2323-f968-4461-ab24-834c57c01fd1", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.7-alpha.4", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.17-alpha.4", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_44ec2323-f968-4461-ab24-834c57c01fd1", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.17-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.11", 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.9", 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: "590", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240721.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.5/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:20500", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.17-alpha.4", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10180749533", 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: "6cb88fbfba742fca285241866c60d6f2bc256a03", 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: "ada74856433e8d79fe54dbcb7a85f9392888fc046b01d19734ae66e7fa44c116", 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--1722431057605-0.6242477955794548:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722431057403-0.6015645421246856:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722431031644-0.46007401146532745:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722431031462-0.8074288001712242:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_dd6774ec-d5d9-4e0a-addb-61db748334f7", INVOCATION_ID: "988bc724adb345e5973a321210ef8382", 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: "621", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 21", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/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.17-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.17-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", GITHUB_SHA: "6cb88fbfba742fca285241866c60d6f2bc256a03", 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_44ec2323-f968-4461-ab24-834c57c01fd1", 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_44ec2323-f968-4461-ab24-834c57c01fd1", 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.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_44ec2323-f968-4461-ab24-834c57c01fd1" };
|
111
111
|
}
|
112
112
|
});
|
113
113
|
|
@@ -5629,10 +5629,10 @@ var require_ua_parser = __commonJS({
|
|
5629
5629
|
}
|
5630
5630
|
};
|
5631
5631
|
var rgxMapper = function(ua2, arrays) {
|
5632
|
-
var i = 0, j2,
|
5632
|
+
var i = 0, j2, k, p, q2, matches, match17;
|
5633
5633
|
while (i < arrays.length && !matches) {
|
5634
5634
|
var regex = arrays[i], props = arrays[i + 1];
|
5635
|
-
j2 =
|
5635
|
+
j2 = k = 0;
|
5636
5636
|
while (j2 < regex.length && !matches) {
|
5637
5637
|
if (!regex[j2]) {
|
5638
5638
|
break;
|
@@ -5640,7 +5640,7 @@ var require_ua_parser = __commonJS({
|
|
5640
5640
|
matches = regex[j2++].exec(ua2);
|
5641
5641
|
if (!!matches) {
|
5642
5642
|
for (p = 0; p < props.length; p++) {
|
5643
|
-
match17 = matches[++
|
5643
|
+
match17 = matches[++k];
|
5644
5644
|
q2 = props[p];
|
5645
5645
|
if (typeof q2 === OBJ_TYPE && q2.length > 0) {
|
5646
5646
|
if (q2.length === 2) {
|
@@ -8668,9 +8668,9 @@ var require_parser = __commonJS({
|
|
8668
8668
|
var validLine = RegExp.prototype.test.bind(/^([a-z])=(.*)/);
|
8669
8669
|
exports.parse = function(sdp2) {
|
8670
8670
|
var session = {}, media = [], location = session;
|
8671
|
-
sdp2.split(/(\r\n|\r|\n)/).filter(validLine).forEach(function(
|
8672
|
-
var type =
|
8673
|
-
var content =
|
8671
|
+
sdp2.split(/(\r\n|\r|\n)/).filter(validLine).forEach(function(l2) {
|
8672
|
+
var type = l2[0];
|
8673
|
+
var content = l2.slice(2);
|
8674
8674
|
if (type === "m") {
|
8675
8675
|
media.push({ rtp: [], fmtp: [] });
|
8676
8676
|
location = media[media.length - 1];
|
@@ -8869,13 +8869,13 @@ var require_react_is_production_min = __commonJS({
|
|
8869
8869
|
init_define_process_env();
|
8870
8870
|
var b2 = "function" === typeof Symbol && Symbol.for;
|
8871
8871
|
var c = b2 ? Symbol.for("react.element") : 60103;
|
8872
|
-
var
|
8872
|
+
var d = b2 ? Symbol.for("react.portal") : 60106;
|
8873
8873
|
var e = b2 ? Symbol.for("react.fragment") : 60107;
|
8874
8874
|
var f2 = b2 ? Symbol.for("react.strict_mode") : 60108;
|
8875
8875
|
var g = b2 ? Symbol.for("react.profiler") : 60114;
|
8876
8876
|
var h = b2 ? Symbol.for("react.provider") : 60109;
|
8877
|
-
var
|
8878
|
-
var
|
8877
|
+
var k = b2 ? Symbol.for("react.context") : 60110;
|
8878
|
+
var l2 = b2 ? Symbol.for("react.async_mode") : 60111;
|
8879
8879
|
var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
|
8880
8880
|
var n = b2 ? Symbol.for("react.forward_ref") : 60112;
|
8881
8881
|
var p = b2 ? Symbol.for("react.suspense") : 60113;
|
@@ -8886,13 +8886,13 @@ var require_react_is_production_min = __commonJS({
|
|
8886
8886
|
var w = b2 ? Symbol.for("react.fundamental") : 60117;
|
8887
8887
|
var x = b2 ? Symbol.for("react.responder") : 60118;
|
8888
8888
|
var y2 = b2 ? Symbol.for("react.scope") : 60119;
|
8889
|
-
function
|
8889
|
+
function z2(a2) {
|
8890
8890
|
if ("object" === typeof a2 && null !== a2) {
|
8891
8891
|
var u = a2.$$typeof;
|
8892
8892
|
switch (u) {
|
8893
8893
|
case c:
|
8894
8894
|
switch (a2 = a2.type, a2) {
|
8895
|
-
case
|
8895
|
+
case l2:
|
8896
8896
|
case m2:
|
8897
8897
|
case e:
|
8898
8898
|
case g:
|
@@ -8901,7 +8901,7 @@ var require_react_is_production_min = __commonJS({
|
|
8901
8901
|
return a2;
|
8902
8902
|
default:
|
8903
8903
|
switch (a2 = a2 && a2.$$typeof, a2) {
|
8904
|
-
case
|
8904
|
+
case k:
|
8905
8905
|
case n:
|
8906
8906
|
case t:
|
8907
8907
|
case r:
|
@@ -8911,68 +8911,68 @@ var require_react_is_production_min = __commonJS({
|
|
8911
8911
|
return u;
|
8912
8912
|
}
|
8913
8913
|
}
|
8914
|
-
case
|
8914
|
+
case d:
|
8915
8915
|
return u;
|
8916
8916
|
}
|
8917
8917
|
}
|
8918
8918
|
}
|
8919
|
-
function
|
8920
|
-
return
|
8919
|
+
function A2(a2) {
|
8920
|
+
return z2(a2) === m2;
|
8921
8921
|
}
|
8922
|
-
exports.AsyncMode =
|
8922
|
+
exports.AsyncMode = l2;
|
8923
8923
|
exports.ConcurrentMode = m2;
|
8924
|
-
exports.ContextConsumer =
|
8924
|
+
exports.ContextConsumer = k;
|
8925
8925
|
exports.ContextProvider = h;
|
8926
8926
|
exports.Element = c;
|
8927
8927
|
exports.ForwardRef = n;
|
8928
8928
|
exports.Fragment = e;
|
8929
8929
|
exports.Lazy = t;
|
8930
8930
|
exports.Memo = r;
|
8931
|
-
exports.Portal =
|
8931
|
+
exports.Portal = d;
|
8932
8932
|
exports.Profiler = g;
|
8933
8933
|
exports.StrictMode = f2;
|
8934
8934
|
exports.Suspense = p;
|
8935
8935
|
exports.isAsyncMode = function(a2) {
|
8936
|
-
return
|
8936
|
+
return A2(a2) || z2(a2) === l2;
|
8937
8937
|
};
|
8938
|
-
exports.isConcurrentMode =
|
8938
|
+
exports.isConcurrentMode = A2;
|
8939
8939
|
exports.isContextConsumer = function(a2) {
|
8940
|
-
return
|
8940
|
+
return z2(a2) === k;
|
8941
8941
|
};
|
8942
8942
|
exports.isContextProvider = function(a2) {
|
8943
|
-
return
|
8943
|
+
return z2(a2) === h;
|
8944
8944
|
};
|
8945
8945
|
exports.isElement = function(a2) {
|
8946
8946
|
return "object" === typeof a2 && null !== a2 && a2.$$typeof === c;
|
8947
8947
|
};
|
8948
8948
|
exports.isForwardRef = function(a2) {
|
8949
|
-
return
|
8949
|
+
return z2(a2) === n;
|
8950
8950
|
};
|
8951
8951
|
exports.isFragment = function(a2) {
|
8952
|
-
return
|
8952
|
+
return z2(a2) === e;
|
8953
8953
|
};
|
8954
8954
|
exports.isLazy = function(a2) {
|
8955
|
-
return
|
8955
|
+
return z2(a2) === t;
|
8956
8956
|
};
|
8957
8957
|
exports.isMemo = function(a2) {
|
8958
|
-
return
|
8958
|
+
return z2(a2) === r;
|
8959
8959
|
};
|
8960
8960
|
exports.isPortal = function(a2) {
|
8961
|
-
return
|
8961
|
+
return z2(a2) === d;
|
8962
8962
|
};
|
8963
8963
|
exports.isProfiler = function(a2) {
|
8964
|
-
return
|
8964
|
+
return z2(a2) === g;
|
8965
8965
|
};
|
8966
8966
|
exports.isStrictMode = function(a2) {
|
8967
|
-
return
|
8967
|
+
return z2(a2) === f2;
|
8968
8968
|
};
|
8969
8969
|
exports.isSuspense = function(a2) {
|
8970
|
-
return
|
8970
|
+
return z2(a2) === p;
|
8971
8971
|
};
|
8972
8972
|
exports.isValidElementType = function(a2) {
|
8973
|
-
return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 === f2 || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h || a2.$$typeof ===
|
8973
|
+
return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 === f2 || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h || a2.$$typeof === k || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v);
|
8974
8974
|
};
|
8975
|
-
exports.typeOf =
|
8975
|
+
exports.typeOf = z2;
|
8976
8976
|
}
|
8977
8977
|
});
|
8978
8978
|
|
@@ -12001,8 +12001,8 @@ function useBorderAudioLevel(audioTrackId) {
|
|
12001
12001
|
});
|
12002
12002
|
return ref;
|
12003
12003
|
}
|
12004
|
-
var sigmoid = (
|
12005
|
-
return 1 / (1 + Math.exp(-
|
12004
|
+
var sigmoid = (z2) => {
|
12005
|
+
return 1 / (1 + Math.exp(-z2));
|
12006
12006
|
};
|
12007
12007
|
|
12008
12008
|
// src/AudioLevel/AudioLevel.tsx
|
@@ -12134,12 +12134,12 @@ var formatBytes = (bytes, unit = "B", decimals = 2) => {
|
|
12134
12134
|
if (!bytes) {
|
12135
12135
|
return "-";
|
12136
12136
|
}
|
12137
|
-
const
|
12137
|
+
const k = 1024;
|
12138
12138
|
const dm2 = decimals < 0 ? 0 : decimals;
|
12139
12139
|
const sizes = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"].map((size) => size + unit);
|
12140
|
-
let i = Math.floor(Math.log(bytes) / Math.log(
|
12140
|
+
let i = Math.floor(Math.log(bytes) / Math.log(k));
|
12141
12141
|
i === 0 && i++;
|
12142
|
-
return `${parseFloat((bytes / Math.pow(
|
12142
|
+
return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm2))} ${sizes[i]}`;
|
12143
12143
|
};
|
12144
12144
|
|
12145
12145
|
// src/Stats/StyledStats.tsx
|
@@ -13751,7 +13751,7 @@ var AppData = React23.memo(() => {
|
|
13751
13751
|
const updatedSettings = __spreadProps(__spreadValues({}, uiSettings), {
|
13752
13752
|
[UI_SETTINGS.isAudioOnly]: void 0,
|
13753
13753
|
[UI_SETTINGS.uiViewMode]: uiSettings.uiViewMode || UI_MODE_GRID,
|
13754
|
-
[UI_SETTINGS.maxTileCount]: ((_b8 = (_a8 = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _a8.grid) == null ? void 0 : _b8.tiles_in_view) || 9
|
13754
|
+
[UI_SETTINGS.maxTileCount]: Number((_b8 = (_a8 = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _a8.grid) == null ? void 0 : _b8.tiles_in_view) || 9
|
13755
13755
|
});
|
13756
13756
|
hmsActions.setAppData(APP_DATA.uiSettings, updatedSettings, true);
|
13757
13757
|
}, [preferences, hmsActions, elements == null ? void 0 : elements.video_tile_layout]);
|
@@ -17330,7 +17330,7 @@ var PinnedBy = ({
|
|
17330
17330
|
|
17331
17331
|
// src/Prebuilt/components/PIP/PIPChat.tsx
|
17332
17332
|
var PIPChat = () => {
|
17333
|
-
var _a7, _b7, _c, _d,
|
17333
|
+
var _a7, _b7, _c, _d, _e, _f, _g, _h, _i, _j;
|
17334
17334
|
const messages = useHMSStore19(selectHMSMessages2);
|
17335
17335
|
const localPeerID = useHMSStore19(selectLocalPeerID3);
|
17336
17336
|
const count = useHMSStore19(selectUnreadHMSMessagesCount2);
|
@@ -17468,7 +17468,7 @@ var PIPChat = () => {
|
|
17468
17468
|
borderRadius: "4px",
|
17469
17469
|
padding: "0 2px"
|
17470
17470
|
},
|
17471
|
-
defaultValue: ((
|
17471
|
+
defaultValue: ((_e = elements.chat) == null ? void 0 : _e.public_chat_enabled) ? "Everyone" : (_g = (_f = elements.chat) == null ? void 0 : _f.roles_whitelist) == null ? void 0 : _g[0]
|
17472
17472
|
},
|
17473
17473
|
(_i = (_h = elements.chat) == null ? void 0 : _h.roles_whitelist) == null ? void 0 : _i.map((role) => /* @__PURE__ */ React49.createElement("option", { key: role, value: role }, role)),
|
17474
17474
|
((_j = elements.chat) == null ? void 0 : _j.public_chat_enabled) ? /* @__PURE__ */ React49.createElement("option", { value: "Everyone" }, "Everyone") : ""
|
@@ -18109,7 +18109,7 @@ var useTracksWithLabel = () => {
|
|
18109
18109
|
return tracksWithLabels;
|
18110
18110
|
};
|
18111
18111
|
var LocalPeerStats = () => {
|
18112
|
-
var _a7, _b7, _c, _d,
|
18112
|
+
var _a7, _b7, _c, _d, _e, _f, _g, _h, _i;
|
18113
18113
|
const stats = useHMSStatsStore3(selectHMSStats3.localPeerStats);
|
18114
18114
|
if (!stats) {
|
18115
18115
|
return null;
|
@@ -18118,7 +18118,7 @@ var LocalPeerStats = () => {
|
|
18118
18118
|
StatsRow2,
|
18119
18119
|
{
|
18120
18120
|
label: "Available Outgoing Bitrate",
|
18121
|
-
value: formatBytes((
|
18121
|
+
value: formatBytes((_e = stats.publish) == null ? void 0 : _e.availableOutgoingBitrate, "b/s")
|
18122
18122
|
}
|
18123
18123
|
), /* @__PURE__ */ React55.createElement(StatsRow2, { label: "Total Bytes Sent", value: formatBytes((_f = stats.publish) == null ? void 0 : _f.bytesSent) }), /* @__PURE__ */ React55.createElement(StatsRow2, { label: "Total Bytes Received", value: formatBytes((_g = stats.subscribe) == null ? void 0 : _g.bytesReceived) }), /* @__PURE__ */ React55.createElement(
|
18124
18124
|
StatsRow2,
|
@@ -19339,8 +19339,8 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
19339
19339
|
}
|
19340
19340
|
if (matches) {
|
19341
19341
|
return navigator2.mediaDevices.enumerateDevices().then((devices) => {
|
19342
|
-
devices = devices.filter((
|
19343
|
-
let dev = devices.find((
|
19342
|
+
devices = devices.filter((d) => d.kind === "videoinput");
|
19343
|
+
let dev = devices.find((d) => matches.some((match17) => d.label.toLowerCase().includes(match17)));
|
19344
19344
|
if (!dev && devices.length && matches.includes("back")) {
|
19345
19345
|
dev = devices[devices.length - 1];
|
19346
19346
|
}
|
@@ -21009,7 +21009,7 @@ function shimParameterlessSetLocalDescription(window2, browserDetails) {
|
|
21009
21009
|
return nativeSetLocalDescription.apply(this, [desc]);
|
21010
21010
|
}
|
21011
21011
|
const func = desc.type === "offer" ? this.createOffer : this.createAnswer;
|
21012
|
-
return func.apply(this).then((
|
21012
|
+
return func.apply(this).then((d) => nativeSetLocalDescription.apply(this, [d]));
|
21013
21013
|
};
|
21014
21014
|
}
|
21015
21015
|
|
@@ -21123,9 +21123,9 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
|
|
21123
21123
|
var import_lodash4 = __toESM(require_lodash2());
|
21124
21124
|
import { v4 as vo } from "uuid";
|
21125
21125
|
import { v4 as Po } from "uuid";
|
21126
|
-
import { v4 as
|
21127
|
-
import { EventEmitter2 as
|
21128
|
-
var
|
21126
|
+
import { v4 as Ro } from "uuid";
|
21127
|
+
import { EventEmitter2 as Ao } from "eventemitter2";
|
21128
|
+
var Kt = __toESM(require_lib());
|
21129
21129
|
import { EventEmitter2 as tn } from "eventemitter2";
|
21130
21130
|
import { v4 as nn } from "uuid";
|
21131
21131
|
import { EventEmitter2 as cn } from "eventemitter2";
|
@@ -21158,15 +21158,15 @@ var mr = (a2, e) => {
|
|
21158
21158
|
return t;
|
21159
21159
|
};
|
21160
21160
|
var Xa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
21161
|
-
var vr = Xa((
|
21162
|
-
no.exports = { version: "0.12.17-alpha.
|
21161
|
+
var vr = Xa((Ac, no) => {
|
21162
|
+
no.exports = { version: "0.12.17-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"] };
|
21163
21163
|
});
|
21164
21164
|
var Sr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Sr || {});
|
21165
21165
|
var Za = ((e) => (e.CHAT = "chat", e))(Za || {});
|
21166
21166
|
var os = ((t) => (t.INFO = "info", t.ERROR = "error", t))(os || {});
|
21167
|
-
var gr = ((
|
21167
|
+
var gr = ((w) => (w.PEER_JOINED = "PEER_JOINED", w.PEER_LEFT = "PEER_LEFT", w.PEER_LIST = "PEER_LIST", w.NEW_MESSAGE = "NEW_MESSAGE", w.ERROR = "ERROR", w.RECONNECTING = "RECONNECTING", w.RECONNECTED = "RECONNECTED", w.TRACK_ADDED = "TRACK_ADDED", w.TRACK_REMOVED = "TRACK_REMOVED", w.TRACK_MUTED = "TRACK_MUTED", w.TRACK_UNMUTED = "TRACK_UNMUTED", w.TRACK_DEGRADED = "TRACK_DEGRADED", w.TRACK_RESTORED = "TRACK_RESTORED", w.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", w.ROLE_UPDATED = "ROLE_UPDATED", w.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", w.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", w.ROOM_ENDED = "ROOM_ENDED", w.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", w.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", w.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", w.NAME_UPDATED = "NAME_UPDATED", w.METADATA_UPDATED = "METADATA_UPDATED", w.POLL_CREATED = "POLL_CREATED", w.POLL_STARTED = "POLL_STARTED", w.POLL_STOPPED = "POLL_STOPPED", w.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", w.POLLS_LIST = "POLLS_LIST", w.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", w.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", w))(gr || {});
|
21168
21168
|
var ns = ((t) => (t.audio = "audio", t.video = "video", t))(ns || {});
|
21169
|
-
function
|
21169
|
+
function Ue(a2, e) {
|
21170
21170
|
let t, i;
|
21171
21171
|
if (e)
|
21172
21172
|
for (let r of e.auxiliaryTracks) {
|
@@ -21193,7 +21193,7 @@ function ht(a2) {
|
|
21193
21193
|
function cs(a2) {
|
21194
21194
|
return a2 ? !!(a2 != null && a2.degraded) : false;
|
21195
21195
|
}
|
21196
|
-
function
|
21196
|
+
function Je(a2, e) {
|
21197
21197
|
return e && a2.tracks[e] ? a2.tracks[e].enabled : false;
|
21198
21198
|
}
|
21199
21199
|
function mt(a2) {
|
@@ -21201,9 +21201,9 @@ function mt(a2) {
|
|
21201
21201
|
let e = false, t = false, i = false;
|
21202
21202
|
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 };
|
21203
21203
|
}
|
21204
|
-
var ls = ((
|
21204
|
+
var ls = ((d) => (d[d.VERBOSE = 0] = "VERBOSE", d[d.DEBUG = 1] = "DEBUG", d[d.INFO = 2] = "INFO", d[d.WARN = 3] = "WARN", d[d.TIME = 4] = "TIME", d[d.TIMEEND = 5] = "TIMEEND", d[d.ERROR = 6] = "ERROR", d[d.NONE = 7] = "NONE", d))(ls || {});
|
21205
21205
|
var to = typeof window != "undefined" && typeof window.expect != "undefined";
|
21206
|
-
var
|
21206
|
+
var l = class {
|
21207
21207
|
static v(e, ...t) {
|
21208
21208
|
this.log(0, e, ...t);
|
21209
21209
|
}
|
@@ -21268,16 +21268,16 @@ var d = class {
|
|
21268
21268
|
}
|
21269
21269
|
}
|
21270
21270
|
};
|
21271
|
-
|
21272
|
-
var
|
21271
|
+
l.level = to ? 7 : 0;
|
21272
|
+
var fe = new import_ua_parser_js.UAParser();
|
21273
21273
|
var U = typeof window != "undefined";
|
21274
21274
|
var us;
|
21275
|
-
var
|
21276
|
-
var ro = () => !
|
21275
|
+
var Be = typeof window == "undefined" && !((us = fe.getBrowser().name) != null && us.toLowerCase().includes("electron"));
|
21276
|
+
var ro = () => !Be;
|
21277
21277
|
var ic = ro();
|
21278
21278
|
var ps;
|
21279
21279
|
var hs;
|
21280
|
-
var gs = ((hs = (ps =
|
21280
|
+
var gs = ((hs = (ps = fe.getBrowser()) == null ? void 0 : ps.name) == null ? void 0 : hs.toLowerCase()) === "firefox";
|
21281
21281
|
var Ts = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ts || {});
|
21282
21282
|
function so() {
|
21283
21283
|
if (U && window) {
|
@@ -21286,8 +21286,8 @@ function so() {
|
|
21286
21286
|
}
|
21287
21287
|
return "CUSTOM";
|
21288
21288
|
}
|
21289
|
-
var
|
21290
|
-
var
|
21289
|
+
var ze = so();
|
21290
|
+
var P3 = { 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 } };
|
21291
21291
|
var f = class a extends Error {
|
21292
21292
|
constructor(t, i, r, s, o, n = false) {
|
21293
21293
|
super(s);
|
@@ -21319,97 +21319,97 @@ var f = class a extends Error {
|
|
21319
21319
|
};
|
21320
21320
|
var ao = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
21321
21321
|
var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
21322
|
-
return new f(
|
21322
|
+
return new f(P3.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
21323
21323
|
}, WebSocketConnectionLost(a2, e = "") {
|
21324
|
-
return new f(
|
21324
|
+
return new f(P3.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
|
21325
21325
|
}, AbnormalClose(a2, e = "") {
|
21326
|
-
return new f(
|
21326
|
+
return new f(P3.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
|
21327
21327
|
} }, APIErrors: { ServerErrors(a2, e, t = "", i = true) {
|
21328
21328
|
return new f(a2, "ServerErrors", e, `[${e}]: Server error ${t}`, t, i);
|
21329
21329
|
}, EndpointUnreachable(a2, e = "") {
|
21330
|
-
return new f(
|
21330
|
+
return new f(P3.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
|
21331
21331
|
}, InvalidTokenFormat(a2, e = "") {
|
21332
|
-
return new f(
|
21332
|
+
return new f(P3.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
|
21333
21333
|
}, InitConfigNotAvailable(a2, e = "") {
|
21334
|
-
return new f(
|
21334
|
+
return new f(P3.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
|
21335
21335
|
} }, TracksErrors: { GenericTrack(a2, e = "") {
|
21336
|
-
return new f(
|
21336
|
+
return new f(P3.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
|
21337
21337
|
}, CantAccessCaptureDevice(a2, e, t = "") {
|
21338
|
-
return new f(
|
21338
|
+
return new f(P3.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
|
21339
21339
|
}, DeviceNotAvailable(a2, e, t = "") {
|
21340
|
-
return new f(
|
21340
|
+
return new f(P3.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
|
21341
21341
|
}, DeviceInUse(a2, e, t = "") {
|
21342
|
-
return new f(
|
21342
|
+
return new f(P3.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
|
21343
21343
|
}, DeviceLostMidway(a2, e, t = "") {
|
21344
|
-
return new f(
|
21344
|
+
return new f(P3.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
|
21345
21345
|
}, NothingToReturn(a2, e = "", t = "There is no media to return. Please select either video or audio or both.") {
|
21346
|
-
return new f(
|
21346
|
+
return new f(P3.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
|
21347
21347
|
}, InvalidVideoSettings(a2, e = "") {
|
21348
|
-
return new f(
|
21348
|
+
return new f(P3.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
|
21349
21349
|
}, AutoplayBlocked(a2, e = "") {
|
21350
|
-
return new f(
|
21350
|
+
return new f(P3.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
|
21351
21351
|
}, CodecChangeNotPermitted(a2, e = "") {
|
21352
|
-
return new f(
|
21352
|
+
return new f(P3.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
|
21353
21353
|
}, OverConstrained(a2, e, t = "") {
|
21354
|
-
return new f(
|
21354
|
+
return new f(P3.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
|
21355
21355
|
}, NoAudioDetected(a2, e = "Please check the mic or use another audio input") {
|
21356
|
-
return new f(
|
21356
|
+
return new f(P3.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
|
21357
21357
|
}, SystemDeniedPermission(a2, e, t = "") {
|
21358
|
-
return new f(
|
21358
|
+
return new f(P3.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
|
21359
21359
|
}, CurrentTabNotShared() {
|
21360
|
-
return new f(
|
21360
|
+
return new f(P3.TracksErrors.CURRENT_TAB_NOT_SHARED, "CurrentTabNotShared", "TRACK", "The app requires you to share the current tab", "You must screen share the current tab in order to proceed");
|
21361
21361
|
}, AudioPlaybackError(a2) {
|
21362
|
-
return new f(
|
21362
|
+
return new f(P3.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
|
21363
21363
|
}, SelectedDeviceMissing(a2) {
|
21364
|
-
return new f(
|
21364
|
+
return new f(P3.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
|
21365
21365
|
} }, WebrtcErrors: { CreateOfferFailed(a2, e = "") {
|
21366
|
-
return new f(
|
21366
|
+
return new f(P3.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
|
21367
21367
|
}, CreateAnswerFailed(a2, e = "") {
|
21368
|
-
return new f(
|
21368
|
+
return new f(P3.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
|
21369
21369
|
}, SetLocalDescriptionFailed(a2, e = "") {
|
21370
|
-
return new f(
|
21370
|
+
return new f(P3.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
|
21371
21371
|
}, SetRemoteDescriptionFailed(a2, e = "") {
|
21372
|
-
return new f(
|
21372
|
+
return new f(P3.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
|
21373
21373
|
}, ICEFailure(a2, e = "", t = false) {
|
21374
|
-
return new f(
|
21374
|
+
return new f(P3.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
|
21375
21375
|
}, ICEDisconnected(a2, e = "") {
|
21376
|
-
return new f(
|
21376
|
+
return new f(P3.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
|
21377
21377
|
}, StatsFailed(a2, e = "") {
|
21378
|
-
return new f(
|
21378
|
+
return new f(P3.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
21379
21379
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
21380
21380
|
return new f(a2, "ServerErrors", e, t, t, ao.includes(e));
|
21381
21381
|
}, AlreadyJoined(a2, e = "") {
|
21382
|
-
return new f(
|
21382
|
+
return new f(P3.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
21383
21383
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
21384
|
-
return new f(
|
21384
|
+
return new f(P3.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
|
21385
21385
|
} }, GenericErrors: { NotConnected(a2, e = "") {
|
21386
|
-
return new f(
|
21386
|
+
return new f(P3.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
|
21387
21387
|
}, Signalling(a2, e) {
|
21388
|
-
return new f(
|
21388
|
+
return new f(P3.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
|
21389
21389
|
}, Unknown(a2, e) {
|
21390
|
-
return new f(
|
21390
|
+
return new f(P3.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
|
21391
21391
|
}, NotReady(a2, e = "") {
|
21392
|
-
return new f(
|
21392
|
+
return new f(P3.GenericErrors.NOT_READY, "NotReady", a2, e, e);
|
21393
21393
|
}, JsonParsingFailed(a2, e, t = "") {
|
21394
|
-
return new f(
|
21394
|
+
return new f(P3.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
|
21395
21395
|
}, TrackMetadataMissing(a2, e = "") {
|
21396
|
-
return new f(
|
21396
|
+
return new f(P3.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
|
21397
21397
|
}, RTCTrackMissing(a2, e = "") {
|
21398
|
-
return new f(
|
21398
|
+
return new f(P3.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
|
21399
21399
|
}, PeerMetadataMissing(a2, e = "") {
|
21400
|
-
return new f(
|
21400
|
+
return new f(P3.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
|
21401
21401
|
}, ValidationFailed(a2, e) {
|
21402
|
-
return new f(
|
21402
|
+
return new f(P3.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
|
21403
21403
|
}, InvalidRole(a2, e) {
|
21404
|
-
return new f(
|
21404
|
+
return new f(P3.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
|
21405
21405
|
}, PreviewAlreadyInProgress(a2, e = "") {
|
21406
|
-
return new f(
|
21406
|
+
return new f(P3.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
|
21407
21407
|
}, LocalStorageAccessDenied(a2 = "Access to localStorage has been denied") {
|
21408
|
-
return new f(
|
21408
|
+
return new f(P3.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
|
21409
21409
|
}, MissingMediaDevices() {
|
21410
|
-
return new f(
|
21410
|
+
return new f(P3.GenericErrors.MISSING_MEDIADEVICES, "MissingMediaDevices", "JOIN", "navigator.mediaDevices is undefined. 100ms SDK won't work on this website as WebRTC is not supported on HTTP endpoints(missing navigator.mediaDevices). Please ensure you're using the SDK either on localhost or a valid HTTPS endpoint.", "", true);
|
21411
21411
|
}, MissingRTCPeerConnection() {
|
21412
|
-
return new f(
|
21412
|
+
return new f(P3.GenericErrors.MISSING_RTCPEERCONNECTION, "MissingRTCPeerConnection", "JOIN", "RTCPeerConnection which is a core requirement for WebRTC call was not found, this could be due to an unsupported browser or browser extensions blocking WebRTC", "", true);
|
21413
21413
|
} }, MediaPluginErrors: { PlatformNotSupported(a2, e = "") {
|
21414
21414
|
return new f(7001, "PlatformNotSupported", a2, "Check HMS Docs to see the list of supported platforms", e);
|
21415
21415
|
}, InitFailed(a2, e = "") {
|
@@ -21421,9 +21421,9 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
|
21421
21421
|
}, DeviceNotSupported(a2, e = "") {
|
21422
21422
|
return new f(7005, "DeviceNotSupported", a2, "Check HMS Docs to see the list of supported devices", e);
|
21423
21423
|
} }, PlaylistErrors: { NoEntryToPlay(a2, e) {
|
21424
|
-
return new f(
|
21424
|
+
return new f(P3.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
|
21425
21425
|
}, NoEntryPlaying(a2, e) {
|
21426
|
-
return new f(
|
21426
|
+
return new f(P3.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
|
21427
21427
|
} } };
|
21428
21428
|
var fr = class {
|
21429
21429
|
constructor() {
|
@@ -21454,10 +21454,10 @@ var fs = () => {
|
|
21454
21454
|
try {
|
21455
21455
|
U && !localStorage && (window.localStorage = new fr());
|
21456
21456
|
} catch (a2) {
|
21457
|
-
|
21457
|
+
l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
|
21458
21458
|
}
|
21459
21459
|
};
|
21460
|
-
var
|
21460
|
+
var pe = class {
|
21461
21461
|
constructor(e) {
|
21462
21462
|
this.key = e;
|
21463
21463
|
this.storage = null;
|
@@ -21466,7 +21466,7 @@ var ue = class {
|
|
21466
21466
|
try {
|
21467
21467
|
return U && !this.storage && (fs(), this.storage = window.localStorage), this.storage;
|
21468
21468
|
} catch (e) {
|
21469
|
-
return
|
21469
|
+
return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
|
21470
21470
|
}
|
21471
21471
|
}
|
21472
21472
|
get() {
|
@@ -21485,37 +21485,37 @@ var ue = class {
|
|
21485
21485
|
}
|
21486
21486
|
};
|
21487
21487
|
var vs = () => {
|
21488
|
-
let a2, e = new
|
21488
|
+
let a2, e = new pe("hms-analytics-deviceId"), t = e.get();
|
21489
21489
|
return t ? a2 = t : (a2 = oo(), e.set(a2)), a2;
|
21490
21490
|
};
|
21491
|
-
function
|
21491
|
+
function ne(a2) {
|
21492
21492
|
return a2 != null;
|
21493
21493
|
}
|
21494
21494
|
var ys = vr().version;
|
21495
21495
|
function Tt(a2 = "prod", e) {
|
21496
|
-
let t = "web", i =
|
21497
|
-
if (
|
21498
|
-
return ks({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ys, env: i, domain:
|
21499
|
-
let r =
|
21500
|
-
return s.type && (p = `${Mr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version:
|
21496
|
+
let t = "web", i = ze !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
|
21497
|
+
if (Be)
|
21498
|
+
return ks({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ys, env: i, domain: ze, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
21499
|
+
let r = fe.getOS(), s = fe.getDevice(), o = fe.getBrowser(), n = Mr(`web_${r.name}`), d = r.version || "", u = Mr(`${o.name}_${o.version}`), p = u;
|
21500
|
+
return s.type && (p = `${Mr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version: d, sdk: t, sdk_version: ys, device_model: p, env: i, domain: ze, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
21501
21501
|
}
|
21502
21502
|
function Mr(a2) {
|
21503
21503
|
return a2.replace(/ /g, "_");
|
21504
21504
|
}
|
21505
|
-
var ks = (a2, e = ",") => Object.keys(a2).filter((t) =>
|
21505
|
+
var ks = (a2, e = ",") => Object.keys(a2).filter((t) => ne(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
|
21506
21506
|
var H = class {
|
21507
21507
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
21508
21508
|
this.metadata = { peer: {}, userAgent: Tt() };
|
21509
21509
|
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = co(), this.device_id = vs();
|
21510
21510
|
}
|
21511
21511
|
toSignalParams() {
|
21512
|
-
return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain:
|
21512
|
+
return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: ze }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
21513
21513
|
}
|
21514
21514
|
};
|
21515
21515
|
var y = class {
|
21516
21516
|
static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
|
21517
|
-
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1,
|
21518
|
-
return new H({ name: o, level: n, properties:
|
21517
|
+
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(M(m({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
|
21518
|
+
return new H({ name: o, level: n, properties: d });
|
21519
21519
|
}
|
21520
21520
|
static disconnect(e, t) {
|
21521
21521
|
let i = "disconnected", r = e ? 2 : 1, s = this.getPropertiesWithError(t, e);
|
@@ -21552,8 +21552,8 @@ var y = class {
|
|
21552
21552
|
return new H({ name: "audioPlaybackError", level: 2, properties: this.getErrorProperties(e) });
|
21553
21553
|
}
|
21554
21554
|
static deviceChange({ isUserSelection: e, selection: t, type: i, devices: r, error: s }) {
|
21555
|
-
let o = this.eventNameFor(s ? "publish" : `device.${i}`, s === void 0), n = s ? 2 : 1,
|
21556
|
-
return new H({ name: o, level: n, properties:
|
21555
|
+
let o = this.eventNameFor(s ? "publish" : `device.${i}`, s === void 0), n = s ? 2 : 1, d = this.getPropertiesWithError({ selection: t, devices: r, isUserSelection: e }, s);
|
21556
|
+
return new H({ name: o, level: n, properties: d });
|
21557
21557
|
}
|
21558
21558
|
static performance(e) {
|
21559
21559
|
let t = "perf.stats", i = 1, r = e.toAnalyticsProperties();
|
@@ -21614,7 +21614,7 @@ var y = class {
|
|
21614
21614
|
y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
|
21615
21615
|
var yr = class {
|
21616
21616
|
constructor() {
|
21617
|
-
this.storage = new
|
21617
|
+
this.storage = new pe("hms-device-selection");
|
21618
21618
|
this.remember = false;
|
21619
21619
|
this.TAG = "[HMSDeviceStorage]";
|
21620
21620
|
}
|
@@ -21629,7 +21629,7 @@ var yr = class {
|
|
21629
21629
|
return;
|
21630
21630
|
let r = this.devices[e].find((o) => this.isSame({ deviceId: t, groupId: i }, o));
|
21631
21631
|
if (!r) {
|
21632
|
-
|
21632
|
+
l.w(this.TAG, `Could not find device with deviceId: ${t}, groupId: ${i}`);
|
21633
21633
|
return;
|
21634
21634
|
}
|
21635
21635
|
let s = this.storage.get() || {};
|
@@ -21646,7 +21646,7 @@ var yr = class {
|
|
21646
21646
|
return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
|
21647
21647
|
}
|
21648
21648
|
};
|
21649
|
-
var
|
21649
|
+
var J = new yr();
|
21650
21650
|
var kr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(kr || {});
|
21651
21651
|
var Pr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Pr || {});
|
21652
21652
|
function ai(a2, e = 300) {
|
@@ -21659,15 +21659,15 @@ function ai(a2, e = 300) {
|
|
21659
21659
|
}, e);
|
21660
21660
|
};
|
21661
21661
|
}
|
21662
|
-
var
|
21663
|
-
var
|
21664
|
-
var
|
21665
|
-
var
|
21662
|
+
var Ir = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Ir || {});
|
21663
|
+
var Is = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Is || {});
|
21664
|
+
var Rs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Rs || {});
|
21665
|
+
var As = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(As || {});
|
21666
21666
|
var Hs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Hs || {});
|
21667
21667
|
var Cs = ((e) => (e.CAPTION = "caption", e))(Cs || {});
|
21668
|
-
var
|
21668
|
+
var Rr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Rr || {});
|
21669
21669
|
var Ls = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ls || {});
|
21670
|
-
var
|
21670
|
+
var Ar = class {
|
21671
21671
|
constructor() {
|
21672
21672
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
21673
21673
|
this.listeners = /* @__PURE__ */ new WeakMap();
|
@@ -21691,10 +21691,10 @@ var Ir = class {
|
|
21691
21691
|
}
|
21692
21692
|
isSupported() {
|
21693
21693
|
let e = U && typeof window.IntersectionObserver != "undefined";
|
21694
|
-
return e ||
|
21694
|
+
return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
21695
21695
|
}
|
21696
21696
|
};
|
21697
|
-
var Ns = new
|
21697
|
+
var Ns = new Ar();
|
21698
21698
|
var Hr = class {
|
21699
21699
|
constructor() {
|
21700
21700
|
this.TAG = "[HMSResizeObserverWrapper]";
|
@@ -21719,7 +21719,7 @@ var Hr = class {
|
|
21719
21719
|
}
|
21720
21720
|
isSupported() {
|
21721
21721
|
let e = U && typeof window.ResizeObserver != "undefined";
|
21722
|
-
return e ||
|
21722
|
+
return e || l.w(this.TAG, "Resize Observer is not supported"), e;
|
21723
21723
|
}
|
21724
21724
|
};
|
21725
21725
|
var Os = new Hr();
|
@@ -21727,10 +21727,10 @@ var Cr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Cr || {}
|
|
21727
21727
|
var Lr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Lr || {});
|
21728
21728
|
var Bs = "https://event.100ms.live/v2/client/report";
|
21729
21729
|
var Vs = "https://event-nonprod.100ms.live/v2/client/report";
|
21730
|
-
var
|
21730
|
+
var Pt = Math.pow(2, 31) - 1;
|
21731
21731
|
var rt = class {
|
21732
21732
|
};
|
21733
|
-
rt.makePeerId = () =>
|
21733
|
+
rt.makePeerId = () => Ro();
|
21734
21734
|
var B = (a2) => a2.room;
|
21735
21735
|
var Ho = (a2) => a2.errors;
|
21736
21736
|
var Kh = createSelector(Ho, (a2) => a2.length === 0 ? null : a2.at(-1));
|
@@ -21741,28 +21741,28 @@ var Qs = (a2) => a2.messages.allIDs;
|
|
21741
21741
|
var N = (a2) => a2.tracks;
|
21742
21742
|
var Vr = (a2) => a2.appData;
|
21743
21743
|
var Co = (a2) => a2.speakers;
|
21744
|
-
var
|
21745
|
-
var Qh = createSelector([
|
21744
|
+
var Ne = createSelector([B], (a2) => a2 && a2.isConnected);
|
21745
|
+
var Qh = createSelector([Ne, 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));
|
21746
21746
|
var Lo = (a2) => a2.hideLocalPeer;
|
21747
|
-
var
|
21747
|
+
var ge = createSelector([B, K, Lo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
21748
21748
|
var Do = createSelector(N, (a2) => Object.values(a2));
|
21749
21749
|
var te = createSelector(B, K, (a2, e) => e[a2.localPeer]);
|
21750
|
-
var
|
21750
|
+
var ke = createSelector(B, (a2) => a2.localPeer);
|
21751
21751
|
var zh = createSelector(te, (a2) => a2 == null ? void 0 : a2.name);
|
21752
21752
|
var Yh = createSelector(te, (a2) => a2 == null ? void 0 : a2.roleName);
|
21753
|
-
var
|
21754
|
-
var
|
21753
|
+
var oe = createSelector(te, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
21754
|
+
var z = createSelector(te, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
21755
21755
|
var wo = createSelector(te, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
21756
|
-
var Ys = createSelector([
|
21756
|
+
var Ys = createSelector([oe, z, wo], (a2, e, t) => {
|
21757
21757
|
let i = t ? [...t] : [];
|
21758
21758
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
21759
21759
|
});
|
21760
|
-
var Xh = createSelector(
|
21760
|
+
var Xh = createSelector(ge, (a2) => a2.filter((e) => !e.isLocal));
|
21761
21761
|
var Zh = createSelector(K, Co, (a2, e) => {
|
21762
21762
|
let t = Object.entries(e).sort((i, r) => {
|
21763
|
-
var n,
|
21763
|
+
var n, d;
|
21764
21764
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
21765
|
-
return (((
|
21765
|
+
return (((d = r[1]) == null ? void 0 : d.audioLevel) || 0) > s ? 1 : -1;
|
21766
21766
|
});
|
21767
21767
|
if (t.length > 0 && t[0][1].audioLevel && t[0][1].audioLevel > 0) {
|
21768
21768
|
let i = t[0][1].peerID;
|
@@ -21772,13 +21772,13 @@ var Zh = createSelector(K, Co, (a2, e) => {
|
|
21772
21772
|
return null;
|
21773
21773
|
});
|
21774
21774
|
var Gr = createSelector(te, N, (a2, e) => {
|
21775
|
-
let { video: t, audio: i } =
|
21775
|
+
let { video: t, audio: i } = Ue(e, a2);
|
21776
21776
|
return !!(t || i);
|
21777
21777
|
});
|
21778
21778
|
var _o = createSelector(K, N, (a2, e) => {
|
21779
21779
|
let t;
|
21780
21780
|
for (let i in a2) {
|
21781
|
-
let r = a2[i], { video: s, audio: o } =
|
21781
|
+
let r = a2[i], { video: s, audio: o } = Ue(e, r);
|
21782
21782
|
if (s)
|
21783
21783
|
return r;
|
21784
21784
|
o && !t && (t = r);
|
@@ -21788,7 +21788,7 @@ var _o = createSelector(K, N, (a2, e) => {
|
|
21788
21788
|
var tm = createSelector(_o, (a2) => !!a2);
|
21789
21789
|
var im = createSelector(K, N, (a2, e) => {
|
21790
21790
|
for (let t in a2) {
|
21791
|
-
let i = a2[t], { audio: r, video: s } =
|
21791
|
+
let i = a2[t], { audio: r, video: s } = Ue(e, i);
|
21792
21792
|
if (!s && r)
|
21793
21793
|
return i;
|
21794
21794
|
}
|
@@ -21796,7 +21796,7 @@ var im = createSelector(K, N, (a2, e) => {
|
|
21796
21796
|
var rm = createSelector(K, N, (a2, e) => {
|
21797
21797
|
let t = [], i = [];
|
21798
21798
|
for (let r in a2) {
|
21799
|
-
let s = a2[r], { video: o, audio: n } =
|
21799
|
+
let s = a2[r], { video: o, audio: n } = Ue(e, s);
|
21800
21800
|
o ? t.push(s) : n && i.push(s);
|
21801
21801
|
}
|
21802
21802
|
return t.concat(i);
|
@@ -21833,14 +21833,14 @@ var ie = createSelector([B], (a2) => a2 && a2.roomState);
|
|
21833
21833
|
var Zs = createSelector(ie, (a2) => a2 === "Preview");
|
21834
21834
|
var lm = createSelector(B, (a2) => a2.roomState !== "Disconnected");
|
21835
21835
|
var um = createSelector(B, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
|
21836
|
-
var
|
21837
|
-
var pm = createSelector([
|
21838
|
-
var at = createSelector([te,
|
21836
|
+
var Te = (a2) => a2.roles;
|
21837
|
+
var pm = createSelector([Te], (a2) => Object.keys(a2));
|
21838
|
+
var at = createSelector([te, Te], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
21839
21839
|
var Oo = (a2) => {
|
21840
21840
|
var e;
|
21841
21841
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
21842
21842
|
};
|
21843
|
-
var ea = createSelector([Oo,
|
21843
|
+
var ea = createSelector([Oo, Te], (a2, e) => a2 ? e[a2] : null);
|
21844
21844
|
var hm = createSelector([at], (a2) => {
|
21845
21845
|
var e;
|
21846
21846
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
@@ -21856,9 +21856,9 @@ var Mm = createSelector(B, (a2) => !!a2.isLargeRoom);
|
|
21856
21856
|
var ym = createSelector(B, (a2) => !!a2.isEffectsEnabled);
|
21857
21857
|
var km = createSelector(B, (a2) => a2.effectsKey);
|
21858
21858
|
var ia = (a2) => a2.polls;
|
21859
|
-
var
|
21859
|
+
var Im = createSelector(ge, (a2) => a2.filter((e) => e.isHandRaised));
|
21860
21860
|
var xo = (a2) => a2.whiteboards;
|
21861
|
-
var
|
21861
|
+
var Rm = createSelector(xo, (a2) => Object.values(a2)[0]);
|
21862
21862
|
var sa = (a2 = "audio") => (e) => e.playlist[a2].list;
|
21863
21863
|
var Wr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
21864
21864
|
var aa = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
@@ -21872,7 +21872,7 @@ var la = (a2 = "audio") => createSelector(sa(a2), Wr(a2), (e, t) => {
|
|
21872
21872
|
});
|
21873
21873
|
var ua = { selection: Wr("audio"), progress: aa("audio"), currentTime: oa("audio"), playbackRate: na("audio"), volume: ca("audio"), list: da("audio"), selectedItem: la("audio") };
|
21874
21874
|
var pa = { selection: Wr("video"), progress: aa("video"), currentTime: oa("video"), playbackRate: na("video"), volume: ca("video"), list: da("video"), selectedItem: la("video") };
|
21875
|
-
function
|
21875
|
+
function A(a2) {
|
21876
21876
|
return (e) => (t) => a2(t, e);
|
21877
21877
|
}
|
21878
21878
|
var At = "HMS-Store:";
|
@@ -21943,39 +21943,39 @@ var b = class {
|
|
21943
21943
|
};
|
21944
21944
|
b.level = 0;
|
21945
21945
|
var $r = (a2, e) => e;
|
21946
|
-
var
|
21946
|
+
var Ht = (a2, e) => e;
|
21947
21947
|
var ha = (a2, e) => e;
|
21948
21948
|
var Uo = (a2, e) => e;
|
21949
21949
|
var Bo = (a2, e) => e;
|
21950
21950
|
var q = createSelector([K, $r], (a2, e) => e ? a2[e] : null);
|
21951
|
-
var Kr = createSelector([N,
|
21952
|
-
var Vo = createSelector([N,
|
21951
|
+
var Kr = createSelector([N, Ht], (a2, e) => e ? a2[e] : null);
|
21952
|
+
var Vo = createSelector([N, Ht], (a2, e) => {
|
21953
21953
|
if (!e)
|
21954
21954
|
return null;
|
21955
21955
|
let t = a2[e];
|
21956
21956
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
21957
21957
|
});
|
21958
|
-
var Fo = createSelector([N,
|
21958
|
+
var Fo = createSelector([N, Ht], (a2, e) => {
|
21959
21959
|
if (!e)
|
21960
21960
|
return null;
|
21961
21961
|
let t = a2[e];
|
21962
21962
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
21963
21963
|
});
|
21964
|
-
var Go = createSelector([N,
|
21964
|
+
var Go = createSelector([N, Ht], (a2, e) => {
|
21965
21965
|
if (!e)
|
21966
21966
|
return null;
|
21967
21967
|
let t = a2[e];
|
21968
21968
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
21969
21969
|
});
|
21970
|
-
var Wo = createSelector([N,
|
21970
|
+
var Wo = createSelector([N, Ht], (a2, e) => {
|
21971
21971
|
if (!e)
|
21972
21972
|
return null;
|
21973
21973
|
let t = a2[e];
|
21974
21974
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
21975
21975
|
});
|
21976
21976
|
var $o = createSelector([ia, Bo], (a2, e) => e ? a2[e] : null);
|
21977
|
-
var
|
21978
|
-
var Um =
|
21977
|
+
var Y = A(q);
|
21978
|
+
var Um = A(createSelector([Vr, Uo], (a2, e) => {
|
21979
21979
|
if (a2)
|
21980
21980
|
return e ? a2[e] : a2;
|
21981
21981
|
}));
|
@@ -21985,89 +21985,89 @@ function Bm(a2) {
|
|
21985
21985
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
21986
21986
|
};
|
21987
21987
|
}
|
21988
|
-
var Fm =
|
21989
|
-
var Gm =
|
21990
|
-
var fi =
|
21991
|
-
var ma =
|
21992
|
-
var Wm =
|
21993
|
-
var $m =
|
21994
|
-
var Km =
|
21995
|
-
var Ko =
|
21988
|
+
var Fm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
|
21989
|
+
var Gm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
|
21990
|
+
var fi = A(Kr);
|
21991
|
+
var ma = A(Vo);
|
21992
|
+
var Wm = A(Fo);
|
21993
|
+
var $m = A(Go);
|
21994
|
+
var Km = A(Wo);
|
21995
|
+
var Ko = A((a2, e) => {
|
21996
21996
|
let t = q(a2, e);
|
21997
21997
|
if (t && t.videoTrack && t.videoTrack !== "")
|
21998
21998
|
return a2.tracks[t.videoTrack];
|
21999
21999
|
});
|
22000
|
-
var qo =
|
22000
|
+
var qo = A((a2, e) => {
|
22001
22001
|
let t = q(a2, e);
|
22002
22002
|
if (t && t.audioTrack && t.audioTrack !== "")
|
22003
22003
|
return a2.tracks[t.audioTrack];
|
22004
22004
|
});
|
22005
|
-
var jm =
|
22005
|
+
var jm = A((a2, e) => {
|
22006
22006
|
let t = q(a2, e);
|
22007
22007
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
22008
22008
|
});
|
22009
22009
|
var Sa = (a2, e) => e ? a2.speakers[e] : null;
|
22010
|
-
var Jm =
|
22010
|
+
var Jm = A(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22011
22011
|
var jo = (a2, e) => {
|
22012
22012
|
let t = qo(e)(a2);
|
22013
22013
|
return Sa(a2, t == null ? void 0 : t.id);
|
22014
22014
|
};
|
22015
|
-
var Qm =
|
22016
|
-
var zm =
|
22015
|
+
var Qm = A(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22016
|
+
var zm = A((a2, e) => {
|
22017
22017
|
if (e)
|
22018
22018
|
return a2.connectionQualities[e];
|
22019
22019
|
});
|
22020
|
-
var Ym =
|
22020
|
+
var Ym = A((a2, e) => {
|
22021
22021
|
let t = q(a2, e);
|
22022
22022
|
if (t) {
|
22023
22023
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => ut(a2.tracks[r]));
|
22024
22024
|
return i ? a2.tracks[i] : void 0;
|
22025
22025
|
}
|
22026
22026
|
});
|
22027
|
-
var Xm =
|
22027
|
+
var Xm = A(createSelector(N, q, (a2, e) => {
|
22028
22028
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22029
22029
|
let r = a2[i];
|
22030
22030
|
return ht(r) && pt(r);
|
22031
22031
|
});
|
22032
22032
|
return t ? a2[t] : void 0;
|
22033
22033
|
}));
|
22034
|
-
var Zm =
|
22034
|
+
var Zm = A(createSelector(N, q, (a2, e) => {
|
22035
22035
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22036
22036
|
let r = a2[i];
|
22037
22037
|
return ht(r) && ut(r);
|
22038
22038
|
});
|
22039
22039
|
return t ? a2[t] : void 0;
|
22040
22040
|
}));
|
22041
|
-
var eS =
|
22041
|
+
var eS = A(createSelector(N, q, (a2, e) => {
|
22042
22042
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22043
22043
|
let r = a2[i];
|
22044
22044
|
return ii(r) && ut(r);
|
22045
22045
|
});
|
22046
22046
|
return t ? a2[t] : void 0;
|
22047
22047
|
}));
|
22048
|
-
var ga =
|
22048
|
+
var ga = A(createSelector(N, q, (a2, e) => Ue(a2, e)));
|
22049
22049
|
var Ta = (a2) => createSelector(ga(a2), (e) => e.audio);
|
22050
|
-
var iS =
|
22050
|
+
var iS = A((a2, e) => {
|
22051
22051
|
let t = q(a2, e);
|
22052
|
-
return
|
22052
|
+
return Je(a2, t == null ? void 0 : t.audioTrack);
|
22053
22053
|
});
|
22054
|
-
var rS =
|
22054
|
+
var rS = A((a2, e) => {
|
22055
22055
|
let t = q(a2, e);
|
22056
|
-
return
|
22056
|
+
return Je(a2, t == null ? void 0 : t.videoTrack);
|
22057
22057
|
});
|
22058
|
-
var fa =
|
22058
|
+
var fa = A((a2, e) => {
|
22059
22059
|
if (e && a2.tracks[e])
|
22060
22060
|
return a2.tracks[e].volume === 0;
|
22061
22061
|
});
|
22062
|
-
var sS =
|
22062
|
+
var sS = A((a2, e) => {
|
22063
22063
|
let t = q(a2, e);
|
22064
22064
|
return fa(t == null ? void 0 : t.audioTrack)(a2);
|
22065
22065
|
});
|
22066
|
-
var aS =
|
22066
|
+
var aS = A((a2, e) => {
|
22067
22067
|
let t = Ta(e)(a2);
|
22068
22068
|
return fa(t == null ? void 0 : t.id)(a2);
|
22069
22069
|
});
|
22070
|
-
var va =
|
22070
|
+
var va = A((a2, e) => {
|
22071
22071
|
let t = Kr(a2, e);
|
22072
22072
|
if (t) {
|
22073
22073
|
if (t.type !== "audio") {
|
@@ -22077,15 +22077,15 @@ var va = I((a2, e) => {
|
|
22077
22077
|
return t.volume;
|
22078
22078
|
}
|
22079
22079
|
});
|
22080
|
-
var oS =
|
22080
|
+
var oS = A((a2, e) => {
|
22081
22081
|
let t = q(a2, e);
|
22082
22082
|
return va(t == null ? void 0 : t.audioTrack)(a2);
|
22083
22083
|
});
|
22084
|
-
var nS =
|
22084
|
+
var nS = A((a2, e) => {
|
22085
22085
|
let t = Ta(e)(a2);
|
22086
22086
|
return va(t == null ? void 0 : t.id)(a2);
|
22087
22087
|
});
|
22088
|
-
var cS =
|
22088
|
+
var cS = A((a2, e) => {
|
22089
22089
|
let t = Kr(a2, e);
|
22090
22090
|
if (t) {
|
22091
22091
|
if (t.type !== "video") {
|
@@ -22095,7 +22095,7 @@ var cS = I((a2, e) => {
|
|
22095
22095
|
return t.layer;
|
22096
22096
|
}
|
22097
22097
|
});
|
22098
|
-
var Ma = createSelector([Rt,
|
22098
|
+
var Ma = createSelector([Rt, ke, $r], (a2, e, t) => {
|
22099
22099
|
if (t)
|
22100
22100
|
return a2.filter((i) => {
|
22101
22101
|
var r;
|
@@ -22116,24 +22116,24 @@ var Jo = createSelector(Rt, (a2) => a2.filter((e) => {
|
|
22116
22116
|
var Qo = createSelector([ya, ha], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22117
22117
|
var zo = createSelector([Ma, $r], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22118
22118
|
var dS = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
|
22119
|
-
var lS =
|
22120
|
-
var uS =
|
22121
|
-
var pS =
|
22122
|
-
var hS =
|
22123
|
-
var ka =
|
22119
|
+
var lS = A(Ma);
|
22120
|
+
var uS = A(ya);
|
22121
|
+
var pS = A(Qo);
|
22122
|
+
var hS = A(zo);
|
22123
|
+
var ka = A($o);
|
22124
22124
|
var bS = createSelector([K, N], (a2, e) => Object.values(a2).map((i) => {
|
22125
22125
|
var r;
|
22126
22126
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
22127
22127
|
}));
|
22128
22128
|
var Yo = (a2) => a2.roleChangeRequests[0] || null;
|
22129
|
-
var
|
22130
|
-
var
|
22131
|
-
var
|
22132
|
-
var Zo = createSelector([
|
22129
|
+
var IS = createSelector([Yo, K, Te], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
22130
|
+
var RS = createSelector([at], (a2) => mt(a2));
|
22131
|
+
var AS = createSelector([ea], (a2) => mt(a2));
|
22132
|
+
var Zo = createSelector([z, N], (a2, e) => {
|
22133
22133
|
let t = null;
|
22134
22134
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22135
22135
|
});
|
22136
|
-
var en = createSelector([
|
22136
|
+
var en = createSelector([oe, N], (a2, e) => {
|
22137
22137
|
let t = null;
|
22138
22138
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22139
22139
|
});
|
@@ -22141,7 +22141,7 @@ var sn = ((n) => (n[n.STARTING = 0] = "STARTING", n[n.INIT_FETCHED = 1] = "INIT_
|
|
22141
22141
|
var zr = class {
|
22142
22142
|
constructor() {
|
22143
22143
|
this.TAG = "[HTTPAnalyticsTransport]";
|
22144
|
-
this.failedEvents = new
|
22144
|
+
this.failedEvents = new pe("client-events");
|
22145
22145
|
this.isConnected = true;
|
22146
22146
|
this.env = null;
|
22147
22147
|
this.websocketURL = "";
|
@@ -22167,7 +22167,7 @@ var zr = class {
|
|
22167
22167
|
throw Error(r.statusText);
|
22168
22168
|
this.removeFromStorage(e);
|
22169
22169
|
}).catch((r) => {
|
22170
|
-
|
22170
|
+
l.v(this.TAG, "Failed to send event", r, e), this.addEventToStorage(e);
|
22171
22171
|
});
|
22172
22172
|
}
|
22173
22173
|
flushFailedEvents() {
|
@@ -22183,66 +22183,66 @@ var zr = class {
|
|
22183
22183
|
i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
|
22184
22184
|
}
|
22185
22185
|
};
|
22186
|
-
var
|
22186
|
+
var Ee = new zr();
|
22187
22187
|
var j = ((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))(j || {});
|
22188
22188
|
var tr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(tr || {});
|
22189
22189
|
var lr = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lr || {});
|
22190
22190
|
var Pn = (a2) => a2.localPeer.id;
|
22191
22191
|
var En = (a2) => a2.localPeer.audioTrack;
|
22192
22192
|
var bn = (a2) => a2.localPeer.videoTrack;
|
22193
|
-
var
|
22193
|
+
var In = (a2, e) => e;
|
22194
22194
|
var Ka = (a2, e) => e;
|
22195
|
-
var
|
22195
|
+
var Rn = (a2) => a2.remoteTrackStats;
|
22196
22196
|
var qa = (a2) => a2.peerStats;
|
22197
22197
|
var ts = (a2) => a2.localTrackStats;
|
22198
|
-
var
|
22199
|
-
var
|
22198
|
+
var Ie = createSelector([qa, Pn], (a2, e) => a2[e]);
|
22199
|
+
var An = createSelector(Ie, (a2) => {
|
22200
22200
|
var e;
|
22201
22201
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
22202
22202
|
});
|
22203
|
-
var Hn = createSelector(
|
22203
|
+
var Hn = createSelector(Ie, (a2) => {
|
22204
22204
|
var e;
|
22205
22205
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
22206
22206
|
});
|
22207
|
-
var Cn = createSelector(
|
22207
|
+
var Cn = createSelector(Ie, (a2) => {
|
22208
22208
|
var e;
|
22209
22209
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
22210
22210
|
});
|
22211
|
-
var Ln = createSelector(
|
22211
|
+
var Ln = createSelector(Ie, (a2) => {
|
22212
22212
|
var e;
|
22213
22213
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
22214
22214
|
});
|
22215
|
-
var Dn = createSelector(
|
22215
|
+
var Dn = createSelector(Ie, (a2) => {
|
22216
22216
|
var e;
|
22217
22217
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
22218
22218
|
});
|
22219
|
-
var wn = createSelector(
|
22219
|
+
var wn = createSelector(Ie, (a2) => {
|
22220
22220
|
var e;
|
22221
22221
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
22222
22222
|
});
|
22223
|
-
var _n = createSelector(
|
22223
|
+
var _n = createSelector(Ie, (a2) => {
|
22224
22224
|
var e;
|
22225
22225
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
22226
22226
|
});
|
22227
|
-
var Nn = createSelector(
|
22227
|
+
var Nn = createSelector(Ie, (a2) => {
|
22228
22228
|
var e;
|
22229
22229
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
22230
22230
|
});
|
22231
|
-
var On = createSelector([qa,
|
22232
|
-
var xn = createSelector([
|
22231
|
+
var On = createSelector([qa, In], (a2, e) => e ? a2[e] : void 0);
|
22232
|
+
var xn = createSelector([Rn, Ka], (a2, e) => e ? a2[e] : void 0);
|
22233
22233
|
var is = createSelector([ts, Ka], (a2, e) => e ? a2[e] : void 0);
|
22234
|
-
var Un =
|
22235
|
-
var Bn =
|
22234
|
+
var Un = A(On);
|
22235
|
+
var Bn = A(xn);
|
22236
22236
|
var Vn = createSelector([ts, En], (a2, e) => {
|
22237
22237
|
var t;
|
22238
22238
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22239
22239
|
});
|
22240
|
-
var Fn =
|
22240
|
+
var Fn = A(createSelector(is, (a2) => a2 == null ? void 0 : a2[0]));
|
22241
22241
|
var Gn = createSelector([ts, bn], (a2, e) => {
|
22242
22242
|
var t;
|
22243
22243
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22244
22244
|
});
|
22245
|
-
var Wn =
|
22245
|
+
var Wn = A(createSelector(is, (a2) => a2));
|
22246
22246
|
|
22247
22247
|
// src/Prebuilt/components/Header/StreamActions.tsx
|
22248
22248
|
import {
|
@@ -22441,7 +22441,7 @@ var RecordingStatus = () => {
|
|
22441
22441
|
};
|
22442
22442
|
var RecordingPauseStatus = () => {
|
22443
22443
|
const recording = useHMSStore30(selectRecordingState2);
|
22444
|
-
if (recording.hls && recording.hls.state ===
|
22444
|
+
if (recording.hls && recording.hls.state === Is.PAUSED) {
|
22445
22445
|
return /* @__PURE__ */ React64.createElement(
|
22446
22446
|
Tooltip,
|
22447
22447
|
{
|
@@ -22720,7 +22720,7 @@ init_define_process_env();
|
|
22720
22720
|
import { useEffect as useEffect21, useState as useState31 } from "react";
|
22721
22721
|
import { HMSNotificationTypes, useHMSNotifications, useHMSStore as useHMSStore33 } from "@100mslive/react-sdk";
|
22722
22722
|
var useUnreadPollQuizPresent = () => {
|
22723
|
-
const localPeerID = useHMSStore33(
|
22723
|
+
const localPeerID = useHMSStore33(ke);
|
22724
22724
|
const notification = useHMSNotifications(HMSNotificationTypes.POLL_STARTED);
|
22725
22725
|
const [unreadPollQuiz, setUnreadPollQuiz] = useState31(false);
|
22726
22726
|
useEffect21(() => {
|
@@ -23915,7 +23915,7 @@ var RoleOptions = ({ roleName, peerList }) => {
|
|
23915
23915
|
|
23916
23916
|
// src/Prebuilt/components/hooks/useGroupOnStageActions.tsx
|
23917
23917
|
init_define_process_env();
|
23918
|
-
import { match as match7, P as
|
23918
|
+
import { match as match7, P as P4 } from "ts-pattern";
|
23919
23919
|
import { selectPermissions as selectPermissions12, useHMSActions as useHMSActions30, useHMSStore as useHMSStore41 } from "@100mslive/react-sdk";
|
23920
23920
|
var useGroupOnStageActions = ({ peers }) => {
|
23921
23921
|
var _a7;
|
@@ -23932,9 +23932,9 @@ var useGroupOnStageActions = ({ peers }) => {
|
|
23932
23932
|
const offStageRolePeers = peers.filter(
|
23933
23933
|
(peer) => match7({ on_stage_role, bring_to_stage_label, roleName: peer.roleName }).with(
|
23934
23934
|
{
|
23935
|
-
on_stage_role:
|
23936
|
-
bring_to_stage_label:
|
23937
|
-
roleName:
|
23935
|
+
on_stage_role: P4.when((role) => !!role),
|
23936
|
+
bring_to_stage_label: P4.when((label) => !!label),
|
23937
|
+
roleName: P4.when((role) => !!role && off_stage_roles.includes(role))
|
23938
23938
|
},
|
23939
23939
|
() => true
|
23940
23940
|
).otherwise(() => false)
|
@@ -26792,7 +26792,7 @@ function EmojiPicker({ onSelect }) {
|
|
26792
26792
|
)));
|
26793
26793
|
}
|
26794
26794
|
var ChatFooter = ({ onSend, children }) => {
|
26795
|
-
var _a7, _b7, _c, _d,
|
26795
|
+
var _a7, _b7, _c, _d, _e;
|
26796
26796
|
const hmsActions = useHMSActions39();
|
26797
26797
|
const inputRef = useRef23(null);
|
26798
26798
|
const [draftMessage, setDraftMessage] = useChatDraftMessage();
|
@@ -26906,7 +26906,7 @@ var ChatFooter = ({ onSend, children }) => {
|
|
26906
26906
|
},
|
26907
26907
|
/* @__PURE__ */ React116.createElement(PauseCircleIcon2, null),
|
26908
26908
|
/* @__PURE__ */ React116.createElement(Text, { variant: "sm", css: { fontWeight: "$semiBold" } }, "Pause Chat")
|
26909
|
-
)))) : null), selection && /* @__PURE__ */ React116.createElement(Flex, { align: ((
|
26909
|
+
)))) : null), selection && /* @__PURE__ */ React116.createElement(Flex, { align: ((_e = inputRef.current) == null ? void 0 : _e.scrollHeight) === 32 ? "center" : "end", css: { gap: "$4", w: "100%" } }, /* @__PURE__ */ React116.createElement(
|
26910
26910
|
Flex,
|
26911
26911
|
{
|
26912
26912
|
align: "end",
|
@@ -28677,7 +28677,7 @@ var SidePane = ({
|
|
28677
28677
|
tileProps,
|
28678
28678
|
hideControls = false
|
28679
28679
|
}) => {
|
28680
|
-
var _a7, _b7, _c, _d,
|
28680
|
+
var _a7, _b7, _c, _d, _e, _f, _g;
|
28681
28681
|
const isMobile = useMedia24(config.media.md);
|
28682
28682
|
const sidepane = useHMSStore71(selectAppData8(APP_DATA.sidePane));
|
28683
28683
|
const activeScreensharePeerId = useHMSStore71(selectAppData8(APP_DATA.activeScreensharePeerId));
|
@@ -28687,7 +28687,7 @@ var SidePane = ({
|
|
28687
28687
|
const layoutMode = useUISettings(UI_SETTINGS.layoutMode);
|
28688
28688
|
const isLandscapeHLSStream = useLandscapeHLSStream();
|
28689
28689
|
const isMobileHLSStream = useMobileHLSStream();
|
28690
|
-
const backgroundMedia = ((_c = (_b7 = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _b7.background_media) == null ? void 0 : _c.length) ? (_d = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _d.background_media : ((
|
28690
|
+
const backgroundMedia = ((_c = (_b7 = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _b7.background_media) == null ? void 0 : _c.length) ? (_d = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _d.background_media : ((_e = elements == null ? void 0 : elements.virtual_background) == null ? void 0 : _e.background_media) || [];
|
28691
28691
|
const tileLayout = {
|
28692
28692
|
hideParticipantNameOnTile: tileProps == null ? void 0 : tileProps.hide_participant_name_on_tile,
|
28693
28693
|
roundedVideoTile: tileProps == null ? void 0 : tileProps.rounded_video_tile,
|
@@ -30802,7 +30802,7 @@ var useCloseScreenshareWhiteboard = () => {
|
|
30802
30802
|
};
|
30803
30803
|
|
30804
30804
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
30805
|
-
var HLSView = React157.lazy(() => import("./HLSView-
|
30805
|
+
var HLSView = React157.lazy(() => import("./HLSView-3TZCJ2RD.js"));
|
30806
30806
|
var VideoStreamingSection = ({
|
30807
30807
|
screenType,
|
30808
30808
|
elements,
|
@@ -31154,7 +31154,7 @@ var PreviousRoleInMetadata = () => {
|
|
31154
31154
|
|
31155
31155
|
// src/Prebuilt/components/ConferenceScreen.tsx
|
31156
31156
|
var ConferenceScreen = () => {
|
31157
|
-
var _a7, _b7, _c, _d,
|
31157
|
+
var _a7, _b7, _c, _d, _e, _f;
|
31158
31158
|
const { userName, endpoints, onJoin: onJoinFunc } = useHMSPrebuiltContext();
|
31159
31159
|
const screenProps = useRoomLayoutConferencingScreen();
|
31160
31160
|
const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
|
@@ -31253,7 +31253,7 @@ var ConferenceScreen = () => {
|
|
31253
31253
|
flex: "1 1 0",
|
31254
31254
|
minHeight: 0,
|
31255
31255
|
// @ts-ignore
|
31256
|
-
px: ((
|
31256
|
+
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",
|
31257
31257
|
// TODO: padding to be controlled by section/element
|
31258
31258
|
paddingBottom: "env(safe-area-inset-bottom)",
|
31259
31259
|
"@lg": {
|
@@ -31574,7 +31574,7 @@ import { ExitIcon as ExitIcon3 } from "@100mslive/react-icons";
|
|
31574
31574
|
init_define_process_env();
|
31575
31575
|
import React164, { useContext as useContext5, useEffect as useEffect61 } from "react";
|
31576
31576
|
import { usePreviousDistinct } from "react-use";
|
31577
|
-
import { match as match13, P as
|
31577
|
+
import { match as match13, P as P5 } from "ts-pattern";
|
31578
31578
|
import { HMSRoomState as HMSRoomState8, selectRoomState as selectRoomState8, useHMSStore as useHMSStore89 } from "@100mslive/react-sdk";
|
31579
31579
|
|
31580
31580
|
// src/Prebuilt/components/hooks/useRedirectToLeave.tsx
|
@@ -31626,7 +31626,7 @@ var useAppStateManager = () => {
|
|
31626
31626
|
if (!roomLayout) {
|
31627
31627
|
return;
|
31628
31628
|
}
|
31629
|
-
match13([roomState, prevRoomState]).with([HMSRoomState8.Connected,
|
31629
|
+
match13([roomState, prevRoomState]).with([HMSRoomState8.Connected, P5.any], () => setActiveState("meeting" /* MEETING */)).with(
|
31630
31630
|
[HMSRoomState8.Disconnecting, HMSRoomState8.Connected],
|
31631
31631
|
[HMSRoomState8.Disconnecting, HMSRoomState8.Connecting],
|
31632
31632
|
[HMSRoomState8.Disconnecting, HMSRoomState8.Reconnecting],
|
@@ -31640,7 +31640,7 @@ var useAppStateManager = () => {
|
|
31640
31640
|
VBHandler.reset();
|
31641
31641
|
redirectToLeave(1e3);
|
31642
31642
|
}
|
31643
|
-
).with([HMSRoomState8.Disconnected,
|
31643
|
+
).with([HMSRoomState8.Disconnected, P5.nullish], () => {
|
31644
31644
|
setActiveState(isPreviewScreenEnabled ? "preview" /* PREVIEW */ : "meeting" /* MEETING */);
|
31645
31645
|
}).otherwise(() => {
|
31646
31646
|
});
|
@@ -31696,7 +31696,7 @@ var LeaveScreen = () => {
|
|
31696
31696
|
init_define_process_env();
|
31697
31697
|
import React166, { useEffect as useEffect62, useState as useState70 } from "react";
|
31698
31698
|
import { useMedia as useMedia40 } from "react-use";
|
31699
|
-
import { match as match14, P as
|
31699
|
+
import { match as match14, P as P6 } from "ts-pattern";
|
31700
31700
|
import { RefreshIcon } from "@100mslive/react-icons";
|
31701
31701
|
var MwebLandscapePrompt = () => {
|
31702
31702
|
const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] = useState70(false);
|
@@ -31716,7 +31716,7 @@ var MwebLandscapePrompt = () => {
|
|
31716
31716
|
const angle = window.screen.orientation.angle;
|
31717
31717
|
const type = window.screen.orientation.type || "";
|
31718
31718
|
setShowMwebLandscapePrompt(
|
31719
|
-
match14({ angle, isLandscapeHLSStream, isLandscape, type }).with({ isLandscapeHLSStream: true }, () => false).with({ angle:
|
31719
|
+
match14({ angle, isLandscapeHLSStream, isLandscape, type }).with({ isLandscapeHLSStream: true }, () => false).with({ angle: P6.when((angle2) => angle2 && angle2 >= 90) }, ({ type: type2 }) => type2.includes("landscape")).otherwise(() => isLandscape)
|
31720
31720
|
);
|
31721
31721
|
};
|
31722
31722
|
handleRotation();
|
@@ -32513,7 +32513,7 @@ function Notifications() {
|
|
32513
32513
|
}, []);
|
32514
32514
|
useCustomEvent4({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
|
32515
32515
|
useEffect73(() => {
|
32516
|
-
var _a8, _b8, _c, _d,
|
32516
|
+
var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o2, _p, _q;
|
32517
32517
|
if (!notification || isNotificationDisabled) {
|
32518
32518
|
return;
|
32519
32519
|
}
|
@@ -32527,7 +32527,7 @@ function Notifications() {
|
|
32527
32527
|
ToastManager.addToast({
|
32528
32528
|
title: `Error: ${(_d = notification.data) == null ? void 0 : _d.message}`
|
32529
32529
|
});
|
32530
|
-
} else if (((
|
32530
|
+
} else if (((_e = notification.data) == null ? void 0 : _e.message) === "role limit reached") {
|
32531
32531
|
ToastManager.addToast({
|
32532
32532
|
title: "The room is currently full, try joining later",
|
32533
32533
|
close: true,
|
@@ -34117,4 +34117,4 @@ object-assign/index.js:
|
|
34117
34117
|
@license MIT
|
34118
34118
|
*)
|
34119
34119
|
*/
|
34120
|
-
//# sourceMappingURL=chunk-
|
34120
|
+
//# sourceMappingURL=chunk-BSNLB7LM.js.map
|