@100mslive/roomkit-react 0.1.19 → 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-4L4OAX2K.js → HLSView-PJLISGG4.js} +2 -2
- package/dist/{chunk-NHPPOGUF.js → chunk-QENB2CO7.js} +113 -110
- package/dist/chunk-QENB2CO7.js.map +7 -0
- package/dist/index.cjs.js +98 -97
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +8 -8
- package/dist/meta.esbuild.json +15 -15
- package/package.json +6 -6
- package/dist/chunk-NHPPOGUF.js.map +0 -7
- /package/dist/{HLSView-4L4OAX2K.js.map → HLSView-PJLISGG4.js.map} +0 -0
@@ -106,7 +106,7 @@ var __async = (__this, __arguments, generator) => {
|
|
106
106
|
var define_process_env_default;
|
107
107
|
var init_define_process_env = __esm({
|
108
108
|
"<define:process.env>"() {
|
109
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_1b6bf38c-cb13-4158-9a5b-4c5b2c8cde3d", 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.28", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_1b6bf38c-cb13-4158-9a5b-4c5b2c8cde3d", 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.28", 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: "573", 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:17703", 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.28", 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: "7422692725", 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: "2616c7f5408ccbe73ba402514ca7b87b310d377c", 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: "926d575e47136461604e75f063c9b94199bb8253b788a1104c34dcfe7f5bee5e", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_workspaces_2: "playwright/*", npm_package_devDependencies_postcss_loader: "^6.2.1", PATH: "/tmp/yarn--1704463204278-0.41119420540560236:/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--1704463204043-0.15769869699271766:/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--1704463163314-0.7904595833323793:/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--1704463163077-0.854981123631561:/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_d7251b7c-dece-4064-bf55-864515774896", INVOCATION_ID: "8fafa604971e4be391aaa1a5e3b58df4", 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: "407", 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: "main", 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.28", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.1.19", 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: "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/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: "2616c7f5408ccbe73ba402514ca7b87b310d377c", 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/main", 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_1b6bf38c-cb13-4158-9a5b-4c5b2c8cde3d", 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_1b6bf38c-cb13-4158-9a5b-4c5b2c8cde3d", 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_1b6bf38c-cb13-4158-9a5b-4c5b2c8cde3d" };
|
109
|
+
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" };
|
110
110
|
}
|
111
111
|
});
|
112
112
|
|
@@ -15059,10 +15059,10 @@ import { useMedia as useMedia5 } from "react-use";
|
|
15059
15059
|
// ../hms-video-web/dist/index.js
|
15060
15060
|
init_define_process_env();
|
15061
15061
|
var import_ua_parser_js = __toESM(require_ua_parser());
|
15062
|
-
import { v4 as
|
15063
|
-
import { v4 as
|
15064
|
-
import { v4 as
|
15065
|
-
import { v4 as
|
15062
|
+
import { v4 as Fr } from "uuid";
|
15063
|
+
import { v4 as vs } from "uuid";
|
15064
|
+
import { v4 as Jr } from "uuid";
|
15065
|
+
import { v4 as jr } from "uuid";
|
15066
15066
|
|
15067
15067
|
// ../../node_modules/webrtc-adapter/src/js/adapter_core.js
|
15068
15068
|
init_define_process_env();
|
@@ -17160,20 +17160,20 @@ var adapter_core_default = adapter;
|
|
17160
17160
|
|
17161
17161
|
// ../hms-video-web/dist/index.js
|
17162
17162
|
var it = __toESM(require_lib());
|
17163
|
-
import { v4 as
|
17164
|
-
import { v4 as
|
17165
|
-
import { EventEmitter2 as
|
17166
|
-
import { EventEmitter2 as
|
17167
|
-
import
|
17168
|
-
import { v4 as
|
17169
|
-
import { v4 as
|
17170
|
-
var
|
17171
|
-
var
|
17172
|
-
var
|
17163
|
+
import { v4 as ds } from "uuid";
|
17164
|
+
import { v4 as Es } from "uuid";
|
17165
|
+
import { EventEmitter2 as Ps } from "eventemitter2";
|
17166
|
+
import { EventEmitter2 as ys } from "eventemitter2";
|
17167
|
+
import ks from "eventemitter2";
|
17168
|
+
import { v4 as As } from "uuid";
|
17169
|
+
import { v4 as ws } from "uuid";
|
17170
|
+
var _r = Object.defineProperty;
|
17171
|
+
var Hr = Object.defineProperties;
|
17172
|
+
var Dr = Object.getOwnPropertyDescriptors;
|
17173
17173
|
var dt = Object.getOwnPropertySymbols;
|
17174
17174
|
var Fi = Object.prototype.hasOwnProperty;
|
17175
17175
|
var Gi = Object.prototype.propertyIsEnumerable;
|
17176
|
-
var xi = (n2, e, t) => e in n2 ?
|
17176
|
+
var xi = (n2, e, t) => e in n2 ? _r(n2, e, { enumerable: true, configurable: true, writable: true, value: t }) : n2[e] = t;
|
17177
17177
|
var m = (n2, e) => {
|
17178
17178
|
for (var t in e || (e = {}))
|
17179
17179
|
Fi.call(e, t) && xi(n2, t, e[t]);
|
@@ -17182,7 +17182,7 @@ var m = (n2, e) => {
|
|
17182
17182
|
Gi.call(e, t) && xi(n2, t, e[t]);
|
17183
17183
|
return n2;
|
17184
17184
|
};
|
17185
|
-
var y = (n2, e) =>
|
17185
|
+
var y = (n2, e) => Hr(n2, Dr(e));
|
17186
17186
|
var oi = (n2, e) => {
|
17187
17187
|
var t = {};
|
17188
17188
|
for (var i in n2)
|
@@ -17192,32 +17192,35 @@ var oi = (n2, e) => {
|
|
17192
17192
|
e.indexOf(i) < 0 && Gi.call(n2, i) && (t[i] = n2[i]);
|
17193
17193
|
return t;
|
17194
17194
|
};
|
17195
|
-
var
|
17196
|
-
var gi =
|
17197
|
-
|
17195
|
+
var xr = (n2, e) => () => (e || n2((e = { exports: {} }).exports, e), e.exports);
|
17196
|
+
var gi = xr((Ua, Qr) => {
|
17197
|
+
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" } };
|
17198
17198
|
});
|
17199
17199
|
var Ui = "https://event.100ms.live/v2/client/report";
|
17200
17200
|
var Bi = "https://event-nonprod.100ms.live/v2/client/report";
|
17201
17201
|
var Pe = class {
|
17202
17202
|
};
|
17203
|
-
Pe.makePeerId = () =>
|
17204
|
-
var
|
17203
|
+
Pe.makePeerId = () => Fr();
|
17204
|
+
var ee = new import_ua_parser_js.UAParser();
|
17205
17205
|
var L = typeof window != "undefined";
|
17206
17206
|
var $i;
|
17207
|
-
var ue = typeof window == "undefined" && !(($i =
|
17207
|
+
var ue = typeof window == "undefined" && !(($i = ee.getBrowser().name) != null && $i.toLowerCase().includes("electron"));
|
17208
17208
|
var pt = ((i) => (i.PROD = "prod", i.QA = "qa", i.DEV = "dev", i))(pt || {});
|
17209
|
-
var
|
17210
|
-
var
|
17211
|
-
|
17209
|
+
var Ur = () => !ue;
|
17210
|
+
var da = Ur();
|
17211
|
+
var Ki;
|
17212
|
+
var qi;
|
17213
|
+
var Qi = ((qi = (Ki = ee.getBrowser()) == null ? void 0 : Ki.name) == null ? void 0 : qi.toLowerCase()) === "firefox";
|
17214
|
+
function Vr() {
|
17212
17215
|
if (L && window) {
|
17213
17216
|
let n2 = window.location.hostname;
|
17214
17217
|
return n2 === "localhost" || n2 === "127.0.0.1" ? "LOCAL" : n2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
|
17215
17218
|
}
|
17216
17219
|
return "CUSTOM";
|
17217
17220
|
}
|
17218
|
-
var ye =
|
17219
|
-
var
|
17220
|
-
var
|
17221
|
+
var ye = Vr();
|
17222
|
+
var 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 || {});
|
17223
|
+
var $r = typeof window != "undefined" && typeof window.expect != "undefined";
|
17221
17224
|
var c = class {
|
17222
17225
|
static v(e, ...t) {
|
17223
17226
|
this.log(0, e, ...t);
|
@@ -17283,7 +17286,7 @@ var c = class {
|
|
17283
17286
|
}
|
17284
17287
|
}
|
17285
17288
|
};
|
17286
|
-
c.level =
|
17289
|
+
c.level = $r ? 7 : 0;
|
17287
17290
|
var 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 } };
|
17288
17291
|
var S = class n extends Error {
|
17289
17292
|
constructor(t, i, r, s, a, o = false) {
|
@@ -17314,7 +17317,7 @@ var S = class n extends Error {
|
|
17314
17317
|
}`;
|
17315
17318
|
}
|
17316
17319
|
};
|
17317
|
-
var
|
17320
|
+
var qr = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
17318
17321
|
var h = { WebSocketConnectionErrors: { FailedToConnect(n2, e = "") {
|
17319
17322
|
return new S(E.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", n2, `[WS]: ${e}`, `[WS]: ${e}`);
|
17320
17323
|
}, WebSocketConnectionLost(n2, e = "") {
|
@@ -17374,7 +17377,7 @@ var h = { WebSocketConnectionErrors: { FailedToConnect(n2, e = "") {
|
|
17374
17377
|
}, StatsFailed(n2, e = "") {
|
17375
17378
|
return new S(E.WebrtcErrors.STATS_FAILED, "StatsFailed", n2, `Failed to WebRTC get stats - ${e}`, e);
|
17376
17379
|
} }, WebsocketMethodErrors: { ServerErrors(n2, e, t) {
|
17377
|
-
return new S(n2, "ServerErrors", e, t, t,
|
17380
|
+
return new S(n2, "ServerErrors", e, t, t, qr.includes(e));
|
17378
17381
|
}, AlreadyJoined(n2, e = "") {
|
17379
17382
|
return new S(E.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", n2, "[JOIN]: You have already joined this room.", e);
|
17380
17383
|
}, CannotJoinPreviewInProgress(n2, e = "") {
|
@@ -17447,7 +17450,7 @@ var pi = class {
|
|
17447
17450
|
return this.valuesMap.size;
|
17448
17451
|
}
|
17449
17452
|
};
|
17450
|
-
var
|
17453
|
+
var Ji = () => {
|
17451
17454
|
try {
|
17452
17455
|
L && !localStorage && (window.localStorage = new pi());
|
17453
17456
|
} catch (n2) {
|
@@ -17461,7 +17464,7 @@ var V = class {
|
|
17461
17464
|
}
|
17462
17465
|
getStorage() {
|
17463
17466
|
try {
|
17464
|
-
return L && !this.storage && (
|
17467
|
+
return L && !this.storage && (Ji(), this.storage = window.localStorage), this.storage;
|
17465
17468
|
} catch (e) {
|
17466
17469
|
return c.e("Error initialising localStorage", h.GenericErrors.LocalStorageAccessDenied()), null;
|
17467
17470
|
}
|
@@ -17481,29 +17484,29 @@ var V = class {
|
|
17481
17484
|
(e = this.getStorage()) == null || e.removeItem(this.key);
|
17482
17485
|
}
|
17483
17486
|
};
|
17484
|
-
var
|
17487
|
+
var zi = () => {
|
17485
17488
|
let n2, e = new V("hms-analytics-deviceId"), t = e.get();
|
17486
|
-
return t ? n2 = t : (n2 =
|
17489
|
+
return t ? n2 = t : (n2 = jr(), e.set(n2)), n2;
|
17487
17490
|
};
|
17488
17491
|
function U(n2) {
|
17489
17492
|
return n2 != null;
|
17490
17493
|
}
|
17491
|
-
var
|
17494
|
+
var Xi = gi().version;
|
17492
17495
|
function xe(n2 = "prod", e) {
|
17493
17496
|
let t = "web", i = ye !== "LOCAL" && n2 === "prod" ? "prod" : "debug";
|
17494
17497
|
if (ue)
|
17495
|
-
return
|
17496
|
-
let r =
|
17497
|
-
return s.type && (u2 = `${Si(`${s.vendor}_${s.type}`)}/${p}`),
|
17498
|
+
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 });
|
17499
|
+
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;
|
17500
|
+
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 });
|
17498
17501
|
}
|
17499
17502
|
function Si(n2) {
|
17500
17503
|
return n2.replace(/ /g, "_");
|
17501
17504
|
}
|
17502
|
-
var
|
17505
|
+
var Zi = (n2, e = ",") => Object.keys(n2).filter((t) => U(n2[t])).map((t) => `${t}:${n2[t]}`).join(e);
|
17503
17506
|
var k = class {
|
17504
17507
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
17505
17508
|
this.metadata = { peer: {}, userAgent: xe() };
|
17506
|
-
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id =
|
17509
|
+
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = Jr(), this.device_id = zi();
|
17507
17510
|
}
|
17508
17511
|
toSignalParams() {
|
17509
17512
|
return { name: this.name, info: y(m({}, this.properties), { timestamp: this.timestamp, domain: ye }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
@@ -17633,7 +17636,7 @@ var Ti = class {
|
|
17633
17636
|
}
|
17634
17637
|
};
|
17635
17638
|
var D = new Ti();
|
17636
|
-
var
|
17639
|
+
var tr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(tr || {});
|
17637
17640
|
var gt = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(gt || {});
|
17638
17641
|
function ft(n2, e = 300) {
|
17639
17642
|
let t;
|
@@ -17645,20 +17648,20 @@ function ft(n2, e = 300) {
|
|
17645
17648
|
}, e);
|
17646
17649
|
};
|
17647
17650
|
}
|
17648
|
-
var
|
17651
|
+
var 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 || {});
|
17649
17652
|
var 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 || {});
|
17650
|
-
var
|
17653
|
+
var 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 || {});
|
17651
17654
|
var 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 || {});
|
17652
|
-
var
|
17653
|
-
var
|
17655
|
+
var 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 || {});
|
17656
|
+
var ns = ((s) => (s.NONE = "none", s.INITIALISED = "initialised", s.STARTED = "started", s.STOPPED = "stopped", s.FAILED = "failed", s))(ns || {});
|
17654
17657
|
var ke = ((r) => (r.NONE = "none", r.LOW = "low", r.MEDIUM = "medium", r.HIGH = "high", r))(ke || {});
|
17655
|
-
var
|
17656
|
-
var
|
17657
|
-
var
|
17658
|
-
var
|
17658
|
+
var ar = ((i) => (i.VP8 = "vp8", i.VP9 = "vp9", i.H264 = "h264", i))(ar || {});
|
17659
|
+
var nr = ((e) => (e.OPUS = "opus", e))(nr || {});
|
17660
|
+
var or = ((r) => (r.USER = "user", r.ENVIRONMENT = "environment", r.LEFT = "left", r.RIGHT = "right", r))(or || {});
|
17661
|
+
var os = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(os || {});
|
17659
17662
|
var Ei = ((t) => (t.audio = "audio", t.video = "video", t))(Ei || {});
|
17660
|
-
var
|
17661
|
-
var
|
17663
|
+
var cr = ((r) => (r.SINGLE_CHOICE = "single-choice", r.MULTIPLE_CHOICE = "multiple-choice", r.SHORT_ANSWER = "short-answer", r.LONG_ANSWER = "long-answer", r))(cr || {});
|
17664
|
+
var dr = ((i) => (i.CREATED = "created", i.STARTED = "started", i.STOPPED = "stopped", i))(dr || {});
|
17662
17665
|
var Pi = class {
|
17663
17666
|
constructor() {
|
17664
17667
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
@@ -17686,7 +17689,7 @@ var Pi = class {
|
|
17686
17689
|
return e || c.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
17687
17690
|
}
|
17688
17691
|
};
|
17689
|
-
var
|
17692
|
+
var pr = new Pi();
|
17690
17693
|
var yi = class {
|
17691
17694
|
constructor() {
|
17692
17695
|
this.TAG = "[HMSResizeObserverWrapper]";
|
@@ -17714,12 +17717,12 @@ var yi = class {
|
|
17714
17717
|
return e || c.w(this.TAG, "Resize Observer is not supported"), e;
|
17715
17718
|
}
|
17716
17719
|
};
|
17717
|
-
var
|
17720
|
+
var hr = new yi();
|
17718
17721
|
var Mi = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Mi || {});
|
17719
17722
|
var ki = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(ki || {});
|
17720
|
-
var
|
17723
|
+
var Ts = gi().version;
|
17721
17724
|
c.d("adapter", `${adapter_core_default.browserDetails.browser} v${adapter_core_default.browserDetails.version}`);
|
17722
|
-
c.d("sdk version",
|
17725
|
+
c.d("sdk version", Ts);
|
17723
17726
|
var wi = class {
|
17724
17727
|
constructor() {
|
17725
17728
|
this.TAG = "[HTTPAnalyticsTransport]";
|
@@ -18231,7 +18234,7 @@ var RecordingStatus = () => {
|
|
18231
18234
|
};
|
18232
18235
|
var RecordingPauseStatus = () => {
|
18233
18236
|
const recording = useHMSStore24(selectRecordingState);
|
18234
|
-
if (recording.hls && recording.hls.state ===
|
18237
|
+
if (recording.hls && recording.hls.state === as.PAUSED) {
|
18235
18238
|
return /* @__PURE__ */ React54.createElement(
|
18236
18239
|
Tooltip,
|
18237
18240
|
{
|
@@ -18647,7 +18650,7 @@ var createSelector = createSelectorCreator(defaultMemoize);
|
|
18647
18650
|
import { EventEmitter2 as vs2 } from "eventemitter2";
|
18648
18651
|
var qt = (s, e) => () => (e || s((e = { exports: {} }).exports, e), e.exports);
|
18649
18652
|
var xt = qt((lc, Ls) => {
|
18650
|
-
Ls.exports = { version: "0.10.
|
18653
|
+
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"] };
|
18651
18654
|
});
|
18652
18655
|
var 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 || {});
|
18653
18656
|
var jt = ((e) => (e.CHAT = "chat", e))(jt || {});
|
@@ -18672,7 +18675,7 @@ function J(s) {
|
|
18672
18675
|
function Gt(s) {
|
18673
18676
|
return s && s.source === "screen";
|
18674
18677
|
}
|
18675
|
-
function
|
18678
|
+
function le(s) {
|
18676
18679
|
return s && s.source === "audioplaylist";
|
18677
18680
|
}
|
18678
18681
|
function Y(s) {
|
@@ -18769,7 +18772,7 @@ var Ai = createSelector(R, T, (s, e) => {
|
|
18769
18772
|
var Ci = createSelector(R, T, (s, e) => {
|
18770
18773
|
for (let t in e) {
|
18771
18774
|
let i = e[t];
|
18772
|
-
if (
|
18775
|
+
if (le(i) && i.peerId)
|
18773
18776
|
return s[i.peerId];
|
18774
18777
|
}
|
18775
18778
|
});
|
@@ -18804,13 +18807,13 @@ var Ui2 = createSelector([ue2], (s) => {
|
|
18804
18807
|
});
|
18805
18808
|
var st = createSelector(ue2, (s) => s == null ? void 0 : s.permissions);
|
18806
18809
|
var Vi = createSelector(h2, (s) => s.recording);
|
18807
|
-
var
|
18810
|
+
var Ki2 = createSelector(h2, (s) => s.rtmp);
|
18808
18811
|
var Bi2 = createSelector(h2, (s) => s.hls);
|
18809
18812
|
var qi2 = createSelector(h2, (s) => s.sessionId);
|
18810
|
-
var
|
18813
|
+
var ji = createSelector(h2, (s) => s.startedAt);
|
18811
18814
|
var Gi2 = createSelector(h2, (s) => !!s.isLargeRoom);
|
18812
18815
|
var Fi2 = createSelector(h2, (s) => !!s.isEffectsEnabled);
|
18813
|
-
var
|
18816
|
+
var Qi2 = createSelector(h2, (s) => s.effectsKey);
|
18814
18817
|
var it2 = (s) => s.polls;
|
18815
18818
|
var Yi = createSelector(w2, (s) => s.filter((e) => e.isHandRaised));
|
18816
18819
|
var Zt = (s) => s.whiteboards;
|
@@ -18831,28 +18834,28 @@ var pt2 = { selection: Ne("video"), progress: at("video"), currentTime: nt("vide
|
|
18831
18834
|
function u(s) {
|
18832
18835
|
return (e) => (t) => s(t, e);
|
18833
18836
|
}
|
18834
|
-
var
|
18837
|
+
var ee2 = "HMS-Store:";
|
18835
18838
|
var S2 = class {
|
18836
18839
|
static v(e, ...t) {
|
18837
|
-
this.log(
|
18840
|
+
this.log(Wr.VERBOSE, e, ...t);
|
18838
18841
|
}
|
18839
18842
|
static d(...e) {
|
18840
|
-
this.log(
|
18843
|
+
this.log(Wr.DEBUG, ...e);
|
18841
18844
|
}
|
18842
18845
|
static i(...e) {
|
18843
|
-
this.log(
|
18846
|
+
this.log(Wr.INFO, ...e);
|
18844
18847
|
}
|
18845
18848
|
static w(...e) {
|
18846
|
-
this.log(
|
18849
|
+
this.log(Wr.WARN, ...e);
|
18847
18850
|
}
|
18848
18851
|
static e(...e) {
|
18849
|
-
this.log(
|
18852
|
+
this.log(Wr.ERROR, ...e);
|
18850
18853
|
}
|
18851
18854
|
static time(e) {
|
18852
|
-
this.log(
|
18855
|
+
this.log(Wr.TIME, "[HMSPerformanceTiming]", e);
|
18853
18856
|
}
|
18854
18857
|
static timeEnd(e) {
|
18855
|
-
this.log(
|
18858
|
+
this.log(Wr.TIMEEND, "[HMSPerformanceTiming]", e, e);
|
18856
18859
|
}
|
18857
18860
|
static cleanup() {
|
18858
18861
|
performance.clearMarks(), performance.clearMeasures();
|
@@ -18860,49 +18863,49 @@ var S2 = class {
|
|
18860
18863
|
static log(e, ...t) {
|
18861
18864
|
if (!(this.level.valueOf() > e.valueOf()))
|
18862
18865
|
switch (e) {
|
18863
|
-
case
|
18864
|
-
console.log(
|
18866
|
+
case Wr.VERBOSE: {
|
18867
|
+
console.log(ee2, ...t);
|
18865
18868
|
break;
|
18866
18869
|
}
|
18867
|
-
case
|
18868
|
-
console.debug(
|
18870
|
+
case Wr.DEBUG: {
|
18871
|
+
console.debug(ee2, ...t);
|
18869
18872
|
break;
|
18870
18873
|
}
|
18871
|
-
case
|
18872
|
-
console.info(
|
18874
|
+
case Wr.INFO: {
|
18875
|
+
console.info(ee2, ...t);
|
18873
18876
|
break;
|
18874
18877
|
}
|
18875
|
-
case
|
18876
|
-
console.warn(
|
18878
|
+
case Wr.WARN: {
|
18879
|
+
console.warn(ee2, ...t);
|
18877
18880
|
break;
|
18878
18881
|
}
|
18879
|
-
case
|
18880
|
-
console.error(
|
18882
|
+
case Wr.ERROR: {
|
18883
|
+
console.error(ee2, ...t);
|
18881
18884
|
break;
|
18882
18885
|
}
|
18883
|
-
case
|
18886
|
+
case Wr.TIME: {
|
18884
18887
|
performance.mark(t[1]);
|
18885
18888
|
break;
|
18886
18889
|
}
|
18887
|
-
case
|
18890
|
+
case Wr.TIMEEND: {
|
18888
18891
|
let i = t[0], o = t[1];
|
18889
18892
|
try {
|
18890
18893
|
let r = performance.measure(o, o);
|
18891
|
-
this.log(
|
18894
|
+
this.log(Wr.DEBUG, i, o, r == null ? void 0 : r.duration), performance.clearMarks(o), performance.clearMeasures(o);
|
18892
18895
|
} catch (r) {
|
18893
|
-
this.log(
|
18896
|
+
this.log(Wr.DEBUG, i, o, r);
|
18894
18897
|
}
|
18895
18898
|
break;
|
18896
18899
|
}
|
18897
18900
|
}
|
18898
18901
|
}
|
18899
18902
|
};
|
18900
|
-
S2.level =
|
18903
|
+
S2.level = Wr.VERBOSE;
|
18901
18904
|
var Le2 = (s, e) => e;
|
18902
18905
|
var te = (s, e) => e;
|
18903
18906
|
var Tt = (s, e) => e;
|
18904
|
-
var
|
18905
|
-
var
|
18907
|
+
var rs = (s, e) => e;
|
18908
|
+
var as2 = (s, e) => e;
|
18906
18909
|
var I = createSelector([R, Le2], (s, e) => e ? s[e] : null);
|
18907
18910
|
var xe2 = createSelector([T, te], (s, e) => e ? s[e] : null);
|
18908
18911
|
var ns2 = createSelector([T, te], (s, e) => {
|
@@ -18929,9 +18932,9 @@ var ls = createSelector([T, te], (s, e) => {
|
|
18929
18932
|
let t = s[e];
|
18930
18933
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
18931
18934
|
});
|
18932
|
-
var
|
18935
|
+
var ds2 = createSelector([it2, as2], (s, e) => e ? s[e] : null);
|
18933
18936
|
var E2 = u(I);
|
18934
|
-
var dr2 = u(createSelector([be,
|
18937
|
+
var dr2 = u(createSelector([be, rs], (s, e) => {
|
18935
18938
|
if (s)
|
18936
18939
|
return e ? s[e] : s;
|
18937
18940
|
}));
|
@@ -18945,7 +18948,7 @@ var Mr = u(createSelector(I, (s) => s == null ? void 0 : s.name));
|
|
18945
18948
|
var Me2 = u(xe2);
|
18946
18949
|
var Ht = u(ns2);
|
18947
18950
|
var Tr = u(cs);
|
18948
|
-
var
|
18951
|
+
var Hr2 = u(Ss);
|
18949
18952
|
var mr = u(ls);
|
18950
18953
|
var us = u((s, e) => {
|
18951
18954
|
let t = I(s, e);
|
@@ -18962,7 +18965,7 @@ var yr = u((s, e) => {
|
|
18962
18965
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => s.tracks[i])) || [];
|
18963
18966
|
});
|
18964
18967
|
var mt = (s, e) => e ? s.speakers[e] : null;
|
18965
|
-
var
|
18968
|
+
var hr2 = u(createSelector(mt, (s) => (s == null ? void 0 : s.audioLevel) || 0));
|
18966
18969
|
var Ms = (s, e) => {
|
18967
18970
|
let t = ps(e)(s);
|
18968
18971
|
return mt(s, t == null ? void 0 : t.id);
|
@@ -18979,7 +18982,7 @@ var kr = u((s, e) => {
|
|
18979
18982
|
return i ? s.tracks[i] : void 0;
|
18980
18983
|
}
|
18981
18984
|
});
|
18982
|
-
var
|
18985
|
+
var Rr = u(createSelector(T, I, (s, e) => {
|
18983
18986
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
18984
18987
|
let o = s[i];
|
18985
18988
|
return Y(o) && J(o);
|
@@ -18996,7 +18999,7 @@ var Dr2 = u(createSelector(T, I, (s, e) => {
|
|
18996
18999
|
var vr = u(createSelector(T, I, (s, e) => {
|
18997
19000
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
18998
19001
|
let o = s[i];
|
18999
|
-
return
|
19002
|
+
return le(o) && $(o);
|
19000
19003
|
});
|
19001
19004
|
return t ? s[t] : void 0;
|
19002
19005
|
}));
|
@@ -19018,7 +19021,7 @@ var Ar = u((s, e) => {
|
|
19018
19021
|
let t = I(s, e);
|
19019
19022
|
return ht(t == null ? void 0 : t.audioTrack)(s);
|
19020
19023
|
});
|
19021
|
-
var
|
19024
|
+
var Cr = u((s, e) => {
|
19022
19025
|
let t = yt(e)(s);
|
19023
19026
|
return ht(t == null ? void 0 : t.id)(s);
|
19024
19027
|
});
|
@@ -19032,11 +19035,11 @@ var gt2 = u((s, e) => {
|
|
19032
19035
|
return t.volume;
|
19033
19036
|
}
|
19034
19037
|
});
|
19035
|
-
var
|
19038
|
+
var Nr = u((s, e) => {
|
19036
19039
|
let t = I(s, e);
|
19037
19040
|
return gt2(t == null ? void 0 : t.audioTrack)(s);
|
19038
19041
|
});
|
19039
|
-
var
|
19042
|
+
var Lr = u((s, e) => {
|
19040
19043
|
let t = yt(e)(s);
|
19041
19044
|
return gt2(t == null ? void 0 : t.id)(s);
|
19042
19045
|
});
|
@@ -19069,31 +19072,31 @@ var Ts2 = createSelector(X2, (s) => s.filter((e) => {
|
|
19069
19072
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
19070
19073
|
}));
|
19071
19074
|
var Hs = createSelector([kt, Tt], (s) => s ? s.filter((e) => !e.read).length : 0);
|
19072
|
-
var
|
19073
|
-
var
|
19075
|
+
var ms = createSelector([Pt, Le2], (s) => s ? s.filter((e) => !e.read).length : 0);
|
19076
|
+
var Or = createSelector(Ts2, (s) => s.filter((e) => !e.read).length);
|
19074
19077
|
var wr2 = u(Pt);
|
19075
|
-
var
|
19078
|
+
var _r2 = u(kt);
|
19076
19079
|
var Ur2 = u(Hs);
|
19077
|
-
var
|
19078
|
-
var Rt = u(
|
19080
|
+
var Vr2 = u(ms);
|
19081
|
+
var Rt = u(ds2);
|
19079
19082
|
var Yr = createSelector([R, T], (s, e) => Object.values(s).map((i) => {
|
19080
19083
|
var o;
|
19081
19084
|
return { peer: i, isAudioEnabled: i.audioTrack ? (o = e[i.audioTrack]) == null ? void 0 : o.enabled : false };
|
19082
19085
|
}));
|
19083
|
-
var
|
19084
|
-
var zr = createSelector([
|
19086
|
+
var fs = (s) => s.roleChangeRequests[0] || null;
|
19087
|
+
var 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);
|
19085
19088
|
var Xr = createSelector([ue2], (s) => z(s));
|
19086
19089
|
var Zr = createSelector([tt], (s) => z(s));
|
19087
19090
|
var hs = createSelector([D2, T], (s, e) => {
|
19088
19091
|
let t = null;
|
19089
19092
|
return s && (t = e[s]), (t == null ? void 0 : t.plugins) || [];
|
19090
19093
|
});
|
19091
|
-
var
|
19094
|
+
var gs = createSelector([N, T], (s, e) => {
|
19092
19095
|
let t = null;
|
19093
19096
|
return s && (t = e[s]), (t == null ? void 0 : t.plugins) || [];
|
19094
19097
|
});
|
19095
19098
|
var 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" };
|
19096
|
-
var ie = { [
|
19099
|
+
var 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" };
|
19097
19100
|
var ye2 = { [vi.POLL_CREATED]: "POLL_CREATED", [vi.POLL_STARTED]: "POLL_STARTED", [vi.POLL_STOPPED]: "POLL_STOPPED", [vi.POLL_STATS_UPDATED]: "POLL_VOTES_UPDATED" };
|
19098
19101
|
var Vs = (s) => s.localPeer.id;
|
19099
19102
|
var Ks = (s) => s.localPeer.audioTrack;
|
@@ -24923,7 +24926,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
|
|
24923
24926
|
const roomState = useHMSStore59(selectRoomState4);
|
24924
24927
|
const isLargeRoom = useHMSStore59(selectIsLargeRoom3);
|
24925
24928
|
const isEffectsEnabled = useHMSStore59(Fi2);
|
24926
|
-
const effectsKey = useHMSStore59(
|
24929
|
+
const effectsKey = useHMSStore59(Qi2);
|
24927
24930
|
const isPluginAdded = useHMSStore59(selectIsLocalVideoPluginPresent(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
|
24928
24931
|
const [activeBackground, setActiveBackground] = useState49(
|
24929
24932
|
((_b7 = VBHandler) == null ? void 0 : _b7.getBackground()) || HMSVirtualBackgroundTypes3.NONE
|
@@ -26727,7 +26730,7 @@ var useCloseScreenshareWhiteboard = () => {
|
|
26727
26730
|
};
|
26728
26731
|
|
26729
26732
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
26730
|
-
var HLSView = React146.lazy(() => import("./HLSView-
|
26733
|
+
var HLSView = React146.lazy(() => import("./HLSView-PJLISGG4.js"));
|
26731
26734
|
var VideoStreamingSection = ({
|
26732
26735
|
screenType,
|
26733
26736
|
elements,
|
@@ -28836,4 +28839,4 @@ lodash/lodash.js:
|
|
28836
28839
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
28837
28840
|
*)
|
28838
28841
|
*/
|
28839
|
-
//# sourceMappingURL=chunk-
|
28842
|
+
//# sourceMappingURL=chunk-QENB2CO7.js.map
|