@100mslive/roomkit-react 0.1.20-alpha.0 → 0.1.20-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-BWR4T6PI.js → HLSView-PJLISGG4.js} +2 -2
- package/dist/{chunk-SYBH2G3R.js → chunk-QENB2CO7.js} +113 -111
- package/dist/chunk-QENB2CO7.js.map +7 -0
- package/dist/index.cjs.js +98 -99
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +9 -14
- package/dist/meta.esbuild.json +15 -20
- package/package.json +6 -6
- package/src/Prebuilt/App.tsx +0 -2
- package/dist/chunk-SYBH2G3R.js.map +0 -7
- /package/dist/{HLSView-BWR4T6PI.js.map → HLSView-PJLISGG4.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_abe34f22-3343-4d59-aa86-c5bec7865982", 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_webpack_cli: "^4.9.2", npm_package_devDependencies_webpack_bundle_analyzer: "^4.5.0", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.0 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.8.29-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_abe34f22-3343-4d59-aa86-c5bec7865982", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.0/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.11.29-alpha.0", 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.5", 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", 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_webpack_manifest_plugin: "^4.1.1", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.5", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.1.10909125", 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: "581", 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.7", 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.12/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.5/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20231217.2.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", 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_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:17837", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_scripts_app: "cd apps/100ms-web && yarn start", 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_sdk: "cd packages/hms-video-web && yarn start", 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.1.29-alpha.0", 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: "7447057543", 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_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: "50a9752eb57f926467526f5afdc6cb5213886730", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "apps/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "22b384560b9519d5335c97a7b25ca53e4a89594eb7bc6b0c0421133ca09b9a00", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/vb-reset-fix", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_workspaces_2: "playwright/*", npm_package_devDependencies_postcss_loader: "^6.2.1", PATH: "/tmp/yarn--1704715134989-0.11808380952352904:/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.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1704715134744-0.5299594883051029:/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.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1704715095934-0.4901963240020202:/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.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1704715095699-0.38752793647638173:/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.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/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.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_ae36f98b-f44b-4a90-88ed-8e5f94ad3007", INVOCATION_ID: "df46ef0116254e8e8d4b6ec61ec68fc0", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", 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", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "408", 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_pusher_js: "^7.0.3", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "80 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: "80 KB", npm_package_devDependencies_webpack: "^5.76.0", 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 2", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "vb-reset-fix", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "20 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-web/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_webpack_dev_server: "^4.7.4", 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.8.29-alpha.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", STATS_NM: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.1.20-alpha.0", npm_package_size_limit_4_limit: "400 KB", npm_package_size_limit_1_path: "packages/hms-video-web/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_source: "src/index.ts", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/hms-video-store/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: "20 KB", npm_package_size_limit_3_path: "packages/hms-video-store/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "50a9752eb57f926467526f5afdc6cb5213886730", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "20 KB", npm_package_size_limit_4_path: "packages/roomkit-react/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/vb-reset-fix", GITHUB_ACTOR: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_size_limit_8_limit: "150 KB", npm_package_size_limit_5_path: "packages/roomkit-react/dist/index.js", npm_config_strict_ssl: "true", npm_package_license: "MIT", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_9_limit: "100 KB", npm_package_size_limit_6_path: "packages/hms-virtual-background/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_abe34f22-3343-4d59-aa86-c5bec7865982", 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/hms-virtual-background/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.10.0-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_abe34f22-3343-4d59-aa86-c5bec7865982", npm_package_size_limit_8_path: "packages/react-icons/dist/index.cjs.js", 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_size_limit_9_path: "packages/react-icons/dist/index.js", 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_scripts_app_custom: "cd apps/100ms-custom-app && 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_abe34f22-3343-4d59-aa86-c5bec7865982" };
|
111
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_763c0caa-8499-4b62-8974-93534c02e98b", 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_webpack_cli: "^4.9.2", npm_package_devDependencies_webpack_bundle_analyzer: "^4.5.0", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.0 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.8.29-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_763c0caa-8499-4b62-8974-93534c02e98b", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.0/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.11.29-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.5", 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", 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_webpack_manifest_plugin: "^4.1.1", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.5", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.1.10909125", 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: "568", 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.7", 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.12/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.5/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240107.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", 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_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:17383", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_scripts_app: "cd apps/100ms-web && yarn start", 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_sdk: "cd packages/hms-video-web && yarn start", 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.1.29-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", GITHUB_RUN_ID: "7485380480", 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_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: "19be8b8d757300a9405078f1ceea21ba95e3b9e1", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "apps/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "59e9cfc92c33bae96cde1386de679569436d15c7436bc383c26d31671e6a8aaf", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/firefox-echo-sinkfix", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_workspaces_2: "playwright/*", npm_package_devDependencies_postcss_loader: "^6.2.1", PATH: "/tmp/yarn--1704956887190-0.9563669556350438:/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.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1704956886944-0.34327018942004783:/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.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1704956844922-0.2859458909519341:/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.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1704956844687-0.47071948551576925:/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.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/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.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_9efe5595-a100-4efa-8b7e-6ff0b8f2723f", INVOCATION_ID: "ace76598992a45a4852962c8b506aaf2", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", 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", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "409", GITHUB_TRIGGERING_ACTOR: "raviteja83", 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_pusher_js: "^7.0.3", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "80 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: "80 KB", npm_package_devDependencies_webpack: "^5.76.0", 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 2", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "firefox-echo-sinkfix", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "20 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-web/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_webpack_dev_server: "^4.7.4", 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.8.29-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", STATS_NM: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.1.20-alpha.1", npm_package_size_limit_4_limit: "400 KB", npm_package_size_limit_1_path: "packages/hms-video-web/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_source: "src/index.ts", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/hms-video-store/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: "20 KB", npm_package_size_limit_3_path: "packages/hms-video-store/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "19be8b8d757300a9405078f1ceea21ba95e3b9e1", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "20 KB", npm_package_size_limit_4_path: "packages/roomkit-react/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/firefox-echo-sinkfix", GITHUB_ACTOR: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_size_limit_8_limit: "150 KB", npm_package_size_limit_5_path: "packages/roomkit-react/dist/index.js", npm_config_strict_ssl: "true", npm_package_license: "MIT", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_9_limit: "100 KB", npm_package_size_limit_6_path: "packages/hms-virtual-background/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_763c0caa-8499-4b62-8974-93534c02e98b", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", 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/hms-virtual-background/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.10.0-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_763c0caa-8499-4b62-8974-93534c02e98b", npm_package_size_limit_8_path: "packages/react-icons/dist/index.cjs.js", 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_size_limit_9_path: "packages/react-icons/dist/index.js", 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_scripts_app_custom: "cd apps/100ms-custom-app && 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_763c0caa-8499-4b62-8974-93534c02e98b" };
|
112
112
|
}
|
113
113
|
});
|
114
114
|
|
@@ -18111,7 +18111,7 @@ var require_lib = __commonJS({
|
|
18111
18111
|
});
|
18112
18112
|
|
18113
18113
|
// ../hms-video-web/dist/index.js
|
18114
|
-
function
|
18114
|
+
function Vr() {
|
18115
18115
|
if (L && window) {
|
18116
18116
|
let n2 = window.location.hostname;
|
18117
18117
|
return n2 === "localhost" || n2 === "127.0.0.1" ? "LOCAL" : n2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
|
@@ -18124,9 +18124,9 @@ function U(n2) {
|
|
18124
18124
|
function xe(n2 = "prod", e) {
|
18125
18125
|
let t = "web", i = ye !== "LOCAL" && n2 === "prod" ? "prod" : "debug";
|
18126
18126
|
if (ue)
|
18127
|
-
return
|
18128
|
-
let r =
|
18129
|
-
return s.type && (u2 = `${Si(`${s.vendor}_${s.type}`)}/${p}`),
|
18127
|
+
return Zi({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Xi, env: i, domain: ye, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
18128
|
+
let r = ee.getOS(), s = ee.getDevice(), a = ee.getBrowser(), o = Si(`web_${r.name}`), l = r.version || "", p = Si(`${a.name}_${a.version}`), u2 = p;
|
18129
|
+
return s.type && (u2 = `${Si(`${s.vendor}_${s.type}`)}/${p}`), Zi({ os: o, os_version: l, sdk: t, sdk_version: Xi, device_model: u2, env: i, domain: ye, 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 });
|
18130
18130
|
}
|
18131
18131
|
function Si(n2) {
|
18132
18132
|
return n2.replace(/ /g, "_");
|
@@ -18141,7 +18141,7 @@ function ft(n2, e = 300) {
|
|
18141
18141
|
}, e);
|
18142
18142
|
};
|
18143
18143
|
}
|
18144
|
-
var import_uuid3, import_uuid4, import_uuid5, import_ua_parser_js, import_uuid6, import_uuid7, import_uuid8, import_eventemitter2, import_eventemitter22, it, import_eventemitter23, import_uuid9, import_uuid10,
|
18144
|
+
var import_uuid3, import_uuid4, import_uuid5, import_ua_parser_js, import_uuid6, import_uuid7, import_uuid8, import_eventemitter2, import_eventemitter22, it, import_eventemitter23, import_uuid9, import_uuid10, _r, Hr, Dr, dt, Fi, Gi, xi, m, y, oi, xr, gi, Ui, Bi, Pe, ee, L, $i, ue, pt, Ur, da, Ki, qi, Qi, ye, Wr, $r, c, E, S, qr, h, pi, Ji, V, zi, Xi, Zi, k, P, he, Ti, D, tr, gt, sr, Ge, ae, vi, as, ns, ke, ar, nr, or, os, Ei, cr, dr, Pi, pr, yi, hr, Mi, ki, Ts, wi, X, _, Le, Te;
|
18145
18145
|
var init_dist = __esm({
|
18146
18146
|
"../hms-video-web/dist/index.js"() {
|
18147
18147
|
"use strict";
|
@@ -18161,13 +18161,13 @@ var init_dist = __esm({
|
|
18161
18161
|
import_eventemitter23 = __toESM(require("eventemitter2"));
|
18162
18162
|
import_uuid9 = require("uuid");
|
18163
18163
|
import_uuid10 = require("uuid");
|
18164
|
-
|
18165
|
-
|
18166
|
-
|
18164
|
+
_r = Object.defineProperty;
|
18165
|
+
Hr = Object.defineProperties;
|
18166
|
+
Dr = Object.getOwnPropertyDescriptors;
|
18167
18167
|
dt = Object.getOwnPropertySymbols;
|
18168
18168
|
Fi = Object.prototype.hasOwnProperty;
|
18169
18169
|
Gi = Object.prototype.propertyIsEnumerable;
|
18170
|
-
xi = (n2, e, t) => e in n2 ?
|
18170
|
+
xi = (n2, e, t) => e in n2 ? _r(n2, e, { enumerable: true, configurable: true, writable: true, value: t }) : n2[e] = t;
|
18171
18171
|
m = (n2, e) => {
|
18172
18172
|
for (var t in e || (e = {}))
|
18173
18173
|
Fi.call(e, t) && xi(n2, t, e[t]);
|
@@ -18176,7 +18176,7 @@ var init_dist = __esm({
|
|
18176
18176
|
Gi.call(e, t) && xi(n2, t, e[t]);
|
18177
18177
|
return n2;
|
18178
18178
|
};
|
18179
|
-
y = (n2, e) =>
|
18179
|
+
y = (n2, e) => Hr(n2, Dr(e));
|
18180
18180
|
oi = (n2, e) => {
|
18181
18181
|
var t = {};
|
18182
18182
|
for (var i in n2)
|
@@ -18186,24 +18186,25 @@ var init_dist = __esm({
|
|
18186
18186
|
e.indexOf(i) < 0 && Gi.call(n2, i) && (t[i] = n2[i]);
|
18187
18187
|
return t;
|
18188
18188
|
};
|
18189
|
-
|
18190
|
-
gi =
|
18191
|
-
|
18189
|
+
xr = (n2, e) => () => (e || n2((e = { exports: {} }).exports, e), e.exports);
|
18190
|
+
gi = xr((Ua, Qr) => {
|
18191
|
+
Qr.exports = { name: "@100mslive/hms-video", version: "0.9.29-alpha.1", license: "MIT", main: "dist/index.cjs.js", typings: "dist/index.d.ts", module: "dist/index.js", files: ["dist", "src"], engines: { node: ">=10" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, 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", test: "jest --maxWorkers=1", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", format: "prettier --write src/**/*.ts" }, author: "100ms <tech-common@100ms.live>", devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@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" }, dependencies: { eventemitter2: "^6.4.7", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0" } };
|
18192
18192
|
});
|
18193
18193
|
Ui = "https://event.100ms.live/v2/client/report";
|
18194
18194
|
Bi = "https://event-nonprod.100ms.live/v2/client/report";
|
18195
18195
|
Pe = class {
|
18196
18196
|
};
|
18197
18197
|
Pe.makePeerId = () => (0, import_uuid3.v4)();
|
18198
|
-
|
18198
|
+
ee = new import_ua_parser_js.UAParser();
|
18199
18199
|
L = typeof window != "undefined";
|
18200
|
-
ue = typeof window == "undefined" && !(($i =
|
18200
|
+
ue = typeof window == "undefined" && !(($i = ee.getBrowser().name) != null && $i.toLowerCase().includes("electron"));
|
18201
18201
|
pt = ((i) => (i.PROD = "prod", i.QA = "qa", i.DEV = "dev", i))(pt || {});
|
18202
|
-
|
18203
|
-
|
18204
|
-
|
18205
|
-
|
18206
|
-
|
18202
|
+
Ur = () => !ue;
|
18203
|
+
da = Ur();
|
18204
|
+
Qi = ((qi = (Ki = ee.getBrowser()) == null ? void 0 : Ki.name) == null ? void 0 : qi.toLowerCase()) === "firefox";
|
18205
|
+
ye = Vr();
|
18206
|
+
Wr = ((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))(Wr || {});
|
18207
|
+
$r = typeof window != "undefined" && typeof window.expect != "undefined";
|
18207
18208
|
c = class {
|
18208
18209
|
static v(e, ...t) {
|
18209
18210
|
this.log(0, e, ...t);
|
@@ -18269,7 +18270,7 @@ var init_dist = __esm({
|
|
18269
18270
|
}
|
18270
18271
|
}
|
18271
18272
|
};
|
18272
|
-
c.level =
|
18273
|
+
c.level = $r ? 7 : 0;
|
18273
18274
|
E = { 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 } };
|
18274
18275
|
S = class n extends Error {
|
18275
18276
|
constructor(t, i, r, s, a, o = false) {
|
@@ -18300,7 +18301,7 @@ var init_dist = __esm({
|
|
18300
18301
|
}`;
|
18301
18302
|
}
|
18302
18303
|
};
|
18303
|
-
|
18304
|
+
qr = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
18304
18305
|
h = { WebSocketConnectionErrors: { FailedToConnect(n2, e = "") {
|
18305
18306
|
return new S(E.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", n2, `[WS]: ${e}`, `[WS]: ${e}`);
|
18306
18307
|
}, WebSocketConnectionLost(n2, e = "") {
|
@@ -18360,7 +18361,7 @@ var init_dist = __esm({
|
|
18360
18361
|
}, StatsFailed(n2, e = "") {
|
18361
18362
|
return new S(E.WebrtcErrors.STATS_FAILED, "StatsFailed", n2, `Failed to WebRTC get stats - ${e}`, e);
|
18362
18363
|
} }, WebsocketMethodErrors: { ServerErrors(n2, e, t) {
|
18363
|
-
return new S(n2, "ServerErrors", e, t, t,
|
18364
|
+
return new S(n2, "ServerErrors", e, t, t, qr.includes(e));
|
18364
18365
|
}, AlreadyJoined(n2, e = "") {
|
18365
18366
|
return new S(E.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", n2, "[JOIN]: You have already joined this room.", e);
|
18366
18367
|
}, CannotJoinPreviewInProgress(n2, e = "") {
|
@@ -18433,7 +18434,7 @@ var init_dist = __esm({
|
|
18433
18434
|
return this.valuesMap.size;
|
18434
18435
|
}
|
18435
18436
|
};
|
18436
|
-
|
18437
|
+
Ji = () => {
|
18437
18438
|
try {
|
18438
18439
|
L && !localStorage && (window.localStorage = new pi());
|
18439
18440
|
} catch (n2) {
|
@@ -18447,7 +18448,7 @@ var init_dist = __esm({
|
|
18447
18448
|
}
|
18448
18449
|
getStorage() {
|
18449
18450
|
try {
|
18450
|
-
return L && !this.storage && (
|
18451
|
+
return L && !this.storage && (Ji(), this.storage = window.localStorage), this.storage;
|
18451
18452
|
} catch (e) {
|
18452
18453
|
return c.e("Error initialising localStorage", h.GenericErrors.LocalStorageAccessDenied()), null;
|
18453
18454
|
}
|
@@ -18467,16 +18468,16 @@ var init_dist = __esm({
|
|
18467
18468
|
(e = this.getStorage()) == null || e.removeItem(this.key);
|
18468
18469
|
}
|
18469
18470
|
};
|
18470
|
-
|
18471
|
+
zi = () => {
|
18471
18472
|
let n2, e = new V("hms-analytics-deviceId"), t = e.get();
|
18472
18473
|
return t ? n2 = t : (n2 = (0, import_uuid6.v4)(), e.set(n2)), n2;
|
18473
18474
|
};
|
18474
|
-
|
18475
|
-
|
18475
|
+
Xi = gi().version;
|
18476
|
+
Zi = (n2, e = ",") => Object.keys(n2).filter((t) => U(n2[t])).map((t) => `${t}:${n2[t]}`).join(e);
|
18476
18477
|
k = class {
|
18477
18478
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
18478
18479
|
this.metadata = { peer: {}, userAgent: xe() };
|
18479
|
-
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid5.v4)(), this.device_id =
|
18480
|
+
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid5.v4)(), this.device_id = zi();
|
18480
18481
|
}
|
18481
18482
|
toSignalParams() {
|
18482
18483
|
return { name: this.name, info: y(m({}, this.properties), { timestamp: this.timestamp, domain: ye }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
@@ -18606,22 +18607,22 @@ var init_dist = __esm({
|
|
18606
18607
|
}
|
18607
18608
|
};
|
18608
18609
|
D = new Ti();
|
18609
|
-
|
18610
|
+
tr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(tr || {});
|
18610
18611
|
gt = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(gt || {});
|
18611
|
-
|
18612
|
+
sr = ((a) => (a.RECORDING_STATE_UPDATED = "RECORDING_STATE_UPDATED", a.BROWSER_RECORDING_STATE_UPDATED = "BROWSER_RECORDING_STATE_UPDATED", a.SERVER_RECORDING_STATE_UPDATED = "SERVER_RECORDING_STATE_UPDATED", a.RTMP_STREAMING_STATE_UPDATED = "RTMP_STREAMING_STATE_UPDATED", a.HLS_STREAMING_STATE_UPDATED = "HLS_STREAMING_STATE_UPDATED", a.ROOM_PEER_COUNT_UPDATED = "ROOM_PEER_COUNT_UPDATED", a))(sr || {});
|
18612
18613
|
Ge = ((f) => (f[f.PEER_JOINED = 0] = "PEER_JOINED", f[f.PEER_LEFT = 1] = "PEER_LEFT", f[f.AUDIO_TOGGLED = 2] = "AUDIO_TOGGLED", f[f.VIDEO_TOGGLED = 3] = "VIDEO_TOGGLED", f[f.BECAME_DOMINANT_SPEAKER = 4] = "BECAME_DOMINANT_SPEAKER", f[f.RESIGNED_DOMINANT_SPEAKER = 5] = "RESIGNED_DOMINANT_SPEAKER", f[f.STARTED_SPEAKING = 6] = "STARTED_SPEAKING", f[f.STOPPED_SPEAKING = 7] = "STOPPED_SPEAKING", f[f.ROLE_UPDATED = 8] = "ROLE_UPDATED", f[f.PEER_LIST = 9] = "PEER_LIST", f[f.NAME_UPDATED = 10] = "NAME_UPDATED", f[f.METADATA_UPDATED = 11] = "METADATA_UPDATED", f[f.HAND_RAISE_CHANGED = 12] = "HAND_RAISE_CHANGED", f[f.PEER_REMOVED = 13] = "PEER_REMOVED", f[f.PEER_ADDED = 14] = "PEER_ADDED", f))(Ge || {});
|
18613
|
-
|
18614
|
+
ae = ((o) => (o[o.TRACK_ADDED = 0] = "TRACK_ADDED", o[o.TRACK_REMOVED = 1] = "TRACK_REMOVED", o[o.TRACK_MUTED = 2] = "TRACK_MUTED", o[o.TRACK_UNMUTED = 3] = "TRACK_UNMUTED", o[o.TRACK_DESCRIPTION_CHANGED = 4] = "TRACK_DESCRIPTION_CHANGED", o[o.TRACK_DEGRADED = 5] = "TRACK_DEGRADED", o[o.TRACK_RESTORED = 6] = "TRACK_RESTORED", o))(ae || {});
|
18614
18615
|
vi = ((r) => (r[r.POLL_CREATED = 0] = "POLL_CREATED", r[r.POLL_STARTED = 1] = "POLL_STARTED", r[r.POLL_STOPPED = 2] = "POLL_STOPPED", r[r.POLL_STATS_UPDATED = 3] = "POLL_STATS_UPDATED", r))(vi || {});
|
18615
|
-
|
18616
|
-
|
18616
|
+
as = ((o) => (o.NONE = "none", o.INITIALISED = "initialised", o.STARTED = "started", o.PAUSED = "paused", o.RESUMED = "resumed", o.STOPPED = "stopped", o.FAILED = "failed", o))(as || {});
|
18617
|
+
ns = ((s) => (s.NONE = "none", s.INITIALISED = "initialised", s.STARTED = "started", s.STOPPED = "stopped", s.FAILED = "failed", s))(ns || {});
|
18617
18618
|
ke = ((r) => (r.NONE = "none", r.LOW = "low", r.MEDIUM = "medium", r.HIGH = "high", r))(ke || {});
|
18618
|
-
|
18619
|
-
|
18620
|
-
|
18621
|
-
|
18619
|
+
ar = ((i) => (i.VP8 = "vp8", i.VP9 = "vp9", i.H264 = "h264", i))(ar || {});
|
18620
|
+
nr = ((e) => (e.OPUS = "opus", e))(nr || {});
|
18621
|
+
or = ((r) => (r.USER = "user", r.ENVIRONMENT = "environment", r.LEFT = "left", r.RIGHT = "right", r))(or || {});
|
18622
|
+
os = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(os || {});
|
18622
18623
|
Ei = ((t) => (t.audio = "audio", t.video = "video", t))(Ei || {});
|
18623
|
-
|
18624
|
-
|
18624
|
+
cr = ((r) => (r.SINGLE_CHOICE = "single-choice", r.MULTIPLE_CHOICE = "multiple-choice", r.SHORT_ANSWER = "short-answer", r.LONG_ANSWER = "long-answer", r))(cr || {});
|
18625
|
+
dr = ((i) => (i.CREATED = "created", i.STARTED = "started", i.STOPPED = "stopped", i))(dr || {});
|
18625
18626
|
Pi = class {
|
18626
18627
|
constructor() {
|
18627
18628
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
@@ -18649,7 +18650,7 @@ var init_dist = __esm({
|
|
18649
18650
|
return e || c.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
18650
18651
|
}
|
18651
18652
|
};
|
18652
|
-
|
18653
|
+
pr = new Pi();
|
18653
18654
|
yi = class {
|
18654
18655
|
constructor() {
|
18655
18656
|
this.TAG = "[HMSResizeObserverWrapper]";
|
@@ -18677,12 +18678,12 @@ var init_dist = __esm({
|
|
18677
18678
|
return e || c.w(this.TAG, "Resize Observer is not supported"), e;
|
18678
18679
|
}
|
18679
18680
|
};
|
18680
|
-
|
18681
|
+
hr = new yi();
|
18681
18682
|
Mi = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Mi || {});
|
18682
18683
|
ki = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(ki || {});
|
18683
|
-
|
18684
|
+
Ts = gi().version;
|
18684
18685
|
c.d("adapter", `${adapter_core_default.browserDetails.browser} v${adapter_core_default.browserDetails.version}`);
|
18685
|
-
c.d("sdk version",
|
18686
|
+
c.d("sdk version", Ts);
|
18686
18687
|
wi = class {
|
18687
18688
|
constructor() {
|
18688
18689
|
this.TAG = "[HTTPAnalyticsTransport]";
|
@@ -19222,7 +19223,7 @@ var init_StreamActions = __esm({
|
|
19222
19223
|
};
|
19223
19224
|
RecordingPauseStatus = () => {
|
19224
19225
|
const recording = (0, import_react_sdk32.useHMSStore)(import_react_sdk32.selectRecordingState);
|
19225
|
-
if (recording.hls && recording.hls.state ===
|
19226
|
+
if (recording.hls && recording.hls.state === as.PAUSED) {
|
19226
19227
|
return /* @__PURE__ */ import_react72.default.createElement(
|
19227
19228
|
Tooltip,
|
19228
19229
|
{
|
@@ -19681,7 +19682,7 @@ function J(s) {
|
|
19681
19682
|
function Gt(s) {
|
19682
19683
|
return s && s.source === "screen";
|
19683
19684
|
}
|
19684
|
-
function
|
19685
|
+
function le(s) {
|
19685
19686
|
return s && s.source === "audioplaylist";
|
19686
19687
|
}
|
19687
19688
|
function Y(s) {
|
@@ -19707,7 +19708,7 @@ function ur(s) {
|
|
19707
19708
|
return s ? e.sessionStore[s] : e.sessionStore;
|
19708
19709
|
};
|
19709
19710
|
}
|
19710
|
-
var import_eventemitter24, qt, xt, Ie, jt, Qe, Ee, We, h2, Ft, mi, fi2, R, de, Ye, T, be, Qt, q, gi2, Wt, w2, $t, b, F2, Pi2, ki2, N, D2, Jt, Xe, Ri, Di, Ce, Yt, Ii, Ei2, bi, Ai, Ci, Ni, Li, xi2, X2, zt, Oi, A, et, wi2, _2, _i, ue2, Xt, tt, Ui2, st, Vi,
|
19711
|
+
var import_eventemitter24, qt, xt, Ie, jt, Qe, Ee, We, h2, Ft, mi, fi2, R, de, Ye, T, be, Qt, q, gi2, Wt, w2, $t, b, F2, Pi2, ki2, N, D2, Jt, Xe, Ri, Di, Ce, Yt, Ii, Ei2, bi, Ai, Ci, Ni, Li, xi2, X2, zt, Oi, A, et, wi2, _2, _i, ue2, Xt, tt, Ui2, st, Vi, Ki2, Bi2, qi2, ji, Gi2, Fi2, Qi2, it2, Yi, Zt, zi2, rt, Ne, at, nt, ct, St, lt, dt2, ut2, pt2, ee2, S2, Le2, te, Tt, rs, as2, I, xe2, ns2, cs, Ss, ls, ds2, E2, dr2, Mr, Me2, Ht, Tr, Hr2, mr, us, ps, yr, mt, hr2, Ms, gr, Pr, kr, Rr, Dr2, vr, ft2, yt, Er, br, ht, Ar, Cr, gt2, Nr, Lr, xr2, Pt, kt, Ts2, Hs, ms, Or, wr2, _r2, Ur2, Vr2, Rt, Yr, fs, zr, Xr, Zr, hs, gs, fe, ie, ye2, Vs, Ks, Bs, qs, Ot, js, wt, Be, V2, Gs, Fs, Qs, Ws, $s, Js, Ys, zs, Xs, Zs, qe, ei, ti, si, ii, oi2, ri;
|
19711
19712
|
var init_dist2 = __esm({
|
19712
19713
|
"../hms-video-store/dist/index.js"() {
|
19713
19714
|
"use strict";
|
@@ -19727,7 +19728,7 @@ var init_dist2 = __esm({
|
|
19727
19728
|
init_es();
|
19728
19729
|
qt = (s, e) => () => (e || s((e = { exports: {} }).exports, e), e.exports);
|
19729
19730
|
xt = qt((lc, Ls) => {
|
19730
|
-
Ls.exports = { version: "0.10.29-alpha.
|
19731
|
+
Ls.exports = { version: "0.10.29-alpha.1", license: "MIT", 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" } }, 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", sideEffects: false, dependencies: { "@100mslive/hms-video": "0.9.29-alpha.1", eventemitter2: "^6.4.7", immer: "^9.0.6", reselect: "4.0.0", zustand: "3.5.7" }, devDependencies: { "jsdom-worker": "^0.3.0", "ts-node": "^10.4.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"] };
|
19731
19732
|
});
|
19732
19733
|
Ie = ((n2) => (n2.Disconnected = "Disconnected", n2.Preview = "Preview", n2.Connecting = "Connecting", n2.Connected = "Connected", n2.Reconnecting = "Reconnecting", n2.Disconnecting = "Disconnecting", n2.Failed = "Failed", n2))(Ie || {});
|
19733
19734
|
jt = ((e) => (e.CHAT = "chat", e))(jt || {});
|
@@ -19814,7 +19815,7 @@ var init_dist2 = __esm({
|
|
19814
19815
|
Ci = createSelector(R, T, (s, e) => {
|
19815
19816
|
for (let t in e) {
|
19816
19817
|
let i = e[t];
|
19817
|
-
if (
|
19818
|
+
if (le(i) && i.peerId)
|
19818
19819
|
return s[i.peerId];
|
19819
19820
|
}
|
19820
19821
|
});
|
@@ -19849,13 +19850,13 @@ var init_dist2 = __esm({
|
|
19849
19850
|
});
|
19850
19851
|
st = createSelector(ue2, (s) => s == null ? void 0 : s.permissions);
|
19851
19852
|
Vi = createSelector(h2, (s) => s.recording);
|
19852
|
-
|
19853
|
+
Ki2 = createSelector(h2, (s) => s.rtmp);
|
19853
19854
|
Bi2 = createSelector(h2, (s) => s.hls);
|
19854
19855
|
qi2 = createSelector(h2, (s) => s.sessionId);
|
19855
|
-
|
19856
|
+
ji = createSelector(h2, (s) => s.startedAt);
|
19856
19857
|
Gi2 = createSelector(h2, (s) => !!s.isLargeRoom);
|
19857
19858
|
Fi2 = createSelector(h2, (s) => !!s.isEffectsEnabled);
|
19858
|
-
|
19859
|
+
Qi2 = createSelector(h2, (s) => s.effectsKey);
|
19859
19860
|
it2 = (s) => s.polls;
|
19860
19861
|
Yi = createSelector(w2, (s) => s.filter((e) => e.isHandRaised));
|
19861
19862
|
Zt = (s) => s.whiteboards;
|
@@ -19873,28 +19874,28 @@ var init_dist2 = __esm({
|
|
19873
19874
|
});
|
19874
19875
|
ut2 = { selection: Ne("audio"), progress: at("audio"), currentTime: nt("audio"), playbackRate: ct("audio"), volume: St("audio"), list: lt("audio"), selectedItem: dt2("audio") };
|
19875
19876
|
pt2 = { selection: Ne("video"), progress: at("video"), currentTime: nt("video"), playbackRate: ct("video"), volume: St("video"), list: lt("video"), selectedItem: dt2("video") };
|
19876
|
-
|
19877
|
+
ee2 = "HMS-Store:";
|
19877
19878
|
S2 = class {
|
19878
19879
|
static v(e, ...t) {
|
19879
|
-
this.log(
|
19880
|
+
this.log(Wr.VERBOSE, e, ...t);
|
19880
19881
|
}
|
19881
19882
|
static d(...e) {
|
19882
|
-
this.log(
|
19883
|
+
this.log(Wr.DEBUG, ...e);
|
19883
19884
|
}
|
19884
19885
|
static i(...e) {
|
19885
|
-
this.log(
|
19886
|
+
this.log(Wr.INFO, ...e);
|
19886
19887
|
}
|
19887
19888
|
static w(...e) {
|
19888
|
-
this.log(
|
19889
|
+
this.log(Wr.WARN, ...e);
|
19889
19890
|
}
|
19890
19891
|
static e(...e) {
|
19891
|
-
this.log(
|
19892
|
+
this.log(Wr.ERROR, ...e);
|
19892
19893
|
}
|
19893
19894
|
static time(e) {
|
19894
|
-
this.log(
|
19895
|
+
this.log(Wr.TIME, "[HMSPerformanceTiming]", e);
|
19895
19896
|
}
|
19896
19897
|
static timeEnd(e) {
|
19897
|
-
this.log(
|
19898
|
+
this.log(Wr.TIMEEND, "[HMSPerformanceTiming]", e, e);
|
19898
19899
|
}
|
19899
19900
|
static cleanup() {
|
19900
19901
|
performance.clearMarks(), performance.clearMeasures();
|
@@ -19902,49 +19903,49 @@ var init_dist2 = __esm({
|
|
19902
19903
|
static log(e, ...t) {
|
19903
19904
|
if (!(this.level.valueOf() > e.valueOf()))
|
19904
19905
|
switch (e) {
|
19905
|
-
case
|
19906
|
-
console.log(
|
19906
|
+
case Wr.VERBOSE: {
|
19907
|
+
console.log(ee2, ...t);
|
19907
19908
|
break;
|
19908
19909
|
}
|
19909
|
-
case
|
19910
|
-
console.debug(
|
19910
|
+
case Wr.DEBUG: {
|
19911
|
+
console.debug(ee2, ...t);
|
19911
19912
|
break;
|
19912
19913
|
}
|
19913
|
-
case
|
19914
|
-
console.info(
|
19914
|
+
case Wr.INFO: {
|
19915
|
+
console.info(ee2, ...t);
|
19915
19916
|
break;
|
19916
19917
|
}
|
19917
|
-
case
|
19918
|
-
console.warn(
|
19918
|
+
case Wr.WARN: {
|
19919
|
+
console.warn(ee2, ...t);
|
19919
19920
|
break;
|
19920
19921
|
}
|
19921
|
-
case
|
19922
|
-
console.error(
|
19922
|
+
case Wr.ERROR: {
|
19923
|
+
console.error(ee2, ...t);
|
19923
19924
|
break;
|
19924
19925
|
}
|
19925
|
-
case
|
19926
|
+
case Wr.TIME: {
|
19926
19927
|
performance.mark(t[1]);
|
19927
19928
|
break;
|
19928
19929
|
}
|
19929
|
-
case
|
19930
|
+
case Wr.TIMEEND: {
|
19930
19931
|
let i = t[0], o = t[1];
|
19931
19932
|
try {
|
19932
19933
|
let r = performance.measure(o, o);
|
19933
|
-
this.log(
|
19934
|
+
this.log(Wr.DEBUG, i, o, r == null ? void 0 : r.duration), performance.clearMarks(o), performance.clearMeasures(o);
|
19934
19935
|
} catch (r) {
|
19935
|
-
this.log(
|
19936
|
+
this.log(Wr.DEBUG, i, o, r);
|
19936
19937
|
}
|
19937
19938
|
break;
|
19938
19939
|
}
|
19939
19940
|
}
|
19940
19941
|
}
|
19941
19942
|
};
|
19942
|
-
S2.level =
|
19943
|
+
S2.level = Wr.VERBOSE;
|
19943
19944
|
Le2 = (s, e) => e;
|
19944
19945
|
te = (s, e) => e;
|
19945
19946
|
Tt = (s, e) => e;
|
19946
|
-
|
19947
|
-
|
19947
|
+
rs = (s, e) => e;
|
19948
|
+
as2 = (s, e) => e;
|
19948
19949
|
I = createSelector([R, Le2], (s, e) => e ? s[e] : null);
|
19949
19950
|
xe2 = createSelector([T, te], (s, e) => e ? s[e] : null);
|
19950
19951
|
ns2 = createSelector([T, te], (s, e) => {
|
@@ -19971,9 +19972,9 @@ var init_dist2 = __esm({
|
|
19971
19972
|
let t = s[e];
|
19972
19973
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
19973
19974
|
});
|
19974
|
-
|
19975
|
+
ds2 = createSelector([it2, as2], (s, e) => e ? s[e] : null);
|
19975
19976
|
E2 = u(I);
|
19976
|
-
dr2 = u(createSelector([be,
|
19977
|
+
dr2 = u(createSelector([be, rs], (s, e) => {
|
19977
19978
|
if (s)
|
19978
19979
|
return e ? s[e] : s;
|
19979
19980
|
}));
|
@@ -19981,7 +19982,7 @@ var init_dist2 = __esm({
|
|
19981
19982
|
Me2 = u(xe2);
|
19982
19983
|
Ht = u(ns2);
|
19983
19984
|
Tr = u(cs);
|
19984
|
-
|
19985
|
+
Hr2 = u(Ss);
|
19985
19986
|
mr = u(ls);
|
19986
19987
|
us = u((s, e) => {
|
19987
19988
|
let t = I(s, e);
|
@@ -19998,7 +19999,7 @@ var init_dist2 = __esm({
|
|
19998
19999
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => s.tracks[i])) || [];
|
19999
20000
|
});
|
20000
20001
|
mt = (s, e) => e ? s.speakers[e] : null;
|
20001
|
-
|
20002
|
+
hr2 = u(createSelector(mt, (s) => (s == null ? void 0 : s.audioLevel) || 0));
|
20002
20003
|
Ms = (s, e) => {
|
20003
20004
|
let t = ps(e)(s);
|
20004
20005
|
return mt(s, t == null ? void 0 : t.id);
|
@@ -20015,7 +20016,7 @@ var init_dist2 = __esm({
|
|
20015
20016
|
return i ? s.tracks[i] : void 0;
|
20016
20017
|
}
|
20017
20018
|
});
|
20018
|
-
|
20019
|
+
Rr = u(createSelector(T, I, (s, e) => {
|
20019
20020
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20020
20021
|
let o = s[i];
|
20021
20022
|
return Y(o) && J(o);
|
@@ -20032,7 +20033,7 @@ var init_dist2 = __esm({
|
|
20032
20033
|
vr = u(createSelector(T, I, (s, e) => {
|
20033
20034
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20034
20035
|
let o = s[i];
|
20035
|
-
return
|
20036
|
+
return le(o) && $(o);
|
20036
20037
|
});
|
20037
20038
|
return t ? s[t] : void 0;
|
20038
20039
|
}));
|
@@ -20054,7 +20055,7 @@ var init_dist2 = __esm({
|
|
20054
20055
|
let t = I(s, e);
|
20055
20056
|
return ht(t == null ? void 0 : t.audioTrack)(s);
|
20056
20057
|
});
|
20057
|
-
|
20058
|
+
Cr = u((s, e) => {
|
20058
20059
|
let t = yt(e)(s);
|
20059
20060
|
return ht(t == null ? void 0 : t.id)(s);
|
20060
20061
|
});
|
@@ -20068,11 +20069,11 @@ var init_dist2 = __esm({
|
|
20068
20069
|
return t.volume;
|
20069
20070
|
}
|
20070
20071
|
});
|
20071
|
-
|
20072
|
+
Nr = u((s, e) => {
|
20072
20073
|
let t = I(s, e);
|
20073
20074
|
return gt2(t == null ? void 0 : t.audioTrack)(s);
|
20074
20075
|
});
|
20075
|
-
|
20076
|
+
Lr = u((s, e) => {
|
20076
20077
|
let t = yt(e)(s);
|
20077
20078
|
return gt2(t == null ? void 0 : t.id)(s);
|
20078
20079
|
});
|
@@ -20105,31 +20106,31 @@ var init_dist2 = __esm({
|
|
20105
20106
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
20106
20107
|
}));
|
20107
20108
|
Hs = createSelector([kt, Tt], (s) => s ? s.filter((e) => !e.read).length : 0);
|
20108
|
-
|
20109
|
-
|
20109
|
+
ms = createSelector([Pt, Le2], (s) => s ? s.filter((e) => !e.read).length : 0);
|
20110
|
+
Or = createSelector(Ts2, (s) => s.filter((e) => !e.read).length);
|
20110
20111
|
wr2 = u(Pt);
|
20111
|
-
|
20112
|
+
_r2 = u(kt);
|
20112
20113
|
Ur2 = u(Hs);
|
20113
|
-
|
20114
|
-
Rt = u(
|
20114
|
+
Vr2 = u(ms);
|
20115
|
+
Rt = u(ds2);
|
20115
20116
|
Yr = createSelector([R, T], (s, e) => Object.values(s).map((i) => {
|
20116
20117
|
var o;
|
20117
20118
|
return { peer: i, isAudioEnabled: i.audioTrack ? (o = e[i.audioTrack]) == null ? void 0 : o.enabled : false };
|
20118
20119
|
}));
|
20119
|
-
|
20120
|
-
zr = createSelector([
|
20120
|
+
fs = (s) => s.roleChangeRequests[0] || null;
|
20121
|
+
zr = createSelector([fs, R, _2], (s, e, t) => s ? { requestedBy: s.requestedBy ? e[s.requestedBy] : void 0, role: t[s.roleName], token: s.token } : null);
|
20121
20122
|
Xr = createSelector([ue2], (s) => z(s));
|
20122
20123
|
Zr = createSelector([tt], (s) => z(s));
|
20123
20124
|
hs = createSelector([D2, T], (s, e) => {
|
20124
20125
|
let t = null;
|
20125
20126
|
return s && (t = e[s]), (t == null ? void 0 : t.plugins) || [];
|
20126
20127
|
});
|
20127
|
-
|
20128
|
+
gs = createSelector([N, T], (s, e) => {
|
20128
20129
|
let t = null;
|
20129
20130
|
return s && (t = e[s]), (t == null ? void 0 : t.plugins) || [];
|
20130
20131
|
});
|
20131
20132
|
fe = { [Ge.PEER_JOINED]: "PEER_JOINED", [Ge.PEER_LEFT]: "PEER_LEFT", [Ge.ROLE_UPDATED]: "ROLE_UPDATED", [Ge.NAME_UPDATED]: "NAME_UPDATED", [Ge.METADATA_UPDATED]: "METADATA_UPDATED", [Ge.HAND_RAISE_CHANGED]: "HAND_RAISE_CHANGED" };
|
20132
|
-
ie = { [
|
20133
|
+
ie = { [ae.TRACK_ADDED]: "TRACK_ADDED", [ae.TRACK_REMOVED]: "TRACK_REMOVED", [ae.TRACK_MUTED]: "TRACK_MUTED", [ae.TRACK_UNMUTED]: "TRACK_UNMUTED", [ae.TRACK_DEGRADED]: "TRACK_DEGRADED", [ae.TRACK_RESTORED]: "TRACK_RESTORED", [ae.TRACK_DESCRIPTION_CHANGED]: "TRACK_DESCRIPTION_CHANGED" };
|
20133
20134
|
ye2 = { [vi.POLL_CREATED]: "POLL_CREATED", [vi.POLL_STARTED]: "POLL_STARTED", [vi.POLL_STOPPED]: "POLL_STOPPED", [vi.POLL_STATS_UPDATED]: "POLL_VOTES_UPDATED" };
|
20134
20135
|
Vs = (s) => s.localPeer.id;
|
20135
20136
|
Ks = (s) => s.localPeer.audioTrack;
|
@@ -26580,7 +26581,7 @@ var init_VBPicker = __esm({
|
|
26580
26581
|
const roomState = (0, import_react_sdk71.useHMSStore)(import_react_sdk71.selectRoomState);
|
26581
26582
|
const isLargeRoom = (0, import_react_sdk71.useHMSStore)(import_react_sdk71.selectIsLargeRoom);
|
26582
26583
|
const isEffectsEnabled = (0, import_react_sdk71.useHMSStore)(Fi2);
|
26583
|
-
const effectsKey = (0, import_react_sdk71.useHMSStore)(
|
26584
|
+
const effectsKey = (0, import_react_sdk71.useHMSStore)(Qi2);
|
26584
26585
|
const isPluginAdded = (0, import_react_sdk71.useHMSStore)((0, import_react_sdk71.selectIsLocalVideoPluginPresent)(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
|
26585
26586
|
const [activeBackground, setActiveBackground] = (0, import_react145.useState)(
|
26586
26587
|
((_b7 = VBHandler) == null ? void 0 : _b7.getBackground()) || import_hms_virtual_background3.HMSVirtualBackgroundTypes.NONE
|
@@ -31817,7 +31818,6 @@ var init_App = __esm({
|
|
31817
31818
|
init_Notifications2();
|
31818
31819
|
init_PreviewScreen();
|
31819
31820
|
init_ToastContainer();
|
31820
|
-
init_VBHandler();
|
31821
31821
|
init_roomLayoutProvider();
|
31822
31822
|
init_DialogContext();
|
31823
31823
|
init_Layout();
|
@@ -31871,7 +31871,6 @@ var init_App = __esm({
|
|
31871
31871
|
(0, import_react214.useEffect)(
|
31872
31872
|
() => () => {
|
31873
31873
|
var _a8;
|
31874
|
-
VBHandler.reset();
|
31875
31874
|
(_a8 = reactiveStore == null ? void 0 : reactiveStore.current) == null ? void 0 : _a8.hmsActions.leave();
|
31876
31875
|
},
|
31877
31876
|
[]
|