@100mslive/roomkit-react 0.3.3-alpha.3 → 0.3.3-alpha.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-BCIIVR2T.js → HLSView-W72TK3BE.js} +2 -2
- package/dist/{chunk-W47ZJGSD.js → chunk-HTFCZ4D6.js} +197 -196
- package/dist/{chunk-W47ZJGSD.js.map → chunk-HTFCZ4D6.js.map} +4 -4
- package/dist/index.cjs.js +182 -181
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +6 -6
- package/dist/meta.esbuild.json +13 -13
- package/package.json +6 -6
- /package/dist/{HLSView-BCIIVR2T.js.map → HLSView-W72TK3BE.js.map} +0 -0
@@ -43,13 +43,13 @@ var __export = (target, all) => {
|
|
43
43
|
for (var name in all)
|
44
44
|
__defProp(target, name, { get: all[name], enumerable: true });
|
45
45
|
};
|
46
|
-
var __copyProps = (
|
46
|
+
var __copyProps = (to2, from, except, desc) => {
|
47
47
|
if (from && typeof from === "object" || typeof from === "function") {
|
48
48
|
for (let key of __getOwnPropNames(from))
|
49
|
-
if (!__hasOwnProp.call(
|
50
|
-
__defProp(
|
49
|
+
if (!__hasOwnProp.call(to2, key) && key !== except)
|
50
|
+
__defProp(to2, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
51
51
|
}
|
52
|
-
return
|
52
|
+
return to2;
|
53
53
|
};
|
54
54
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
55
55
|
// If the importer is in node compatibility mode or this is not an ESM
|
@@ -106,7 +106,7 @@ var __async = (__this, __arguments, generator) => {
|
|
106
106
|
var define_process_env_default;
|
107
107
|
var init_define_process_env = __esm({
|
108
108
|
"<define:process.env>"() {
|
109
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e1af34ff-a562-4ece-98b8-62d8c089106d", 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.19.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.3-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_e1af34ff-a562-4ece-98b8-62d8c089106d", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.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.3-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.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.6", 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: "595", 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.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240317.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.1/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.0-alpha.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:19832", 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.3-alpha.3", 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", GITHUB_RUN_ID: "8343246532", 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: "2f0dfb954601e7028cf0a4d9582a30be0fe726ca", 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: "dc383a02648df0438838bc7519ddf0466d732140d594ac7884f40b9ad676af22", 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--1710852557001-0.002215858080938826:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710852556808-0.8108733321995873:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710852534869-0.8214156190232955:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710852534692-0.4998782271041631:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.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.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_9b743310-ce74-40c4-985b-43804b3d6bc4", INVOCATION_ID: "9c159d16d0984bb1b5de7dbc6ec5d7a9", 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: "484", 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 410", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", 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.3-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.3-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", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "2f0dfb954601e7028cf0a4d9582a30be0fe726ca", 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_e1af34ff-a562-4ece-98b8-62d8c089106d", 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_e1af34ff-a562-4ece-98b8-62d8c089106d", 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.154/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_e1af34ff-a562-4ece-98b8-62d8c089106d" };
|
109
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_d1851b75-ded9-411c-8b39-0cc99e52e88e", 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.19.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.3-alpha.5", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_d1851b75-ded9-411c-8b39-0cc99e52e88e", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.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.3-alpha.5", 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.6", 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: "594", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_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.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240317.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.1/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.0-alpha.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:19840", 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.3-alpha.5", 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", GITHUB_RUN_ID: "8359425530", 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: "3496c48ec04f96f057590bfec0bb8182011a0b02", 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: "0c4e67d72e7d88c99856fdea969aa038f48122782b4c0fc552af7a5194061e66", 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--1710940063175-0.49561585595909774:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710940062978-0.7197615174263523:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710940040538-0.7382228335634688:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710940040357-0.7458450753432382:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.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.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_d39a5906-941b-4c2d-9239-7d62fbd8b4c5", INVOCATION_ID: "67e126525aec44e1b45f7bf6bdeb6a00", 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: "486", 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 100", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", 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.3-alpha.5", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.3-alpha.5", 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: "3496c48ec04f96f057590bfec0bb8182011a0b02", 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_d1851b75-ded9-411c-8b39-0cc99e52e88e", 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_d1851b75-ded9-411c-8b39-0cc99e52e88e", 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.154/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_d1851b75-ded9-411c-8b39-0cc99e52e88e" };
|
110
110
|
}
|
111
111
|
});
|
112
112
|
|
@@ -16348,8 +16348,8 @@ var createSelector = createSelectorCreator(defaultMemoize);
|
|
16348
16348
|
// ../hms-video-store/dist/index.js
|
16349
16349
|
var import_ua_parser_js = __toESM(require_ua_parser());
|
16350
16350
|
var import_lodash3 = __toESM(require_lodash2());
|
16351
|
-
import { v4 as
|
16352
|
-
import { v4 as
|
16351
|
+
import { v4 as ja } from "uuid";
|
16352
|
+
import { v4 as Ka } from "uuid";
|
16353
16353
|
|
16354
16354
|
// ../../node_modules/webrtc-adapter/src/js/adapter_core.js
|
16355
16355
|
init_define_process_env();
|
@@ -18174,15 +18174,15 @@ function shimSendThrowTypeError(window2) {
|
|
18174
18174
|
if (!(window2.RTCPeerConnection && "createDataChannel" in window2.RTCPeerConnection.prototype)) {
|
18175
18175
|
return;
|
18176
18176
|
}
|
18177
|
-
function wrapDcSend(
|
18178
|
-
const origDataChannelSend =
|
18179
|
-
|
18177
|
+
function wrapDcSend(dc2, pc) {
|
18178
|
+
const origDataChannelSend = dc2.send;
|
18179
|
+
dc2.send = function send() {
|
18180
18180
|
const data3 = arguments[0];
|
18181
18181
|
const length = data3.length || data3.size || data3.byteLength;
|
18182
|
-
if (
|
18182
|
+
if (dc2.readyState === "open" && pc.sctp && length > pc.sctp.maxMessageSize) {
|
18183
18183
|
throw new TypeError("Message too large (can send a maximum of " + pc.sctp.maxMessageSize + " bytes)");
|
18184
18184
|
}
|
18185
|
-
return origDataChannelSend.apply(
|
18185
|
+
return origDataChannelSend.apply(dc2, arguments);
|
18186
18186
|
};
|
18187
18187
|
}
|
18188
18188
|
const origCreateDataChannel = window2.RTCPeerConnection.prototype.createDataChannel;
|
@@ -18446,24 +18446,24 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
|
|
18446
18446
|
|
18447
18447
|
// ../hms-video-store/dist/index.js
|
18448
18448
|
var import_lodash4 = __toESM(require_lodash2());
|
18449
|
-
import { v4 as
|
18450
|
-
import { v4 as
|
18451
|
-
import { v4 as
|
18452
|
-
import { EventEmitter2 as
|
18449
|
+
import { v4 as ro } from "uuid";
|
18450
|
+
import { v4 as no } from "uuid";
|
18451
|
+
import { v4 as po } from "uuid";
|
18452
|
+
import { EventEmitter2 as ho } from "eventemitter2";
|
18453
18453
|
var Dt = __toESM(require_lib());
|
18454
|
-
import { EventEmitter2 as
|
18455
|
-
import { v4 as
|
18456
|
-
import { EventEmitter2 as
|
18457
|
-
import
|
18458
|
-
import { v4 as
|
18459
|
-
import { v4 as
|
18460
|
-
var
|
18461
|
-
var
|
18462
|
-
var
|
18454
|
+
import { EventEmitter2 as Lo } from "eventemitter2";
|
18455
|
+
import { v4 as _o } from "uuid";
|
18456
|
+
import { EventEmitter2 as No } from "eventemitter2";
|
18457
|
+
import Oo from "eventemitter2";
|
18458
|
+
import { v4 as xo } from "uuid";
|
18459
|
+
import { v4 as Vo } from "uuid";
|
18460
|
+
var Pa = Object.defineProperty;
|
18461
|
+
var Ea = Object.defineProperties;
|
18462
|
+
var ba = Object.getOwnPropertyDescriptors;
|
18463
18463
|
var Vt = Object.getOwnPropertySymbols;
|
18464
18464
|
var Wr = Object.prototype.hasOwnProperty;
|
18465
18465
|
var Kr = Object.prototype.propertyIsEnumerable;
|
18466
|
-
var $r = (a2, e, t) => e in a2 ?
|
18466
|
+
var $r = (a2, e, t) => e in a2 ? Pa(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
18467
18467
|
var m = (a2, e) => {
|
18468
18468
|
for (var t in e || (e = {}))
|
18469
18469
|
Wr.call(e, t) && $r(a2, t, e[t]);
|
@@ -18472,7 +18472,7 @@ var m = (a2, e) => {
|
|
18472
18472
|
Kr.call(e, t) && $r(a2, t, e[t]);
|
18473
18473
|
return a2;
|
18474
18474
|
};
|
18475
|
-
var v = (a2, e) =>
|
18475
|
+
var v = (a2, e) => Ea(a2, ba(e));
|
18476
18476
|
var Xi = (a2, e) => {
|
18477
18477
|
var t = {};
|
18478
18478
|
for (var i in a2)
|
@@ -18482,12 +18482,12 @@ var Xi = (a2, e) => {
|
|
18482
18482
|
e.indexOf(i) < 0 && Kr.call(a2, i) && (t[i] = a2[i]);
|
18483
18483
|
return t;
|
18484
18484
|
};
|
18485
|
-
var
|
18486
|
-
var lr =
|
18487
|
-
|
18485
|
+
var Ra = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
18486
|
+
var lr = Ra((id, qa) => {
|
18487
|
+
qa.exports = { version: "0.12.3-alpha.5", 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"] };
|
18488
18488
|
});
|
18489
18489
|
var Zi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Zi || {});
|
18490
|
-
var
|
18490
|
+
var Ha = ((e) => (e.CHAT = "chat", e))(Ha || {});
|
18491
18491
|
var qr = ((t) => (t.INFO = "info", t.ERROR = "error", t))(qr || {});
|
18492
18492
|
var er = ((C) => (C.PEER_JOINED = "PEER_JOINED", C.PEER_LEFT = "PEER_LEFT", C.PEER_LIST = "PEER_LIST", C.NEW_MESSAGE = "NEW_MESSAGE", C.ERROR = "ERROR", C.RECONNECTING = "RECONNECTING", C.RECONNECTED = "RECONNECTED", C.TRACK_ADDED = "TRACK_ADDED", C.TRACK_REMOVED = "TRACK_REMOVED", C.TRACK_MUTED = "TRACK_MUTED", C.TRACK_UNMUTED = "TRACK_UNMUTED", C.TRACK_DEGRADED = "TRACK_DEGRADED", C.TRACK_RESTORED = "TRACK_RESTORED", C.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", C.ROLE_UPDATED = "ROLE_UPDATED", C.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", C.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", C.ROOM_ENDED = "ROOM_ENDED", C.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", C.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", C.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", C.NAME_UPDATED = "NAME_UPDATED", C.METADATA_UPDATED = "METADATA_UPDATED", C.POLL_CREATED = "POLL_CREATED", C.POLL_STARTED = "POLL_STARTED", C.POLL_STOPPED = "POLL_STOPPED", C.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", C.POLLS_LIST = "POLLS_LIST", C.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", C))(er || {});
|
18493
18493
|
var jr = ((t) => (t.audio = "audio", t.video = "video", t))(jr || {});
|
@@ -18496,7 +18496,7 @@ function He(a2, e) {
|
|
18496
18496
|
if (e)
|
18497
18497
|
for (let r of e.auxiliaryTracks) {
|
18498
18498
|
let s = a2[r];
|
18499
|
-
|
18499
|
+
Ca(s) && (i = it(s) ? s : i, t = rt(s) ? s : t);
|
18500
18500
|
}
|
18501
18501
|
return { video: t, audio: i };
|
18502
18502
|
}
|
@@ -18506,7 +18506,7 @@ function it(a2) {
|
|
18506
18506
|
function rt(a2) {
|
18507
18507
|
return a2 && a2.type === "video";
|
18508
18508
|
}
|
18509
|
-
function
|
18509
|
+
function Ca(a2) {
|
18510
18510
|
return a2 && a2.source === "screen";
|
18511
18511
|
}
|
18512
18512
|
function $t(a2) {
|
@@ -18527,33 +18527,33 @@ function at(a2) {
|
|
18527
18527
|
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 };
|
18528
18528
|
}
|
18529
18529
|
var B = (a2) => a2.room;
|
18530
|
-
var
|
18531
|
-
var
|
18532
|
-
var
|
18530
|
+
var La = (a2) => a2.errors;
|
18531
|
+
var Hn = createSelector(La, (a2) => a2.length === 0 ? null : a2.at(-1));
|
18532
|
+
var Cn = createSelector(B, (a2) => a2.id);
|
18533
18533
|
var G = (a2) => a2.peers;
|
18534
18534
|
var Wt = (a2) => a2.messages.byID;
|
18535
18535
|
var zr = (a2) => a2.messages.allIDs;
|
18536
18536
|
var w = (a2) => a2.tracks;
|
18537
18537
|
var tr = (a2) => a2.appData;
|
18538
|
-
var
|
18538
|
+
var Da = (a2) => a2.speakers;
|
18539
18539
|
var ye = createSelector([B], (a2) => a2 && a2.isConnected);
|
18540
|
-
var
|
18541
|
-
var
|
18542
|
-
var oe = createSelector([B, G,
|
18543
|
-
var
|
18540
|
+
var wn = 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));
|
18541
|
+
var wa = (a2) => a2.hideLocalPeer;
|
18542
|
+
var oe = createSelector([B, G, wa], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
18543
|
+
var _a7 = createSelector(w, (a2) => Object.values(a2));
|
18544
18544
|
var z = createSelector(B, G, (a2, e) => e[a2.localPeer]);
|
18545
18545
|
var ue = createSelector(B, (a2) => a2.localPeer);
|
18546
|
-
var
|
18547
|
-
var
|
18546
|
+
var _n = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
|
18547
|
+
var Nn = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
|
18548
18548
|
var Z = createSelector(z, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
18549
18549
|
var K = createSelector(z, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
18550
|
-
var
|
18551
|
-
var Xr = createSelector([Z, K,
|
18550
|
+
var Na = createSelector(z, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
18551
|
+
var Xr = createSelector([Z, K, Na], (a2, e, t) => {
|
18552
18552
|
let i = t ? [...t] : [];
|
18553
18553
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
18554
18554
|
});
|
18555
|
-
var
|
18556
|
-
var
|
18555
|
+
var On = createSelector(oe, (a2) => a2.filter((e) => !e.isLocal));
|
18556
|
+
var xn = createSelector(G, Da, (a2, e) => {
|
18557
18557
|
let t = Object.entries(e).sort((i, r) => {
|
18558
18558
|
var n, l;
|
18559
18559
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -18570,7 +18570,7 @@ var rr = createSelector(z, w, (a2, e) => {
|
|
18570
18570
|
let { video: t, audio: i } = He(e, a2);
|
18571
18571
|
return !!(t || i);
|
18572
18572
|
});
|
18573
|
-
var
|
18573
|
+
var Oa = createSelector(G, w, (a2, e) => {
|
18574
18574
|
let t;
|
18575
18575
|
for (let i in a2) {
|
18576
18576
|
let r = a2[i], { video: s, audio: o } = He(e, r);
|
@@ -18580,15 +18580,15 @@ var Na = createSelector(G, w, (a2, e) => {
|
|
18580
18580
|
}
|
18581
18581
|
return t;
|
18582
18582
|
});
|
18583
|
-
var
|
18584
|
-
var
|
18583
|
+
var Bn = createSelector(Oa, (a2) => !!a2);
|
18584
|
+
var Vn = createSelector(G, w, (a2, e) => {
|
18585
18585
|
for (let t in a2) {
|
18586
18586
|
let i = a2[t], { audio: r, video: s } = He(e, i);
|
18587
18587
|
if (!s && r)
|
18588
18588
|
return i;
|
18589
18589
|
}
|
18590
18590
|
});
|
18591
|
-
var
|
18591
|
+
var Fn = createSelector(G, w, (a2, e) => {
|
18592
18592
|
let t = [], i = [];
|
18593
18593
|
for (let r in a2) {
|
18594
18594
|
let s = a2[r], { video: o, audio: n } = He(e, s);
|
@@ -18596,62 +18596,62 @@ var Vn = createSelector(G, w, (a2, e) => {
|
|
18596
18596
|
}
|
18597
18597
|
return t.concat(i);
|
18598
18598
|
});
|
18599
|
-
var
|
18599
|
+
var Gn = createSelector(G, w, (a2, e) => {
|
18600
18600
|
for (let t in e) {
|
18601
18601
|
let i = e[t];
|
18602
18602
|
if (st(i) && rt(i) && i.peerId)
|
18603
18603
|
return a2[i.peerId];
|
18604
18604
|
}
|
18605
18605
|
});
|
18606
|
-
var
|
18606
|
+
var $n = createSelector(G, w, (a2, e) => {
|
18607
18607
|
for (let t in e) {
|
18608
18608
|
let i = e[t];
|
18609
18609
|
if ($t(i) && i.peerId)
|
18610
18610
|
return a2[i.peerId];
|
18611
18611
|
}
|
18612
18612
|
});
|
18613
|
-
var
|
18614
|
-
var
|
18615
|
-
var
|
18613
|
+
var Wn = createSelector(_a7, (a2) => a2.filter(Jr));
|
18614
|
+
var Kn = createSelector(zr, (a2) => a2.length);
|
18615
|
+
var qn = createSelector(Wt, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
18616
18616
|
var ot = createSelector(zr, Wt, (a2, e) => {
|
18617
18617
|
let t = [];
|
18618
18618
|
return a2.forEach((i) => {
|
18619
18619
|
t.push(e[i]);
|
18620
18620
|
}), t;
|
18621
18621
|
});
|
18622
|
-
var
|
18622
|
+
var xa = createSelector(ot, (a2) => a2.filter((e) => {
|
18623
18623
|
var t;
|
18624
18624
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
18625
18625
|
}));
|
18626
|
-
var
|
18626
|
+
var jn = createSelector(xa, (a2) => a2.filter((e) => !e.read).length);
|
18627
18627
|
var Y = createSelector([B], (a2) => a2 && a2.roomState);
|
18628
18628
|
var es = createSelector(Y, (a2) => a2 === "Preview");
|
18629
|
-
var
|
18629
|
+
var Jn = createSelector(B, (a2) => a2.roomState !== "Disconnected");
|
18630
18630
|
var ne = (a2) => a2.roles;
|
18631
|
-
var
|
18631
|
+
var Qn = createSelector([ne], (a2) => Object.keys(a2));
|
18632
18632
|
var Kt = createSelector([z, ne], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
18633
|
-
var
|
18633
|
+
var Ua = (a2) => {
|
18634
18634
|
var e;
|
18635
18635
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
18636
18636
|
};
|
18637
|
-
var ts = createSelector([
|
18638
|
-
var
|
18637
|
+
var ts = createSelector([Ua, ne], (a2, e) => a2 ? e[a2] : null);
|
18638
|
+
var zn = createSelector([Kt], (a2) => {
|
18639
18639
|
var e;
|
18640
18640
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
18641
18641
|
});
|
18642
18642
|
var is = createSelector(Kt, (a2) => a2 == null ? void 0 : a2.permissions);
|
18643
|
-
var
|
18644
|
-
var
|
18645
|
-
var
|
18646
|
-
var
|
18647
|
-
var
|
18648
|
-
var
|
18649
|
-
var
|
18650
|
-
var
|
18643
|
+
var Yn = createSelector(B, (a2) => a2.recording);
|
18644
|
+
var Xn = createSelector(B, (a2) => a2.rtmp);
|
18645
|
+
var Zn = createSelector(B, (a2) => a2.hls);
|
18646
|
+
var ec = createSelector(B, (a2) => a2.sessionId);
|
18647
|
+
var tc = createSelector(B, (a2) => a2.startedAt);
|
18648
|
+
var ic = createSelector(B, (a2) => !!a2.isLargeRoom);
|
18649
|
+
var rc = createSelector(B, (a2) => !!a2.isEffectsEnabled);
|
18650
|
+
var sc = createSelector(B, (a2) => a2.effectsKey);
|
18651
18651
|
var rs = (a2) => a2.polls;
|
18652
|
-
var
|
18653
|
-
var
|
18654
|
-
var
|
18652
|
+
var cc = createSelector(oe, (a2) => a2.filter((e) => e.isHandRaised));
|
18653
|
+
var Ba = (a2) => a2.whiteboards;
|
18654
|
+
var dc = createSelector(Ba, (a2) => Object.values(a2)[0]);
|
18655
18655
|
var as = (a2 = "audio") => (e) => e.playlist[a2].list;
|
18656
18656
|
var sr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
18657
18657
|
var os = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
@@ -18669,7 +18669,7 @@ function A(a2) {
|
|
18669
18669
|
return (e) => (t) => a2(t, e);
|
18670
18670
|
}
|
18671
18671
|
var ms = ((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))(ms || {});
|
18672
|
-
var
|
18672
|
+
var Va = typeof window != "undefined" && typeof window.expect != "undefined";
|
18673
18673
|
var d = class {
|
18674
18674
|
static v(e, ...t) {
|
18675
18675
|
this.log(0, e, ...t);
|
@@ -18735,24 +18735,25 @@ var d = class {
|
|
18735
18735
|
}
|
18736
18736
|
}
|
18737
18737
|
};
|
18738
|
-
d.level =
|
18738
|
+
d.level = Va ? 7 : 0;
|
18739
18739
|
var pe = new import_ua_parser_js.UAParser();
|
18740
18740
|
var _ = typeof window != "undefined";
|
18741
18741
|
var Ss;
|
18742
18742
|
var Ce = typeof window == "undefined" && !((Ss = pe.getBrowser().name) != null && Ss.toLowerCase().includes("electron"));
|
18743
|
-
var
|
18744
|
-
var
|
18743
|
+
var Ga = () => !Ce;
|
18744
|
+
var Tc = Ga();
|
18745
18745
|
var gs;
|
18746
18746
|
var Ts;
|
18747
18747
|
var vs = ((Ts = (gs = pe.getBrowser()) == null ? void 0 : gs.name) == null ? void 0 : Ts.toLowerCase()) === "firefox";
|
18748
|
-
|
18748
|
+
var Ms = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ms || {});
|
18749
|
+
function $a() {
|
18749
18750
|
if (_ && window) {
|
18750
18751
|
let a2 = window.location.hostname;
|
18751
18752
|
return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
|
18752
18753
|
}
|
18753
18754
|
return "CUSTOM";
|
18754
18755
|
}
|
18755
|
-
var Ve =
|
18756
|
+
var Ve = $a();
|
18756
18757
|
var M = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
|
18757
18758
|
var f = class a extends Error {
|
18758
18759
|
constructor(t, i, r, s, o, n = false) {
|
@@ -18783,7 +18784,7 @@ var f = class a extends Error {
|
|
18783
18784
|
}`;
|
18784
18785
|
}
|
18785
18786
|
};
|
18786
|
-
var
|
18787
|
+
var Wa = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
18787
18788
|
var h = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
18788
18789
|
return new f(M.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
18789
18790
|
}, WebSocketConnectionLost(a2, e = "") {
|
@@ -18843,7 +18844,7 @@ var h = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
|
18843
18844
|
}, StatsFailed(a2, e = "") {
|
18844
18845
|
return new f(M.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
18845
18846
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
18846
|
-
return new f(a2, "ServerErrors", e, t, t,
|
18847
|
+
return new f(a2, "ServerErrors", e, t, t, Wa.includes(e));
|
18847
18848
|
}, AlreadyJoined(a2, e = "") {
|
18848
18849
|
return new f(M.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
18849
18850
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
@@ -18916,7 +18917,7 @@ var nr = class {
|
|
18916
18917
|
return this.valuesMap.size;
|
18917
18918
|
}
|
18918
18919
|
};
|
18919
|
-
var
|
18920
|
+
var ys = () => {
|
18920
18921
|
try {
|
18921
18922
|
_ && !localStorage && (window.localStorage = new nr());
|
18922
18923
|
} catch (a2) {
|
@@ -18930,7 +18931,7 @@ var ce = class {
|
|
18930
18931
|
}
|
18931
18932
|
getStorage() {
|
18932
18933
|
try {
|
18933
|
-
return _ && !this.storage && (
|
18934
|
+
return _ && !this.storage && (ys(), this.storage = window.localStorage), this.storage;
|
18934
18935
|
} catch (e) {
|
18935
18936
|
return d.e("Error initialising localStorage", h.GenericErrors.LocalStorageAccessDenied()), null;
|
18936
18937
|
}
|
@@ -18950,29 +18951,29 @@ var ce = class {
|
|
18950
18951
|
(e = this.getStorage()) == null || e.removeItem(this.key);
|
18951
18952
|
}
|
18952
18953
|
};
|
18953
|
-
var
|
18954
|
+
var ks = () => {
|
18954
18955
|
let a2, e = new ce("hms-analytics-deviceId"), t = e.get();
|
18955
|
-
return t ? a2 = t : (a2 =
|
18956
|
+
return t ? a2 = t : (a2 = Ka(), e.set(a2)), a2;
|
18956
18957
|
};
|
18957
18958
|
function ie(a2) {
|
18958
18959
|
return a2 != null;
|
18959
18960
|
}
|
18960
|
-
var
|
18961
|
+
var Es = lr().version;
|
18961
18962
|
function nt(a2 = "prod", e) {
|
18962
18963
|
let t = "web", i = Ve !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
|
18963
18964
|
if (Ce)
|
18964
|
-
return
|
18965
|
+
return bs({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Es, env: i, domain: Ve, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
18965
18966
|
let r = pe.getOS(), s = pe.getDevice(), o = pe.getBrowser(), n = ur(`web_${r.name}`), l = r.version || "", u = ur(`${o.name}_${o.version}`), p = u;
|
18966
|
-
return s.type && (p = `${ur(`${s.vendor}_${s.type}`)}/${u}`),
|
18967
|
+
return s.type && (p = `${ur(`${s.vendor}_${s.type}`)}/${u}`), bs({ os: n, os_version: l, sdk: t, sdk_version: Es, device_model: p, env: i, domain: Ve, 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 });
|
18967
18968
|
}
|
18968
18969
|
function ur(a2) {
|
18969
18970
|
return a2.replace(/ /g, "_");
|
18970
18971
|
}
|
18971
|
-
var
|
18972
|
+
var bs = (a2, e = ",") => Object.keys(a2).filter((t) => ie(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
|
18972
18973
|
var R = class {
|
18973
18974
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
18974
18975
|
this.metadata = { peer: {}, userAgent: nt() };
|
18975
|
-
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id =
|
18976
|
+
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = ja(), this.device_id = ks();
|
18976
18977
|
}
|
18977
18978
|
toSignalParams() {
|
18978
18979
|
return { name: this.name, info: v(m({}, this.properties), { timestamp: this.timestamp, domain: Ve }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
@@ -19153,9 +19154,9 @@ function Jt(a2, e = 300) {
|
|
19153
19154
|
}, e);
|
19154
19155
|
};
|
19155
19156
|
}
|
19156
|
-
var
|
19157
|
-
var
|
19158
|
-
var
|
19157
|
+
var Ls = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Ls || {});
|
19158
|
+
var Ds = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Ds || {});
|
19159
|
+
var ws = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(ws || {});
|
19159
19160
|
var gr = class {
|
19160
19161
|
constructor() {
|
19161
19162
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
@@ -19183,7 +19184,7 @@ var gr = class {
|
|
19183
19184
|
return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
19184
19185
|
}
|
19185
19186
|
};
|
19186
|
-
var
|
19187
|
+
var xs = new gr();
|
19187
19188
|
var Tr = class {
|
19188
19189
|
constructor() {
|
19189
19190
|
this.TAG = "[HMSResizeObserverWrapper]";
|
@@ -19211,15 +19212,15 @@ var Tr = class {
|
|
19211
19212
|
return e || d.w(this.TAG, "Resize Observer is not supported"), e;
|
19212
19213
|
}
|
19213
19214
|
};
|
19214
|
-
var
|
19215
|
+
var Us = new Tr();
|
19215
19216
|
var fr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(fr || {});
|
19216
19217
|
var vr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(vr || {});
|
19217
|
-
var
|
19218
|
-
var
|
19218
|
+
var Fs = "https://event.100ms.live/v2/client/report";
|
19219
|
+
var Gs = "https://event-nonprod.100ms.live/v2/client/report";
|
19219
19220
|
var ht = Math.pow(2, 31) - 1;
|
19220
19221
|
var ze = class {
|
19221
19222
|
};
|
19222
|
-
ze.makePeerId = () =>
|
19223
|
+
ze.makePeerId = () => po();
|
19223
19224
|
var Tt = "HMS-Store:";
|
19224
19225
|
var k = class {
|
19225
19226
|
static v(e, ...t) {
|
@@ -19289,129 +19290,129 @@ var k = class {
|
|
19289
19290
|
k.level = 0;
|
19290
19291
|
var Hr = (a2, e) => e;
|
19291
19292
|
var ft = (a2, e) => e;
|
19292
|
-
var
|
19293
|
-
var ho = (a2, e) => e;
|
19293
|
+
var Qs = (a2, e) => e;
|
19294
19294
|
var mo = (a2, e) => e;
|
19295
|
+
var So = (a2, e) => e;
|
19295
19296
|
var J = createSelector([G, Hr], (a2, e) => e ? a2[e] : null);
|
19296
19297
|
var Cr = createSelector([w, ft], (a2, e) => e ? a2[e] : null);
|
19297
|
-
var
|
19298
|
+
var go = createSelector([w, ft], (a2, e) => {
|
19298
19299
|
if (!e)
|
19299
19300
|
return null;
|
19300
19301
|
let t = a2[e];
|
19301
19302
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
19302
19303
|
});
|
19303
|
-
var
|
19304
|
+
var To = createSelector([w, ft], (a2, e) => {
|
19304
19305
|
if (!e)
|
19305
19306
|
return null;
|
19306
19307
|
let t = a2[e];
|
19307
19308
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
19308
19309
|
});
|
19309
|
-
var
|
19310
|
+
var fo = createSelector([w, ft], (a2, e) => {
|
19310
19311
|
if (!e)
|
19311
19312
|
return null;
|
19312
19313
|
let t = a2[e];
|
19313
19314
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
19314
19315
|
});
|
19315
|
-
var
|
19316
|
+
var vo = createSelector([w, ft], (a2, e) => {
|
19316
19317
|
if (!e)
|
19317
19318
|
return null;
|
19318
19319
|
let t = a2[e];
|
19319
19320
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
19320
19321
|
});
|
19321
|
-
var
|
19322
|
+
var Mo = createSelector([rs, So], (a2, e) => e ? a2[e] : null);
|
19322
19323
|
var Q = A(J);
|
19323
|
-
var
|
19324
|
+
var cm = A(createSelector([tr, mo], (a2, e) => {
|
19324
19325
|
if (a2)
|
19325
19326
|
return e ? a2[e] : a2;
|
19326
19327
|
}));
|
19327
|
-
function
|
19328
|
+
function dm(a2) {
|
19328
19329
|
return (e) => {
|
19329
19330
|
if (e.sessionStore)
|
19330
19331
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
19331
19332
|
};
|
19332
19333
|
}
|
19333
|
-
var
|
19334
|
+
var um = A(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
|
19334
19335
|
var oi = A(Cr);
|
19335
|
-
var
|
19336
|
-
var
|
19337
|
-
var
|
19338
|
-
var
|
19339
|
-
var
|
19336
|
+
var zs = A(go);
|
19337
|
+
var pm = A(To);
|
19338
|
+
var hm = A(fo);
|
19339
|
+
var mm = A(vo);
|
19340
|
+
var yo = A((a2, e) => {
|
19340
19341
|
let t = J(a2, e);
|
19341
19342
|
if (t && t.videoTrack && t.videoTrack !== "")
|
19342
19343
|
return a2.tracks[t.videoTrack];
|
19343
19344
|
});
|
19344
|
-
var
|
19345
|
+
var ko = A((a2, e) => {
|
19345
19346
|
let t = J(a2, e);
|
19346
19347
|
if (t && t.audioTrack && t.audioTrack !== "")
|
19347
19348
|
return a2.tracks[t.audioTrack];
|
19348
19349
|
});
|
19349
|
-
var
|
19350
|
+
var gm = A((a2, e) => {
|
19350
19351
|
let t = J(a2, e);
|
19351
19352
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
19352
19353
|
});
|
19353
|
-
var
|
19354
|
-
var
|
19355
|
-
var
|
19356
|
-
let t =
|
19357
|
-
return
|
19358
|
-
};
|
19359
|
-
var
|
19360
|
-
var
|
19354
|
+
var Ys = (a2, e) => e ? a2.speakers[e] : null;
|
19355
|
+
var Tm = A(createSelector(Ys, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
19356
|
+
var Po = (a2, e) => {
|
19357
|
+
let t = ko(e)(a2);
|
19358
|
+
return Ys(a2, t == null ? void 0 : t.id);
|
19359
|
+
};
|
19360
|
+
var fm = A(createSelector(Po, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
19361
|
+
var vm = A((a2, e) => {
|
19361
19362
|
if (e)
|
19362
19363
|
return a2.connectionQualities[e];
|
19363
19364
|
});
|
19364
|
-
var
|
19365
|
+
var Mm = A((a2, e) => {
|
19365
19366
|
let t = J(a2, e);
|
19366
19367
|
if (t) {
|
19367
19368
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => it(a2.tracks[r]));
|
19368
19369
|
return i ? a2.tracks[i] : void 0;
|
19369
19370
|
}
|
19370
19371
|
});
|
19371
|
-
var
|
19372
|
+
var ym = A(createSelector(w, J, (a2, e) => {
|
19372
19373
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19373
19374
|
let r = a2[i];
|
19374
19375
|
return st(r) && rt(r);
|
19375
19376
|
});
|
19376
19377
|
return t ? a2[t] : void 0;
|
19377
19378
|
}));
|
19378
|
-
var
|
19379
|
+
var km = A(createSelector(w, J, (a2, e) => {
|
19379
19380
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19380
19381
|
let r = a2[i];
|
19381
19382
|
return st(r) && it(r);
|
19382
19383
|
});
|
19383
19384
|
return t ? a2[t] : void 0;
|
19384
19385
|
}));
|
19385
|
-
var
|
19386
|
+
var Pm = A(createSelector(w, J, (a2, e) => {
|
19386
19387
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19387
19388
|
let r = a2[i];
|
19388
19389
|
return $t(r) && it(r);
|
19389
19390
|
});
|
19390
19391
|
return t ? a2[t] : void 0;
|
19391
19392
|
}));
|
19392
|
-
var
|
19393
|
-
var
|
19394
|
-
var
|
19393
|
+
var Xs = A(createSelector(w, J, (a2, e) => He(a2, e)));
|
19394
|
+
var Zs = (a2) => createSelector(Xs(a2), (e) => e.audio);
|
19395
|
+
var bm = A((a2, e) => {
|
19395
19396
|
let t = J(a2, e);
|
19396
19397
|
return Ue(a2, t == null ? void 0 : t.audioTrack);
|
19397
19398
|
});
|
19398
|
-
var
|
19399
|
+
var Am = A((a2, e) => {
|
19399
19400
|
let t = J(a2, e);
|
19400
19401
|
return Ue(a2, t == null ? void 0 : t.videoTrack);
|
19401
19402
|
});
|
19402
|
-
var
|
19403
|
+
var ea = A((a2, e) => {
|
19403
19404
|
if (e && a2.tracks[e])
|
19404
19405
|
return a2.tracks[e].volume === 0;
|
19405
19406
|
});
|
19406
|
-
var
|
19407
|
+
var Im = A((a2, e) => {
|
19407
19408
|
let t = J(a2, e);
|
19408
|
-
return
|
19409
|
+
return ea(t == null ? void 0 : t.audioTrack)(a2);
|
19409
19410
|
});
|
19410
|
-
var
|
19411
|
-
let t =
|
19412
|
-
return
|
19411
|
+
var Rm = A((a2, e) => {
|
19412
|
+
let t = Zs(e)(a2);
|
19413
|
+
return ea(t == null ? void 0 : t.id)(a2);
|
19413
19414
|
});
|
19414
|
-
var
|
19415
|
+
var ta = A((a2, e) => {
|
19415
19416
|
let t = Cr(a2, e);
|
19416
19417
|
if (t) {
|
19417
19418
|
if (t.type !== "audio") {
|
@@ -19421,15 +19422,15 @@ var ea = A((a2, e) => {
|
|
19421
19422
|
return t.volume;
|
19422
19423
|
}
|
19423
19424
|
});
|
19424
|
-
var
|
19425
|
+
var Hm = A((a2, e) => {
|
19425
19426
|
let t = J(a2, e);
|
19426
|
-
return
|
19427
|
+
return ta(t == null ? void 0 : t.audioTrack)(a2);
|
19427
19428
|
});
|
19428
|
-
var
|
19429
|
-
let t =
|
19430
|
-
return
|
19429
|
+
var Cm = A((a2, e) => {
|
19430
|
+
let t = Zs(e)(a2);
|
19431
|
+
return ta(t == null ? void 0 : t.id)(a2);
|
19431
19432
|
});
|
19432
|
-
var
|
19433
|
+
var Lm = A((a2, e) => {
|
19433
19434
|
let t = Cr(a2, e);
|
19434
19435
|
if (t) {
|
19435
19436
|
if (t.type !== "video") {
|
@@ -19439,45 +19440,45 @@ var Hm = A((a2, e) => {
|
|
19439
19440
|
return t.layer;
|
19440
19441
|
}
|
19441
19442
|
});
|
19442
|
-
var
|
19443
|
+
var ia = createSelector([ot, ue, Hr], (a2, e, t) => {
|
19443
19444
|
if (t)
|
19444
19445
|
return a2.filter((i) => {
|
19445
19446
|
var r;
|
19446
19447
|
return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
|
19447
19448
|
});
|
19448
19449
|
});
|
19449
|
-
var
|
19450
|
+
var ra = createSelector([ot, Qs], (a2, e) => {
|
19450
19451
|
if (e)
|
19451
19452
|
return a2.filter((t) => {
|
19452
19453
|
var i, r;
|
19453
19454
|
return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
|
19454
19455
|
});
|
19455
19456
|
});
|
19456
|
-
var
|
19457
|
+
var Eo = createSelector(ot, (a2) => a2.filter((e) => {
|
19457
19458
|
var t;
|
19458
19459
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
19459
19460
|
}));
|
19460
|
-
var
|
19461
|
-
var
|
19462
|
-
var
|
19463
|
-
var
|
19464
|
-
var
|
19465
|
-
var
|
19466
|
-
var
|
19467
|
-
var
|
19468
|
-
var
|
19461
|
+
var bo = createSelector([ra, Qs], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
19462
|
+
var Ao = createSelector([ia, Hr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
19463
|
+
var Dm = createSelector(Eo, (a2) => a2.filter((e) => !e.read).length);
|
19464
|
+
var wm = A(ia);
|
19465
|
+
var _m = A(ra);
|
19466
|
+
var Nm = A(bo);
|
19467
|
+
var Om = A(Ao);
|
19468
|
+
var sa = A(Mo);
|
19469
|
+
var jm = createSelector([G, w], (a2, e) => Object.values(a2).map((i) => {
|
19469
19470
|
var r;
|
19470
19471
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
19471
19472
|
}));
|
19472
|
-
var
|
19473
|
-
var
|
19474
|
-
var
|
19475
|
-
var
|
19476
|
-
var
|
19473
|
+
var Io = (a2) => a2.roleChangeRequests[0] || null;
|
19474
|
+
var Jm = createSelector([Io, G, ne], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
19475
|
+
var Qm = createSelector([Kt], (a2) => at(a2));
|
19476
|
+
var zm = createSelector([ts], (a2) => at(a2));
|
19477
|
+
var Ho = createSelector([K, w], (a2, e) => {
|
19477
19478
|
let t = null;
|
19478
19479
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
19479
19480
|
});
|
19480
|
-
var
|
19481
|
+
var Co = createSelector([Z, w], (a2, e) => {
|
19481
19482
|
let t = null;
|
19482
19483
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
19483
19484
|
});
|
@@ -19500,7 +19501,7 @@ var Nr = class {
|
|
19500
19501
|
this.addEventToStorage(e);
|
19501
19502
|
return;
|
19502
19503
|
}
|
19503
|
-
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" ?
|
19504
|
+
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" ? Fs : Gs;
|
19504
19505
|
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) => {
|
19505
19506
|
if (r.status === 401) {
|
19506
19507
|
this.removeFromStorage(e);
|
@@ -19530,62 +19531,62 @@ var Te = new Nr();
|
|
19530
19531
|
var $ = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))($ || {});
|
19531
19532
|
var Bi = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(Bi || {});
|
19532
19533
|
var Ji = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(Ji || {});
|
19533
|
-
var
|
19534
|
-
var
|
19535
|
-
var
|
19536
|
-
var
|
19537
|
-
var
|
19538
|
-
var
|
19539
|
-
var
|
19534
|
+
var zo = (a2) => a2.localPeer.id;
|
19535
|
+
var Yo = (a2) => a2.localPeer.audioTrack;
|
19536
|
+
var Xo = (a2) => a2.localPeer.videoTrack;
|
19537
|
+
var Zo = (a2, e) => e;
|
19538
|
+
var ya = (a2, e) => e;
|
19539
|
+
var en = (a2) => a2.remoteTrackStats;
|
19540
|
+
var ka = (a2) => a2.peerStats;
|
19540
19541
|
var Vr = (a2) => a2.localTrackStats;
|
19541
|
-
var ve = createSelector([
|
19542
|
-
var
|
19542
|
+
var ve = createSelector([ka, zo], (a2, e) => a2[e]);
|
19543
|
+
var tn = createSelector(ve, (a2) => {
|
19543
19544
|
var e;
|
19544
19545
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
19545
19546
|
});
|
19546
|
-
var
|
19547
|
+
var rn = createSelector(ve, (a2) => {
|
19547
19548
|
var e;
|
19548
19549
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
19549
19550
|
});
|
19550
|
-
var
|
19551
|
+
var sn = createSelector(ve, (a2) => {
|
19551
19552
|
var e;
|
19552
19553
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
19553
19554
|
});
|
19554
|
-
var
|
19555
|
+
var an = createSelector(ve, (a2) => {
|
19555
19556
|
var e;
|
19556
19557
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
19557
19558
|
});
|
19558
|
-
var
|
19559
|
+
var on = createSelector(ve, (a2) => {
|
19559
19560
|
var e;
|
19560
19561
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
19561
19562
|
});
|
19562
|
-
var
|
19563
|
+
var nn = createSelector(ve, (a2) => {
|
19563
19564
|
var e;
|
19564
19565
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
19565
19566
|
});
|
19566
|
-
var
|
19567
|
+
var cn = createSelector(ve, (a2) => {
|
19567
19568
|
var e;
|
19568
19569
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
19569
19570
|
});
|
19570
|
-
var
|
19571
|
+
var dn = createSelector(ve, (a2) => {
|
19571
19572
|
var e;
|
19572
19573
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
19573
19574
|
});
|
19574
|
-
var
|
19575
|
-
var
|
19576
|
-
var Fr = createSelector([Vr,
|
19577
|
-
var un = A(dn);
|
19575
|
+
var ln = createSelector([ka, Zo], (a2, e) => e ? a2[e] : void 0);
|
19576
|
+
var un = createSelector([en, ya], (a2, e) => e ? a2[e] : void 0);
|
19577
|
+
var Fr = createSelector([Vr, ya], (a2, e) => e ? a2[e] : void 0);
|
19578
19578
|
var pn = A(ln);
|
19579
|
-
var hn =
|
19579
|
+
var hn = A(un);
|
19580
|
+
var mn = createSelector([Vr, Yo], (a2, e) => {
|
19580
19581
|
var t;
|
19581
19582
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
19582
19583
|
});
|
19583
|
-
var
|
19584
|
-
var
|
19584
|
+
var Sn = A(createSelector(Fr, (a2) => a2 == null ? void 0 : a2[0]));
|
19585
|
+
var gn = createSelector([Vr, Xo], (a2, e) => {
|
19585
19586
|
var t;
|
19586
19587
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
19587
19588
|
});
|
19588
|
-
var
|
19589
|
+
var Tn = A(createSelector(Fr, (a2) => a2));
|
19589
19590
|
|
19590
19591
|
// src/Prebuilt/components/Header/StreamActions.tsx
|
19591
19592
|
import {
|
@@ -19855,7 +19856,7 @@ var RecordingStatus = () => {
|
|
19855
19856
|
};
|
19856
19857
|
var RecordingPauseStatus = () => {
|
19857
19858
|
const recording = useHMSStore25(selectRecordingState);
|
19858
|
-
if (recording.hls && recording.hls.state ===
|
19859
|
+
if (recording.hls && recording.hls.state === Ls.PAUSED) {
|
19859
19860
|
return /* @__PURE__ */ React54.createElement(
|
19860
19861
|
Tooltip,
|
19861
19862
|
{
|
@@ -25380,7 +25381,7 @@ var Chat = () => {
|
|
25380
25381
|
const listRef = useRef21(null);
|
25381
25382
|
const hmsActions = useHMSActions39();
|
25382
25383
|
const vanillaStore = useHMSVanillaStore10();
|
25383
|
-
const { enabled: isChatEnabled = true } = useHMSStore60(
|
25384
|
+
const { enabled: isChatEnabled = true } = useHMSStore60(dm("chatState" /* CHAT_STATE */)) || {};
|
25384
25385
|
const isMobile = useMedia18(config.media.md);
|
25385
25386
|
const isMobileHLSStream = useMobileHLSStream();
|
25386
25387
|
const isLandscapeStream = useLandscapeHLSStream();
|
@@ -25464,7 +25465,7 @@ var NewMessageIndicator = ({
|
|
25464
25465
|
scrollToBottom,
|
25465
25466
|
listRef
|
25466
25467
|
}) => {
|
25467
|
-
const unreadCount = useHMSStore60(
|
25468
|
+
const unreadCount = useHMSStore60(qn);
|
25468
25469
|
if (!unreadCount || !listRef.current) {
|
25469
25470
|
return null;
|
25470
25471
|
}
|
@@ -26552,10 +26553,10 @@ var VBPicker = ({ backgroundMedia = [] }) => {
|
|
26552
26553
|
const [blurAmount, setBlurAmount] = useState55(VBHandler.getBlurAmount() || 0.5);
|
26553
26554
|
const roomState = useHMSStore68(selectRoomState4);
|
26554
26555
|
const isLargeRoom = useHMSStore68(selectIsLargeRoom3);
|
26555
|
-
const isEffectsEnabled = useHMSStore68(
|
26556
|
-
const effectsKey = useHMSStore68(
|
26556
|
+
const isEffectsEnabled = useHMSStore68(rc);
|
26557
|
+
const effectsKey = useHMSStore68(sc);
|
26557
26558
|
const isPluginAdded = useHMSStore68(selectIsLocalVideoPluginPresent(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
|
26558
|
-
const background = useHMSStore68(
|
26559
|
+
const background = useHMSStore68(cm(APP_DATA.background));
|
26559
26560
|
const mediaList = backgroundMedia.length ? backgroundMedia.map((media) => media.url || "") : defaultMedia2;
|
26560
26561
|
const inPreview = roomState === HMSRoomState4.Preview;
|
26561
26562
|
const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
|
@@ -28664,7 +28665,7 @@ var useCloseScreenshareWhiteboard = () => {
|
|
28664
28665
|
};
|
28665
28666
|
|
28666
28667
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
28667
|
-
var HLSView = React151.lazy(() => import("./HLSView-
|
28668
|
+
var HLSView = React151.lazy(() => import("./HLSView-W72TK3BE.js"));
|
28668
28669
|
var VideoStreamingSection = ({
|
28669
28670
|
screenType,
|
28670
28671
|
elements,
|
@@ -31029,4 +31030,4 @@ lodash/lodash.js:
|
|
31029
31030
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
31030
31031
|
*)
|
31031
31032
|
*/
|
31032
|
-
//# sourceMappingURL=chunk-
|
31033
|
+
//# sourceMappingURL=chunk-HTFCZ4D6.js.map
|