@100mslive/roomkit-react 0.3.7-alpha.1 → 0.3.7-alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-QKPBZFZP.js → HLSView-RHG5VXUT.js} +2 -2
- package/dist/{chunk-LVXGI4HW.js → chunk-SPJHBZ24.js} +197 -189
- package/dist/{chunk-LVXGI4HW.js.map → chunk-SPJHBZ24.js.map} +3 -3
- package/dist/index.cjs.js +181 -173
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +9 -9
- package/dist/meta.esbuild.json +16 -16
- package/package.json +6 -6
- package/src/Prebuilt/layouts/SidePane.tsx +7 -0
- /package/dist/{HLSView-QKPBZFZP.js.map → HLSView-RHG5VXUT.js.map} +0 -0
package/dist/index.cjs.js
CHANGED
@@ -108,7 +108,7 @@ var __async = (__this, __arguments, generator) => {
|
|
108
108
|
var define_process_env_default;
|
109
109
|
var init_define_process_env = __esm({
|
110
110
|
"<define:process.env>"() {
|
111
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_97ca305c-0095-4a3e-b6b1-10dcebd920d3", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.7-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_97ca305c-0095-4a3e-b6b1-10dcebd920d3", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.1/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.7-alpha.1", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.8", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.7", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "603", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.9/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240407.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.2/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:17317", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.7-alpha.1", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "8629237506", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "f8131959ff3d81261f1f5e10aeca4ffdb85de037", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "8abe6400a3d469d855f17212fdb4f2291c7d8e728998b9cec4b081546f62b9d8", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1712742450757-0.3169478914240358:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712742450552-0.42417225478801224:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712742427536-0.8765541171080096:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712742427351-0.5426797022502139:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_fa254625-bdb7-4c8e-bcac-830707b51973", INVOCATION_ID: "dbbeaf6ae58547a29248db986b6fb335", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "509", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 253", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.7-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.7-alpha.1", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "f8131959ff3d81261f1f5e10aeca4ffdb85de037", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_97ca305c-0095-4a3e-b6b1-10dcebd920d3", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_97ca305c-0095-4a3e-b6b1-10dcebd920d3", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.172+1/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_97ca305c-0095-4a3e-b6b1-10dcebd920d3" };
|
111
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_fca4aa2f-4392-4e78-8c06-00498463f54b", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.7-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_fca4aa2f-4392-4e78-8c06-00498463f54b", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.1/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.7-alpha.2", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.8", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.7", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "592", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.9/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240407.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.2/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:1890", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.7-alpha.2", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "8630055430", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "d1abe3be1c61075152b1aca862f5b1fd10aa4a1b", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "a35d8c028302345b368224613a6913477b17718c0f607e0a3ec41b97891d1935", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1712746492918-0.06019226614785844:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712746492725-0.5550635384805289:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712746470689-0.41934451907770254:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712746470514-0.4816943480790601:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_ad4b61c4-147a-4f60-9a69-85f5c2c4592c", INVOCATION_ID: "ddb218d5b1f84cd58b6a0922ad718397", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "510", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 369", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.7-alpha.2", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.7-alpha.2", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "d1abe3be1c61075152b1aca862f5b1fd10aa4a1b", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_fca4aa2f-4392-4e78-8c06-00498463f54b", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_fca4aa2f-4392-4e78-8c06-00498463f54b", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.172+1/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_fca4aa2f-4392-4e78-8c06-00498463f54b" };
|
112
112
|
}
|
113
113
|
});
|
114
114
|
|
@@ -16175,7 +16175,7 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
16175
16175
|
if (typeof c !== "object" || c.mandatory || c.optional) {
|
16176
16176
|
return c;
|
16177
16177
|
}
|
16178
|
-
const
|
16178
|
+
const cc2 = {};
|
16179
16179
|
Object.keys(c).forEach((key) => {
|
16180
16180
|
if (key === "require" || key === "advanced" || key === "mediaSource") {
|
16181
16181
|
return;
|
@@ -16191,35 +16191,35 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
16191
16191
|
return name === "deviceId" ? "sourceId" : name;
|
16192
16192
|
};
|
16193
16193
|
if (r.ideal !== void 0) {
|
16194
|
-
|
16194
|
+
cc2.optional = cc2.optional || [];
|
16195
16195
|
let oc2 = {};
|
16196
16196
|
if (typeof r.ideal === "number") {
|
16197
16197
|
oc2[oldname_("min", key)] = r.ideal;
|
16198
|
-
|
16198
|
+
cc2.optional.push(oc2);
|
16199
16199
|
oc2 = {};
|
16200
16200
|
oc2[oldname_("max", key)] = r.ideal;
|
16201
|
-
|
16201
|
+
cc2.optional.push(oc2);
|
16202
16202
|
} else {
|
16203
16203
|
oc2[oldname_("", key)] = r.ideal;
|
16204
|
-
|
16204
|
+
cc2.optional.push(oc2);
|
16205
16205
|
}
|
16206
16206
|
}
|
16207
16207
|
if (r.exact !== void 0 && typeof r.exact !== "number") {
|
16208
|
-
|
16209
|
-
|
16208
|
+
cc2.mandatory = cc2.mandatory || {};
|
16209
|
+
cc2.mandatory[oldname_("", key)] = r.exact;
|
16210
16210
|
} else {
|
16211
16211
|
["min", "max"].forEach((mix) => {
|
16212
16212
|
if (r[mix] !== void 0) {
|
16213
|
-
|
16214
|
-
|
16213
|
+
cc2.mandatory = cc2.mandatory || {};
|
16214
|
+
cc2.mandatory[oldname_(mix, key)] = r[mix];
|
16215
16215
|
}
|
16216
16216
|
});
|
16217
16217
|
}
|
16218
16218
|
});
|
16219
16219
|
if (c.advanced) {
|
16220
|
-
|
16220
|
+
cc2.optional = (cc2.optional || []).concat(c.advanced);
|
16221
16221
|
}
|
16222
|
-
return
|
16222
|
+
return cc2;
|
16223
16223
|
};
|
16224
16224
|
const shimConstraints_ = function(constraints, func) {
|
16225
16225
|
if (browserDetails.version >= 61) {
|
@@ -19438,7 +19438,7 @@ function He(a2, e) {
|
|
19438
19438
|
if (e)
|
19439
19439
|
for (let r of e.auxiliaryTracks) {
|
19440
19440
|
let s = a2[r];
|
19441
|
-
|
19441
|
+
_a7(s) && (i = tt(s) ? s : i, t = it(s) ? s : t);
|
19442
19442
|
}
|
19443
19443
|
return { video: t, audio: i };
|
19444
19444
|
}
|
@@ -19448,7 +19448,7 @@ function tt(a2) {
|
|
19448
19448
|
function it(a2) {
|
19449
19449
|
return a2 && a2.type === "video";
|
19450
19450
|
}
|
19451
|
-
function
|
19451
|
+
function _a7(a2) {
|
19452
19452
|
return a2 && a2.source === "screen";
|
19453
19453
|
}
|
19454
19454
|
function $t(a2) {
|
@@ -19471,7 +19471,7 @@ function st(a2) {
|
|
19471
19471
|
function R(a2) {
|
19472
19472
|
return (e) => (t) => a2(t, e);
|
19473
19473
|
}
|
19474
|
-
function
|
19474
|
+
function ja() {
|
19475
19475
|
if (_ && window) {
|
19476
19476
|
let a2 = window.location.hostname;
|
19477
19477
|
return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
|
@@ -19501,13 +19501,13 @@ function Qt(a2, e = 300) {
|
|
19501
19501
|
}, e);
|
19502
19502
|
};
|
19503
19503
|
}
|
19504
|
-
function
|
19504
|
+
function pm(a2) {
|
19505
19505
|
return (e) => {
|
19506
19506
|
if (e.sessionStore)
|
19507
19507
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
19508
19508
|
};
|
19509
19509
|
}
|
19510
|
-
var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Dt, import_eventemitter24, import_uuid9, import_uuid10,
|
19510
|
+
var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Dt, import_eventemitter24, import_uuid9, import_uuid10, Ra, Ia, Ha, Ft, Kr, qr, $r, m, v, Zi, wa, ur, er, Da, jr, tr, Jr, B, Na, Dn, _n, G, Kt, Yr, D, ir, Oa, ye, xn, xa, oe, Ua, z, ue, Un, Bn, Z, q, Ba, Zr, Vn, Fn, sr, Va, Wn, $n, Kn, qn, jn, Jn, Qn, zn, at, Fa, Yn, Y, ts, Xn, ne, Zn, qt, Ga, is, ec, rs, tc, ic, rc, sc, ac, oc, nc, cc, ss, pc, Wa, hc, os, ar, ns, cs, ds, ls, us, ps, hs, ms, Ss, $a, d, pe, _, gs, Ce, qa, yc, Ts, fs, Ms, ys, Ve, M, f, Ja, S, cr, ks, ce, Es, bs, As, I, y, hr, j, mr, Sr, gr, ws, Ds, _s, Ns, Tr, Bs, fr, Vs, vr, Mr, Ws, $s, pt, Qe, gt, k, Cr, Tt, Zs, fo, vo, W, Lr, Mo, yo, ko, Eo, Po, Q, um, mm, Sm, ni, ea, gm, Tm, fm, bo, Ao, Mm, ta, ym, Ro, km, Em, Pm, bm, Am, Rm, ia, ra, Hm, Cm, sa, Lm, wm, aa, Dm, _m, Nm, oa, na, Io, Ho, Co, Om, xm, Um, Bm, Vm, ca, Ym, Lo, Xm, Zm, eS, Do, _o, Or, Te, $, Vi, Qi, en, tn, rn, sn, ba, an, Aa, Fr, ve, on, nn, cn, dn, ln, un, pn, hn, mn, Sn, Gr, gn, Tn, fn, vn, Mn, yn;
|
19511
19511
|
var init_dist = __esm({
|
19512
19512
|
"../hms-video-store/dist/index.js"() {
|
19513
19513
|
"use strict";
|
@@ -19535,13 +19535,13 @@ var init_dist = __esm({
|
|
19535
19535
|
import_uuid9 = require("uuid");
|
19536
19536
|
import_uuid10 = require("uuid");
|
19537
19537
|
init_es();
|
19538
|
-
|
19539
|
-
|
19540
|
-
|
19538
|
+
Ra = Object.defineProperty;
|
19539
|
+
Ia = Object.defineProperties;
|
19540
|
+
Ha = Object.getOwnPropertyDescriptors;
|
19541
19541
|
Ft = Object.getOwnPropertySymbols;
|
19542
19542
|
Kr = Object.prototype.hasOwnProperty;
|
19543
19543
|
qr = Object.prototype.propertyIsEnumerable;
|
19544
|
-
$r = (a2, e, t) => e in a2 ?
|
19544
|
+
$r = (a2, e, t) => e in a2 ? Ra(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
19545
19545
|
m = (a2, e) => {
|
19546
19546
|
for (var t in e || (e = {}))
|
19547
19547
|
Kr.call(e, t) && $r(a2, t, e[t]);
|
@@ -19550,7 +19550,7 @@ var init_dist = __esm({
|
|
19550
19550
|
qr.call(e, t) && $r(a2, t, e[t]);
|
19551
19551
|
return a2;
|
19552
19552
|
};
|
19553
|
-
v = (a2, e) =>
|
19553
|
+
v = (a2, e) => Ia(a2, Ha(e));
|
19554
19554
|
Zi = (a2, e) => {
|
19555
19555
|
var t = {};
|
19556
19556
|
for (var i in a2)
|
@@ -19560,43 +19560,43 @@ var init_dist = __esm({
|
|
19560
19560
|
e.indexOf(i) < 0 && qr.call(a2, i) && (t[i] = a2[i]);
|
19561
19561
|
return t;
|
19562
19562
|
};
|
19563
|
-
|
19564
|
-
ur =
|
19565
|
-
|
19563
|
+
wa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
19564
|
+
ur = wa((od, za) => {
|
19565
|
+
za.exports = { version: "0.12.7-alpha.2", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
|
19566
19566
|
});
|
19567
19567
|
er = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(er || {});
|
19568
|
-
|
19568
|
+
Da = ((e) => (e.CHAT = "chat", e))(Da || {});
|
19569
19569
|
jr = ((t) => (t.INFO = "info", t.ERROR = "error", t))(jr || {});
|
19570
|
-
tr = ((
|
19570
|
+
tr = ((L) => (L.PEER_JOINED = "PEER_JOINED", L.PEER_LEFT = "PEER_LEFT", L.PEER_LIST = "PEER_LIST", L.NEW_MESSAGE = "NEW_MESSAGE", L.ERROR = "ERROR", L.RECONNECTING = "RECONNECTING", L.RECONNECTED = "RECONNECTED", L.TRACK_ADDED = "TRACK_ADDED", L.TRACK_REMOVED = "TRACK_REMOVED", L.TRACK_MUTED = "TRACK_MUTED", L.TRACK_UNMUTED = "TRACK_UNMUTED", L.TRACK_DEGRADED = "TRACK_DEGRADED", L.TRACK_RESTORED = "TRACK_RESTORED", L.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", L.ROLE_UPDATED = "ROLE_UPDATED", L.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", L.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", L.ROOM_ENDED = "ROOM_ENDED", L.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", L.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", L.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", L.NAME_UPDATED = "NAME_UPDATED", L.METADATA_UPDATED = "METADATA_UPDATED", L.POLL_CREATED = "POLL_CREATED", L.POLL_STARTED = "POLL_STARTED", L.POLL_STOPPED = "POLL_STOPPED", L.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", L.POLLS_LIST = "POLLS_LIST", L.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", L))(tr || {});
|
19571
19571
|
Jr = ((t) => (t.audio = "audio", t.video = "video", t))(Jr || {});
|
19572
19572
|
B = (a2) => a2.room;
|
19573
|
-
|
19574
|
-
|
19575
|
-
|
19573
|
+
Na = (a2) => a2.errors;
|
19574
|
+
Dn = createSelector(Na, (a2) => a2.length === 0 ? null : a2.at(-1));
|
19575
|
+
_n = createSelector(B, (a2) => a2.id);
|
19576
19576
|
G = (a2) => a2.peers;
|
19577
19577
|
Kt = (a2) => a2.messages.byID;
|
19578
19578
|
Yr = (a2) => a2.messages.allIDs;
|
19579
19579
|
D = (a2) => a2.tracks;
|
19580
19580
|
ir = (a2) => a2.appData;
|
19581
|
-
|
19581
|
+
Oa = (a2) => a2.speakers;
|
19582
19582
|
ye = createSelector([B], (a2) => a2 && a2.isConnected);
|
19583
|
-
|
19584
|
-
|
19585
|
-
oe = createSelector([B, G,
|
19586
|
-
|
19583
|
+
xn = createSelector([ye, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
|
19584
|
+
xa = (a2) => a2.hideLocalPeer;
|
19585
|
+
oe = createSelector([B, G, xa], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
19586
|
+
Ua = createSelector(D, (a2) => Object.values(a2));
|
19587
19587
|
z = createSelector(B, G, (a2, e) => e[a2.localPeer]);
|
19588
19588
|
ue = createSelector(B, (a2) => a2.localPeer);
|
19589
|
-
|
19590
|
-
|
19589
|
+
Un = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
|
19590
|
+
Bn = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
|
19591
19591
|
Z = createSelector(z, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
19592
19592
|
q = createSelector(z, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
19593
|
-
|
19594
|
-
Zr = createSelector([Z, q,
|
19593
|
+
Ba = createSelector(z, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
19594
|
+
Zr = createSelector([Z, q, Ba], (a2, e, t) => {
|
19595
19595
|
let i = t ? [...t] : [];
|
19596
19596
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
19597
19597
|
});
|
19598
|
-
|
19599
|
-
|
19598
|
+
Vn = createSelector(oe, (a2) => a2.filter((e) => !e.isLocal));
|
19599
|
+
Fn = createSelector(G, Oa, (a2, e) => {
|
19600
19600
|
let t = Object.entries(e).sort((i, r) => {
|
19601
19601
|
var n, l;
|
19602
19602
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -19613,7 +19613,7 @@ var init_dist = __esm({
|
|
19613
19613
|
let { video: t, audio: i } = He(e, a2);
|
19614
19614
|
return !!(t || i);
|
19615
19615
|
});
|
19616
|
-
|
19616
|
+
Va = createSelector(G, D, (a2, e) => {
|
19617
19617
|
let t;
|
19618
19618
|
for (let i in a2) {
|
19619
19619
|
let r = a2[i], { video: s, audio: o } = He(e, r);
|
@@ -19623,15 +19623,15 @@ var init_dist = __esm({
|
|
19623
19623
|
}
|
19624
19624
|
return t;
|
19625
19625
|
});
|
19626
|
-
|
19627
|
-
|
19626
|
+
Wn = createSelector(Va, (a2) => !!a2);
|
19627
|
+
$n = createSelector(G, D, (a2, e) => {
|
19628
19628
|
for (let t in a2) {
|
19629
19629
|
let i = a2[t], { audio: r, video: s } = He(e, i);
|
19630
19630
|
if (!s && r)
|
19631
19631
|
return i;
|
19632
19632
|
}
|
19633
19633
|
});
|
19634
|
-
|
19634
|
+
Kn = createSelector(G, D, (a2, e) => {
|
19635
19635
|
let t = [], i = [];
|
19636
19636
|
for (let r in a2) {
|
19637
19637
|
let s = a2[r], { video: o, audio: n } = He(e, s);
|
@@ -19639,62 +19639,62 @@ var init_dist = __esm({
|
|
19639
19639
|
}
|
19640
19640
|
return t.concat(i);
|
19641
19641
|
});
|
19642
|
-
|
19642
|
+
qn = createSelector(G, D, (a2, e) => {
|
19643
19643
|
for (let t in e) {
|
19644
19644
|
let i = e[t];
|
19645
19645
|
if (rt(i) && it(i) && i.peerId)
|
19646
19646
|
return a2[i.peerId];
|
19647
19647
|
}
|
19648
19648
|
});
|
19649
|
-
|
19649
|
+
jn = createSelector(G, D, (a2, e) => {
|
19650
19650
|
for (let t in e) {
|
19651
19651
|
let i = e[t];
|
19652
19652
|
if ($t(i) && i.peerId)
|
19653
19653
|
return a2[i.peerId];
|
19654
19654
|
}
|
19655
19655
|
});
|
19656
|
-
|
19657
|
-
|
19658
|
-
|
19656
|
+
Jn = createSelector(Ua, (a2) => a2.filter(Qr));
|
19657
|
+
Qn = createSelector(Yr, (a2) => a2.length);
|
19658
|
+
zn = createSelector(Kt, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
19659
19659
|
at = createSelector(Yr, Kt, (a2, e) => {
|
19660
19660
|
let t = [];
|
19661
19661
|
return a2.forEach((i) => {
|
19662
19662
|
t.push(e[i]);
|
19663
19663
|
}), t;
|
19664
19664
|
});
|
19665
|
-
|
19665
|
+
Fa = createSelector(at, (a2) => a2.filter((e) => {
|
19666
19666
|
var t;
|
19667
19667
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
19668
19668
|
}));
|
19669
|
-
|
19669
|
+
Yn = createSelector(Fa, (a2) => a2.filter((e) => !e.read).length);
|
19670
19670
|
Y = createSelector([B], (a2) => a2 && a2.roomState);
|
19671
19671
|
ts = createSelector(Y, (a2) => a2 === "Preview");
|
19672
|
-
|
19672
|
+
Xn = createSelector(B, (a2) => a2.roomState !== "Disconnected");
|
19673
19673
|
ne = (a2) => a2.roles;
|
19674
|
-
|
19674
|
+
Zn = createSelector([ne], (a2) => Object.keys(a2));
|
19675
19675
|
qt = createSelector([z, ne], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
19676
|
-
|
19676
|
+
Ga = (a2) => {
|
19677
19677
|
var e;
|
19678
19678
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
19679
19679
|
};
|
19680
|
-
is = createSelector([
|
19681
|
-
|
19680
|
+
is = createSelector([Ga, ne], (a2, e) => a2 ? e[a2] : null);
|
19681
|
+
ec = createSelector([qt], (a2) => {
|
19682
19682
|
var e;
|
19683
19683
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
19684
19684
|
});
|
19685
19685
|
rs = createSelector(qt, (a2) => a2 == null ? void 0 : a2.permissions);
|
19686
|
-
|
19687
|
-
|
19688
|
-
|
19689
|
-
|
19690
|
-
|
19691
|
-
|
19692
|
-
|
19693
|
-
|
19686
|
+
tc = createSelector(B, (a2) => a2.recording);
|
19687
|
+
ic = createSelector(B, (a2) => a2.rtmp);
|
19688
|
+
rc = createSelector(B, (a2) => a2.hls);
|
19689
|
+
sc = createSelector(B, (a2) => a2.sessionId);
|
19690
|
+
ac = createSelector(B, (a2) => a2.startedAt);
|
19691
|
+
oc = createSelector(B, (a2) => !!a2.isLargeRoom);
|
19692
|
+
nc = createSelector(B, (a2) => !!a2.isEffectsEnabled);
|
19693
|
+
cc = createSelector(B, (a2) => a2.effectsKey);
|
19694
19694
|
ss = (a2) => a2.polls;
|
19695
|
-
|
19696
|
-
|
19697
|
-
|
19695
|
+
pc = createSelector(oe, (a2) => a2.filter((e) => e.isHandRaised));
|
19696
|
+
Wa = (a2) => a2.whiteboards;
|
19697
|
+
hc = createSelector(Wa, (a2) => Object.values(a2)[0]);
|
19698
19698
|
os = (a2 = "audio") => (e) => e.playlist[a2].list;
|
19699
19699
|
ar = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
19700
19700
|
ns = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
@@ -19709,7 +19709,7 @@ var init_dist = __esm({
|
|
19709
19709
|
hs = { selection: ar("audio"), progress: ns("audio"), currentTime: cs("audio"), playbackRate: ds("audio"), volume: ls("audio"), list: us("audio"), selectedItem: ps("audio") };
|
19710
19710
|
ms = { selection: ar("video"), progress: ns("video"), currentTime: cs("video"), playbackRate: ds("video"), volume: ls("video"), list: us("video"), selectedItem: ps("video") };
|
19711
19711
|
Ss = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(Ss || {});
|
19712
|
-
|
19712
|
+
$a = typeof window != "undefined" && typeof window.expect != "undefined";
|
19713
19713
|
d = class {
|
19714
19714
|
static v(e, ...t) {
|
19715
19715
|
this.log(0, e, ...t);
|
@@ -19775,15 +19775,15 @@ var init_dist = __esm({
|
|
19775
19775
|
}
|
19776
19776
|
}
|
19777
19777
|
};
|
19778
|
-
d.level =
|
19778
|
+
d.level = $a ? 7 : 0;
|
19779
19779
|
pe = new import_ua_parser_js.UAParser();
|
19780
19780
|
_ = typeof window != "undefined";
|
19781
19781
|
Ce = typeof window == "undefined" && !((gs = pe.getBrowser().name) != null && gs.toLowerCase().includes("electron"));
|
19782
|
-
|
19783
|
-
|
19782
|
+
qa = () => !Ce;
|
19783
|
+
yc = qa();
|
19784
19784
|
Ms = ((fs = (Ts = pe.getBrowser()) == null ? void 0 : Ts.name) == null ? void 0 : fs.toLowerCase()) === "firefox";
|
19785
19785
|
ys = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(ys || {});
|
19786
|
-
Ve =
|
19786
|
+
Ve = ja();
|
19787
19787
|
M = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
|
19788
19788
|
f = class a extends Error {
|
19789
19789
|
constructor(t, i, r, s, o, n = false) {
|
@@ -19814,7 +19814,7 @@ var init_dist = __esm({
|
|
19814
19814
|
}`;
|
19815
19815
|
}
|
19816
19816
|
};
|
19817
|
-
|
19817
|
+
Ja = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
19818
19818
|
S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
19819
19819
|
return new f(M.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
19820
19820
|
}, WebSocketConnectionLost(a2, e = "") {
|
@@ -19874,7 +19874,7 @@ var init_dist = __esm({
|
|
19874
19874
|
}, StatsFailed(a2, e = "") {
|
19875
19875
|
return new f(M.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
19876
19876
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
19877
|
-
return new f(a2, "ServerErrors", e, t, t,
|
19877
|
+
return new f(a2, "ServerErrors", e, t, t, Ja.includes(e));
|
19878
19878
|
}, AlreadyJoined(a2, e = "") {
|
19879
19879
|
return new f(M.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
19880
19880
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
@@ -20127,7 +20127,8 @@ var init_dist = __esm({
|
|
20127
20127
|
gr = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(gr || {});
|
20128
20128
|
ws = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(ws || {});
|
20129
20129
|
Ds = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Ds || {});
|
20130
|
-
_s = ((i) => (i.
|
20130
|
+
_s = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(_s || {});
|
20131
|
+
Ns = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ns || {});
|
20131
20132
|
Tr = class {
|
20132
20133
|
constructor() {
|
20133
20134
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
@@ -20155,7 +20156,7 @@ var init_dist = __esm({
|
|
20155
20156
|
return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
20156
20157
|
}
|
20157
20158
|
};
|
20158
|
-
|
20159
|
+
Bs = new Tr();
|
20159
20160
|
fr = class {
|
20160
20161
|
constructor() {
|
20161
20162
|
this.TAG = "[HMSResizeObserverWrapper]";
|
@@ -20183,11 +20184,11 @@ var init_dist = __esm({
|
|
20183
20184
|
return e || d.w(this.TAG, "Resize Observer is not supported"), e;
|
20184
20185
|
}
|
20185
20186
|
};
|
20186
|
-
|
20187
|
+
Vs = new fr();
|
20187
20188
|
vr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(vr || {});
|
20188
20189
|
Mr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Mr || {});
|
20189
|
-
|
20190
|
-
|
20190
|
+
Ws = "https://event.100ms.live/v2/client/report";
|
20191
|
+
$s = "https://event-nonprod.100ms.live/v2/client/report";
|
20191
20192
|
pt = Math.pow(2, 31) - 1;
|
20192
20193
|
Qe = class {
|
20193
20194
|
};
|
@@ -20261,124 +20262,124 @@ var init_dist = __esm({
|
|
20261
20262
|
k.level = 0;
|
20262
20263
|
Cr = (a2, e) => e;
|
20263
20264
|
Tt = (a2, e) => e;
|
20264
|
-
|
20265
|
-
To = (a2, e) => e;
|
20265
|
+
Zs = (a2, e) => e;
|
20266
20266
|
fo = (a2, e) => e;
|
20267
|
+
vo = (a2, e) => e;
|
20267
20268
|
W = createSelector([G, Cr], (a2, e) => e ? a2[e] : null);
|
20268
20269
|
Lr = createSelector([D, Tt], (a2, e) => e ? a2[e] : null);
|
20269
|
-
|
20270
|
+
Mo = createSelector([D, Tt], (a2, e) => {
|
20270
20271
|
if (!e)
|
20271
20272
|
return null;
|
20272
20273
|
let t = a2[e];
|
20273
20274
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
20274
20275
|
});
|
20275
|
-
|
20276
|
+
yo = createSelector([D, Tt], (a2, e) => {
|
20276
20277
|
if (!e)
|
20277
20278
|
return null;
|
20278
20279
|
let t = a2[e];
|
20279
20280
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
20280
20281
|
});
|
20281
|
-
|
20282
|
+
ko = createSelector([D, Tt], (a2, e) => {
|
20282
20283
|
if (!e)
|
20283
20284
|
return null;
|
20284
20285
|
let t = a2[e];
|
20285
20286
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
20286
20287
|
});
|
20287
|
-
|
20288
|
+
Eo = createSelector([D, Tt], (a2, e) => {
|
20288
20289
|
if (!e)
|
20289
20290
|
return null;
|
20290
20291
|
let t = a2[e];
|
20291
20292
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
20292
20293
|
});
|
20293
|
-
|
20294
|
+
Po = createSelector([ss, vo], (a2, e) => e ? a2[e] : null);
|
20294
20295
|
Q = R(W);
|
20295
|
-
|
20296
|
+
um = R(createSelector([ir, fo], (a2, e) => {
|
20296
20297
|
if (a2)
|
20297
20298
|
return e ? a2[e] : a2;
|
20298
20299
|
}));
|
20299
|
-
|
20300
|
-
|
20300
|
+
mm = R(createSelector(W, (a2) => a2 == null ? void 0 : a2.name));
|
20301
|
+
Sm = R(createSelector(W, (a2) => a2 == null ? void 0 : a2.type));
|
20301
20302
|
ni = R(Lr);
|
20302
|
-
|
20303
|
-
Sm = R(Mo);
|
20303
|
+
ea = R(Mo);
|
20304
20304
|
gm = R(yo);
|
20305
20305
|
Tm = R(ko);
|
20306
|
-
|
20306
|
+
fm = R(Eo);
|
20307
|
+
bo = R((a2, e) => {
|
20307
20308
|
let t = W(a2, e);
|
20308
20309
|
if (t && t.videoTrack && t.videoTrack !== "")
|
20309
20310
|
return a2.tracks[t.videoTrack];
|
20310
20311
|
});
|
20311
|
-
|
20312
|
+
Ao = R((a2, e) => {
|
20312
20313
|
let t = W(a2, e);
|
20313
20314
|
if (t && t.audioTrack && t.audioTrack !== "")
|
20314
20315
|
return a2.tracks[t.audioTrack];
|
20315
20316
|
});
|
20316
|
-
|
20317
|
+
Mm = R((a2, e) => {
|
20317
20318
|
let t = W(a2, e);
|
20318
20319
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
20319
20320
|
});
|
20320
|
-
|
20321
|
-
|
20322
|
-
|
20323
|
-
let t =
|
20324
|
-
return
|
20325
|
-
};
|
20326
|
-
|
20327
|
-
|
20321
|
+
ta = (a2, e) => e ? a2.speakers[e] : null;
|
20322
|
+
ym = R(createSelector(ta, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
20323
|
+
Ro = (a2, e) => {
|
20324
|
+
let t = Ao(e)(a2);
|
20325
|
+
return ta(a2, t == null ? void 0 : t.id);
|
20326
|
+
};
|
20327
|
+
km = R(createSelector(Ro, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
20328
|
+
Em = R((a2, e) => {
|
20328
20329
|
if (e)
|
20329
20330
|
return a2.connectionQualities[e];
|
20330
20331
|
});
|
20331
|
-
|
20332
|
+
Pm = R((a2, e) => {
|
20332
20333
|
let t = W(a2, e);
|
20333
20334
|
if (t) {
|
20334
20335
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => tt(a2.tracks[r]));
|
20335
20336
|
return i ? a2.tracks[i] : void 0;
|
20336
20337
|
}
|
20337
20338
|
});
|
20338
|
-
|
20339
|
+
bm = R(createSelector(D, W, (a2, e) => {
|
20339
20340
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20340
20341
|
let r = a2[i];
|
20341
20342
|
return rt(r) && it(r);
|
20342
20343
|
});
|
20343
20344
|
return t ? a2[t] : void 0;
|
20344
20345
|
}));
|
20345
|
-
|
20346
|
+
Am = R(createSelector(D, W, (a2, e) => {
|
20346
20347
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20347
20348
|
let r = a2[i];
|
20348
20349
|
return rt(r) && tt(r);
|
20349
20350
|
});
|
20350
20351
|
return t ? a2[t] : void 0;
|
20351
20352
|
}));
|
20352
|
-
|
20353
|
+
Rm = R(createSelector(D, W, (a2, e) => {
|
20353
20354
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20354
20355
|
let r = a2[i];
|
20355
20356
|
return $t(r) && tt(r);
|
20356
20357
|
});
|
20357
20358
|
return t ? a2[t] : void 0;
|
20358
20359
|
}));
|
20359
|
-
|
20360
|
-
|
20361
|
-
|
20360
|
+
ia = R(createSelector(D, W, (a2, e) => He(a2, e)));
|
20361
|
+
ra = (a2) => createSelector(ia(a2), (e) => e.audio);
|
20362
|
+
Hm = R((a2, e) => {
|
20362
20363
|
let t = W(a2, e);
|
20363
20364
|
return Ue(a2, t == null ? void 0 : t.audioTrack);
|
20364
20365
|
});
|
20365
|
-
|
20366
|
+
Cm = R((a2, e) => {
|
20366
20367
|
let t = W(a2, e);
|
20367
20368
|
return Ue(a2, t == null ? void 0 : t.videoTrack);
|
20368
20369
|
});
|
20369
|
-
|
20370
|
+
sa = R((a2, e) => {
|
20370
20371
|
if (e && a2.tracks[e])
|
20371
20372
|
return a2.tracks[e].volume === 0;
|
20372
20373
|
});
|
20373
|
-
|
20374
|
+
Lm = R((a2, e) => {
|
20374
20375
|
let t = W(a2, e);
|
20375
|
-
return
|
20376
|
+
return sa(t == null ? void 0 : t.audioTrack)(a2);
|
20376
20377
|
});
|
20377
|
-
|
20378
|
-
let t =
|
20379
|
-
return
|
20378
|
+
wm = R((a2, e) => {
|
20379
|
+
let t = ra(e)(a2);
|
20380
|
+
return sa(t == null ? void 0 : t.id)(a2);
|
20380
20381
|
});
|
20381
|
-
|
20382
|
+
aa = R((a2, e) => {
|
20382
20383
|
let t = Lr(a2, e);
|
20383
20384
|
if (t) {
|
20384
20385
|
if (t.type !== "audio") {
|
@@ -20388,15 +20389,15 @@ var init_dist = __esm({
|
|
20388
20389
|
return t.volume;
|
20389
20390
|
}
|
20390
20391
|
});
|
20391
|
-
wm = R((a2, e) => {
|
20392
|
-
let t = W(a2, e);
|
20393
|
-
return sa(t == null ? void 0 : t.audioTrack)(a2);
|
20394
|
-
});
|
20395
20392
|
Dm = R((a2, e) => {
|
20396
|
-
let t =
|
20397
|
-
return
|
20393
|
+
let t = W(a2, e);
|
20394
|
+
return aa(t == null ? void 0 : t.audioTrack)(a2);
|
20398
20395
|
});
|
20399
20396
|
_m = R((a2, e) => {
|
20397
|
+
let t = ra(e)(a2);
|
20398
|
+
return aa(t == null ? void 0 : t.id)(a2);
|
20399
|
+
});
|
20400
|
+
Nm = R((a2, e) => {
|
20400
20401
|
let t = Lr(a2, e);
|
20401
20402
|
if (t) {
|
20402
20403
|
if (t.type !== "video") {
|
@@ -20406,45 +20407,45 @@ var init_dist = __esm({
|
|
20406
20407
|
return t.layer;
|
20407
20408
|
}
|
20408
20409
|
});
|
20409
|
-
|
20410
|
+
oa = createSelector([at, ue, Cr], (a2, e, t) => {
|
20410
20411
|
if (t)
|
20411
20412
|
return a2.filter((i) => {
|
20412
20413
|
var r;
|
20413
20414
|
return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
|
20414
20415
|
});
|
20415
20416
|
});
|
20416
|
-
|
20417
|
+
na = createSelector([at, Zs], (a2, e) => {
|
20417
20418
|
if (e)
|
20418
20419
|
return a2.filter((t) => {
|
20419
20420
|
var i, r;
|
20420
20421
|
return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
|
20421
20422
|
});
|
20422
20423
|
});
|
20423
|
-
|
20424
|
+
Io = createSelector(at, (a2) => a2.filter((e) => {
|
20424
20425
|
var t;
|
20425
20426
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
20426
20427
|
}));
|
20427
|
-
|
20428
|
-
|
20429
|
-
|
20430
|
-
Om = R(aa);
|
20428
|
+
Ho = createSelector([na, Zs], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
20429
|
+
Co = createSelector([oa, Cr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
20430
|
+
Om = createSelector(Io, (a2) => a2.filter((e) => !e.read).length);
|
20431
20431
|
xm = R(oa);
|
20432
|
-
Um = R(
|
20432
|
+
Um = R(na);
|
20433
20433
|
Bm = R(Ho);
|
20434
|
-
|
20435
|
-
|
20434
|
+
Vm = R(Co);
|
20435
|
+
ca = R(Po);
|
20436
|
+
Ym = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
|
20436
20437
|
var r;
|
20437
20438
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
20438
20439
|
}));
|
20439
|
-
|
20440
|
-
|
20441
|
-
|
20442
|
-
|
20443
|
-
|
20440
|
+
Lo = (a2) => a2.roleChangeRequests[0] || null;
|
20441
|
+
Xm = createSelector([Lo, G, ne], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
20442
|
+
Zm = createSelector([qt], (a2) => st(a2));
|
20443
|
+
eS = createSelector([is], (a2) => st(a2));
|
20444
|
+
Do = createSelector([q, D], (a2, e) => {
|
20444
20445
|
let t = null;
|
20445
20446
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
20446
20447
|
});
|
20447
|
-
|
20448
|
+
_o = createSelector([Z, D], (a2, e) => {
|
20448
20449
|
let t = null;
|
20449
20450
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
20450
20451
|
});
|
@@ -20467,7 +20468,7 @@ var init_dist = __esm({
|
|
20467
20468
|
this.addEventToStorage(e);
|
20468
20469
|
return;
|
20469
20470
|
}
|
20470
|
-
let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ?
|
20471
|
+
let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? Ws : $s;
|
20471
20472
|
fetch(i, { method: "POST", headers: { "Content-Type": "application/json", Authorization: `Bearer ${e.metadata.token}`, user_agent_v2: e.metadata.userAgent }, body: JSON.stringify(t) }).then((r) => {
|
20472
20473
|
if (r.status === 401) {
|
20473
20474
|
this.removeFromStorage(e);
|
@@ -20497,62 +20498,62 @@ var init_dist = __esm({
|
|
20497
20498
|
$ = ((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))($ || {});
|
20498
20499
|
Vi = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(Vi || {});
|
20499
20500
|
Qi = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(Qi || {});
|
20500
|
-
|
20501
|
-
|
20502
|
-
|
20503
|
-
|
20504
|
-
|
20505
|
-
|
20506
|
-
|
20501
|
+
en = (a2) => a2.localPeer.id;
|
20502
|
+
tn = (a2) => a2.localPeer.audioTrack;
|
20503
|
+
rn = (a2) => a2.localPeer.videoTrack;
|
20504
|
+
sn = (a2, e) => e;
|
20505
|
+
ba = (a2, e) => e;
|
20506
|
+
an = (a2) => a2.remoteTrackStats;
|
20507
|
+
Aa = (a2) => a2.peerStats;
|
20507
20508
|
Fr = (a2) => a2.localTrackStats;
|
20508
|
-
ve = createSelector([
|
20509
|
-
|
20509
|
+
ve = createSelector([Aa, en], (a2, e) => a2[e]);
|
20510
|
+
on = createSelector(ve, (a2) => {
|
20510
20511
|
var e;
|
20511
20512
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
20512
20513
|
});
|
20513
|
-
|
20514
|
+
nn = createSelector(ve, (a2) => {
|
20514
20515
|
var e;
|
20515
20516
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
20516
20517
|
});
|
20517
|
-
|
20518
|
+
cn = createSelector(ve, (a2) => {
|
20518
20519
|
var e;
|
20519
20520
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
20520
20521
|
});
|
20521
|
-
|
20522
|
+
dn = createSelector(ve, (a2) => {
|
20522
20523
|
var e;
|
20523
20524
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
20524
20525
|
});
|
20525
|
-
|
20526
|
+
ln = createSelector(ve, (a2) => {
|
20526
20527
|
var e;
|
20527
20528
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
20528
20529
|
});
|
20529
|
-
|
20530
|
+
un = createSelector(ve, (a2) => {
|
20530
20531
|
var e;
|
20531
20532
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
20532
20533
|
});
|
20533
|
-
|
20534
|
+
pn = createSelector(ve, (a2) => {
|
20534
20535
|
var e;
|
20535
20536
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
20536
20537
|
});
|
20537
|
-
|
20538
|
+
hn = createSelector(ve, (a2) => {
|
20538
20539
|
var e;
|
20539
20540
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
20540
20541
|
});
|
20541
|
-
|
20542
|
-
|
20543
|
-
Gr = createSelector([Fr,
|
20544
|
-
Sn = R(hn);
|
20542
|
+
mn = createSelector([Aa, sn], (a2, e) => e ? a2[e] : void 0);
|
20543
|
+
Sn = createSelector([an, ba], (a2, e) => e ? a2[e] : void 0);
|
20544
|
+
Gr = createSelector([Fr, ba], (a2, e) => e ? a2[e] : void 0);
|
20545
20545
|
gn = R(mn);
|
20546
|
-
Tn =
|
20546
|
+
Tn = R(Sn);
|
20547
|
+
fn = createSelector([Fr, tn], (a2, e) => {
|
20547
20548
|
var t;
|
20548
20549
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
20549
20550
|
});
|
20550
|
-
|
20551
|
-
|
20551
|
+
vn = R(createSelector(Gr, (a2) => a2 == null ? void 0 : a2[0]));
|
20552
|
+
Mn = createSelector([Fr, rn], (a2, e) => {
|
20552
20553
|
var t;
|
20553
20554
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
20554
20555
|
});
|
20555
|
-
|
20556
|
+
yn = R(createSelector(Gr, (a2) => a2));
|
20556
20557
|
}
|
20557
20558
|
});
|
20558
20559
|
|
@@ -27010,7 +27011,7 @@ var init_Chat = __esm({
|
|
27010
27011
|
const listRef = (0, import_react144.useRef)(null);
|
27011
27012
|
const hmsActions = (0, import_react_sdk70.useHMSActions)();
|
27012
27013
|
const vanillaStore = (0, import_react_sdk70.useHMSVanillaStore)();
|
27013
|
-
const { enabled: isChatEnabled = true } = (0, import_react_sdk70.useHMSStore)(
|
27014
|
+
const { enabled: isChatEnabled = true } = (0, import_react_sdk70.useHMSStore)(pm("chatState" /* CHAT_STATE */)) || {};
|
27014
27015
|
const isMobile = (0, import_react_use21.useMedia)(config.media.md);
|
27015
27016
|
const isMobileHLSStream = useMobileHLSStream();
|
27016
27017
|
const isLandscapeStream = useLandscapeHLSStream();
|
@@ -27094,7 +27095,7 @@ var init_Chat = __esm({
|
|
27094
27095
|
scrollToBottom,
|
27095
27096
|
listRef
|
27096
27097
|
}) => {
|
27097
|
-
const unreadCount = (0, import_react_sdk70.useHMSStore)(
|
27098
|
+
const unreadCount = (0, import_react_sdk70.useHMSStore)(zn);
|
27098
27099
|
if (!unreadCount || !listRef.current) {
|
27099
27100
|
return null;
|
27100
27101
|
}
|
@@ -28285,10 +28286,10 @@ var init_VBPicker = __esm({
|
|
28285
28286
|
const [blurAmount, setBlurAmount] = (0, import_react154.useState)(VBHandler.getBlurAmount() || 0.5);
|
28286
28287
|
const roomState = (0, import_react_sdk78.useHMSStore)(import_react_sdk78.selectRoomState);
|
28287
28288
|
const isLargeRoom = (0, import_react_sdk78.useHMSStore)(import_react_sdk78.selectIsLargeRoom);
|
28288
|
-
const isEffectsEnabled = (0, import_react_sdk78.useHMSStore)(
|
28289
|
-
const effectsKey = (0, import_react_sdk78.useHMSStore)(
|
28289
|
+
const isEffectsEnabled = (0, import_react_sdk78.useHMSStore)(nc);
|
28290
|
+
const effectsKey = (0, import_react_sdk78.useHMSStore)(cc);
|
28290
28291
|
const isPluginAdded = (0, import_react_sdk78.useHMSStore)((0, import_react_sdk78.selectIsLocalVideoPluginPresent)(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
|
28291
|
-
const background = (0, import_react_sdk78.useHMSStore)(
|
28292
|
+
const background = (0, import_react_sdk78.useHMSStore)(um(APP_DATA.background));
|
28292
28293
|
const mediaList = backgroundMedia.length ? backgroundMedia.map((media) => media.url || "") : defaultMedia2;
|
28293
28294
|
const inPreview = roomState === import_react_sdk78.HMSRoomState.Preview;
|
28294
28295
|
const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
|
@@ -28500,6 +28501,12 @@ var init_SidePane = __esm({
|
|
28500
28501
|
},
|
28501
28502
|
hideControls: {
|
28502
28503
|
true: {}
|
28504
|
+
},
|
28505
|
+
virtualBackground: {
|
28506
|
+
true: {
|
28507
|
+
maxHeight: "100%",
|
28508
|
+
background: "$surface_dim"
|
28509
|
+
}
|
28503
28510
|
}
|
28504
28511
|
},
|
28505
28512
|
compoundVariants: [
|
@@ -28567,7 +28574,8 @@ var init_SidePane = __esm({
|
|
28567
28574
|
mobileStream: isMobileHLSStream,
|
28568
28575
|
hideControls,
|
28569
28576
|
overlayChat: !!((_g = elements == null ? void 0 : elements.chat) == null ? void 0 : _g.is_overlay),
|
28570
|
-
roomDescription: isMobile && sidepane === SIDE_PANE_OPTIONS.ROOM_DETAILS
|
28577
|
+
roomDescription: isMobile && sidepane === SIDE_PANE_OPTIONS.ROOM_DETAILS,
|
28578
|
+
virtualBackground: sidepane === SIDE_PANE_OPTIONS.VB
|
28571
28579
|
};
|
28572
28580
|
const SidepaneComponent = (0, import_ts_pattern11.match)(sidepane).with(SIDE_PANE_OPTIONS.POLLS, () => /* @__PURE__ */ import_react155.default.createElement(
|
28573
28581
|
Wrapper3,
|
@@ -34212,7 +34220,7 @@ function Notifications() {
|
|
34212
34220
|
}, []);
|
34213
34221
|
(0, import_react_sdk117.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
|
34214
34222
|
(0, import_react222.useEffect)(() => {
|
34215
|
-
var _a9, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m2,
|
34223
|
+
var _a9, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m2, _n2, _o2, _p;
|
34216
34224
|
if (!notification || isNotificationDisabled) {
|
34217
34225
|
return;
|
34218
34226
|
}
|
@@ -34253,7 +34261,7 @@ function Notifications() {
|
|
34253
34261
|
});
|
34254
34262
|
break;
|
34255
34263
|
case import_react_sdk117.HMSNotificationTypes.ROLE_UPDATED: {
|
34256
|
-
if (((_m2 = notification.data) == null ? void 0 : _m2.isLocal) && ((
|
34264
|
+
if (((_m2 = notification.data) == null ? void 0 : _m2.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
|
34257
34265
|
ToastManager.addToast({
|
34258
34266
|
title: `You are now a ${notification.data.roleName}`
|
34259
34267
|
});
|