appium-espresso-driver 10.0.3 → 10.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/build/lib/execute-method-map.d.ts +16 -0
- package/build/lib/execute-method-map.d.ts.map +1 -1
- package/espresso-server/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk +0 -0
- package/espresso-server/buildSrc/.gradle/9.7.1/executionHistory/executionHistory.bin +0 -0
- package/espresso-server/buildSrc/.gradle/9.7.1/executionHistory/executionHistory.lock +0 -0
- package/espresso-server/buildSrc/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/espresso-server/buildSrc/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/espresso-server/buildSrc/build/kotlin/compileKotlin/cacheable/last-build.bin +0 -0
- package/espresso-server/gradle/libs.versions.toml +2 -0
- package/espresso-server/library/build.gradle.kts +3 -0
- package/espresso-server/library/src/composeOn/java/io/appium/espressoserver/lib/helpers/ComposeNodeFinder.kt +3 -3
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/handlers/exceptions/XPathLookupException.kt +10 -2
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/helpers/Version.kt +1 -1
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/helpers/ViewFinder.kt +3 -0
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/model/SourceDocument.kt +4 -21
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/model/XPathQuery.kt +64 -0
- package/espresso-server/library/src/main/java/io/appium/espressoserver/lib/viewmatcher/WithXPath.kt +3 -3
- package/espresso-server/library/src/test/java/io/appium/espressoserver/test/helpers/XPathQueryTests.kt +101 -0
- package/espresso-server/settings.gradle.kts +4 -0
- package/node_modules/@appium/base-driver/build/lib/basedriver/helpers/caps.js +1 -1
- package/node_modules/@appium/base-driver/lib/basedriver/helpers/caps.ts +1 -1
- package/node_modules/@appium/base-driver/package.json +4 -4
- package/node_modules/@appium/logger/CHANGELOG.md +37 -0
- package/node_modules/@appium/logger/package.json +2 -2
- package/node_modules/@appium/schema/package.json +2 -2
- package/node_modules/@appium/support/build/lib/zip.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/zip.js +11 -11
- package/node_modules/@appium/support/build/lib/zip.js.map +1 -1
- package/node_modules/@appium/support/lib/zip.ts +11 -12
- package/node_modules/@appium/support/node_modules/teen_process/CHANGELOG.md +1122 -0
- package/node_modules/@appium/support/node_modules/teen_process/LICENSE +201 -0
- package/node_modules/@appium/support/node_modules/teen_process/README.md +270 -0
- package/node_modules/@appium/support/node_modules/teen_process/lib/circular-buffer.ts +60 -0
- package/node_modules/@appium/support/node_modules/teen_process/lib/exec.ts +176 -0
- package/node_modules/@appium/support/node_modules/teen_process/lib/helpers.ts +45 -0
- package/node_modules/@appium/support/node_modules/teen_process/lib/index.ts +4 -0
- package/node_modules/@appium/support/node_modules/teen_process/lib/subprocess.ts +358 -0
- package/node_modules/@appium/support/node_modules/teen_process/lib/types.ts +83 -0
- package/node_modules/@appium/support/node_modules/teen_process/package.json +81 -0
- package/node_modules/@appium/support/package.json +5 -5
- package/node_modules/@appium/types/package.json +5 -5
- package/node_modules/appium-adb/CHANGELOG.md +14 -0
- package/node_modules/appium-adb/node_modules/asyncbox/LICENSE +203 -0
- package/node_modules/appium-adb/node_modules/asyncbox/README.md +272 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts +9 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncfilter.js +36 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncfilter.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts +9 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncmap.js +27 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/asyncmap.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/limit-function.d.ts +7 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/limit-function.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/limit-function.js +35 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/collections/limit-function.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/index.d.ts +12 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/index.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/index.js +10 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/index.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/lock/lock.d.ts +74 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/lock/lock.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/lock/lock.js +302 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/lock/lock.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/errors.d.ts +27 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/errors.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/errors.js +46 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/errors.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/types.d.ts +84 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/types.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/types.js +2 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/shared/types.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/long-sleep.d.ts +15 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/long-sleep.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/long-sleep.js +33 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/long-sleep.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/retry.d.ts +17 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/retry.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/retry.js +53 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/retry.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/sleep.d.ts +20 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/sleep.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/sleep.js +58 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/sleep.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts +18 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/wait-for-condition.js +48 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/wait-for-condition.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/with-timeout.d.ts +16 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/with-timeout.d.ts.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/with-timeout.js +42 -0
- package/node_modules/appium-adb/node_modules/asyncbox/build/lib/time/with-timeout.js.map +1 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/collections/asyncfilter.ts +42 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/collections/asyncmap.ts +33 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/collections/limit-function.ts +34 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/index.ts +28 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/lock/lock.ts +369 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/shared/errors.ts +51 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/shared/types.ts +88 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/time/long-sleep.ts +38 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/time/retry.ts +61 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/time/sleep.ts +79 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/time/wait-for-condition.ts +52 -0
- package/node_modules/appium-adb/node_modules/asyncbox/lib/time/with-timeout.ts +43 -0
- package/node_modules/appium-adb/node_modules/asyncbox/package.json +60 -0
- package/node_modules/appium-adb/package.json +4 -4
- package/node_modules/appium-android-driver/CHANGELOG.md +36 -0
- package/node_modules/appium-android-driver/README.md +4 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/batcher.d.ts +16 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/batcher.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/batcher.js +42 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/batcher.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/capabilities.d.ts +11 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/capabilities.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/capabilities.js +96 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/capabilities.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/constants.d.ts +14 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/constants.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/constants.js +16 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/constants.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.d.ts +42 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.js +127 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/exports.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/jpeg.d.ts +6 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/jpeg.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/jpeg.js +17 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/jpeg.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/sps.d.ts +12 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/sps.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/sps.js +196 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/sps.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/stream.d.ts +65 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/stream.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/stream.js +339 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/stream.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/types.d.ts +67 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/types.d.ts.map +1 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/types.js +2 -0
- package/node_modules/appium-android-driver/build/lib/commands/media-stream/types.js.map +1 -0
- package/node_modules/appium-android-driver/build/lib/driver.d.ts +20 -0
- package/node_modules/appium-android-driver/build/lib/driver.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/driver.js +9 -0
- package/node_modules/appium-android-driver/build/lib/driver.js.map +1 -1
- package/node_modules/appium-android-driver/build/lib/execute-method-map.d.ts +16 -0
- package/node_modules/appium-android-driver/build/lib/execute-method-map.d.ts.map +1 -1
- package/node_modules/appium-android-driver/build/lib/execute-method-map.js +16 -0
- package/node_modules/appium-android-driver/build/lib/execute-method-map.js.map +1 -1
- package/node_modules/appium-android-driver/lib/commands/media-stream/batcher.ts +44 -0
- package/node_modules/appium-android-driver/lib/commands/media-stream/capabilities.ts +101 -0
- package/node_modules/appium-android-driver/lib/commands/media-stream/constants.ts +15 -0
- package/node_modules/appium-android-driver/lib/commands/media-stream/exports.ts +182 -0
- package/node_modules/appium-android-driver/lib/commands/media-stream/jpeg.ts +16 -0
- package/node_modules/appium-android-driver/lib/commands/media-stream/sps.ts +208 -0
- package/node_modules/appium-android-driver/lib/commands/media-stream/stream.ts +385 -0
- package/node_modules/appium-android-driver/lib/commands/media-stream/types.ts +65 -0
- package/node_modules/appium-android-driver/lib/driver.ts +16 -0
- package/node_modules/appium-android-driver/lib/execute-method-map.ts +17 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/LICENSE +203 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/README.md +272 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts +9 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncfilter.js +36 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncfilter.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts +9 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncmap.js +27 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/asyncmap.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/limit-function.d.ts +7 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/limit-function.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/limit-function.js +35 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/collections/limit-function.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/index.d.ts +12 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/index.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/index.js +10 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/index.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/lock/lock.d.ts +74 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/lock/lock.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/lock/lock.js +302 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/lock/lock.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/errors.d.ts +27 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/errors.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/errors.js +46 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/errors.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/types.d.ts +84 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/types.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/types.js +2 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/shared/types.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/long-sleep.d.ts +15 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/long-sleep.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/long-sleep.js +33 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/long-sleep.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/retry.d.ts +17 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/retry.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/retry.js +53 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/retry.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/sleep.d.ts +20 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/sleep.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/sleep.js +58 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/sleep.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts +18 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/wait-for-condition.js +48 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/wait-for-condition.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/with-timeout.d.ts +16 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/with-timeout.d.ts.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/with-timeout.js +42 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/build/lib/time/with-timeout.js.map +1 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/collections/asyncfilter.ts +42 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/collections/asyncmap.ts +33 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/collections/limit-function.ts +34 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/index.ts +28 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/lock/lock.ts +369 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/shared/errors.ts +51 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/shared/types.ts +88 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/long-sleep.ts +38 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/retry.ts +61 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/sleep.ts +79 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/wait-for-condition.ts +52 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/lib/time/with-timeout.ts +43 -0
- package/node_modules/appium-android-driver/node_modules/asyncbox/package.json +60 -0
- package/node_modules/appium-android-driver/package.json +7 -7
- package/node_modules/appium-chromedriver/CHANGELOG.md +14 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/LICENSE +203 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/README.md +272 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts +9 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncfilter.js +36 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncfilter.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts +9 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncmap.js +27 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/asyncmap.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/limit-function.d.ts +7 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/limit-function.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/limit-function.js +35 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/collections/limit-function.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/index.d.ts +12 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/index.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/index.js +10 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/index.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/lock/lock.d.ts +74 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/lock/lock.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/lock/lock.js +302 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/lock/lock.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/errors.d.ts +27 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/errors.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/errors.js +46 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/errors.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/types.d.ts +84 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/types.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/types.js +2 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/shared/types.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.d.ts +15 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.js +33 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/long-sleep.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/retry.d.ts +17 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/retry.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/retry.js +53 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/retry.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/sleep.d.ts +20 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/sleep.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/sleep.js +58 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/sleep.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts +18 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/wait-for-condition.js +48 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/wait-for-condition.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/with-timeout.d.ts +16 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/with-timeout.d.ts.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/with-timeout.js +42 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/build/lib/time/with-timeout.js.map +1 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/collections/asyncfilter.ts +42 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/collections/asyncmap.ts +33 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/collections/limit-function.ts +34 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/index.ts +28 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/lock/lock.ts +369 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/shared/errors.ts +51 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/shared/types.ts +88 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/time/long-sleep.ts +38 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/time/retry.ts +61 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/time/sleep.ts +79 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/time/wait-for-condition.ts +52 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/lib/time/with-timeout.ts +43 -0
- package/node_modules/appium-chromedriver/node_modules/asyncbox/package.json +60 -0
- package/node_modules/appium-chromedriver/package.json +4 -4
- package/node_modules/io.appium.settings/CHANGELOG.md +21 -0
- package/node_modules/io.appium.settings/apks/settings_apk-debug.apk +0 -0
- package/node_modules/io.appium.settings/build/lib/commands/video-stream.d.ts +9 -0
- package/node_modules/io.appium.settings/build/lib/commands/video-stream.d.ts.map +1 -1
- package/node_modules/io.appium.settings/build/lib/commands/video-stream.js +16 -1
- package/node_modules/io.appium.settings/build/lib/commands/video-stream.js.map +1 -1
- package/node_modules/io.appium.settings/build/lib/constants.d.ts +2 -0
- package/node_modules/io.appium.settings/build/lib/constants.d.ts.map +1 -1
- package/node_modules/io.appium.settings/build/lib/constants.js +2 -0
- package/node_modules/io.appium.settings/build/lib/constants.js.map +1 -1
- package/node_modules/io.appium.settings/build/lib/index.d.ts +3 -0
- package/node_modules/io.appium.settings/build/lib/index.d.ts.map +1 -1
- package/node_modules/io.appium.settings/build/lib/utils/streaming-protocol.d.ts +3 -1
- package/node_modules/io.appium.settings/build/lib/utils/streaming-protocol.d.ts.map +1 -1
- package/node_modules/io.appium.settings/build/lib/utils/streaming-protocol.js +2 -0
- package/node_modules/io.appium.settings/build/lib/utils/streaming-protocol.js.map +1 -1
- package/node_modules/io.appium.settings/build/lib/utils/streaming-transport.d.ts +11 -0
- package/node_modules/io.appium.settings/build/lib/utils/streaming-transport.d.ts.map +1 -1
- package/node_modules/io.appium.settings/build/lib/utils/streaming-transport.js +40 -0
- package/node_modules/io.appium.settings/build/lib/utils/streaming-transport.js.map +1 -1
- package/node_modules/io.appium.settings/lib/commands/video-stream.ts +17 -0
- package/node_modules/io.appium.settings/lib/constants.ts +2 -0
- package/node_modules/io.appium.settings/lib/index.ts +3 -0
- package/node_modules/io.appium.settings/lib/utils/streaming-protocol.ts +2 -0
- package/node_modules/io.appium.settings/lib/utils/streaming-transport.ts +43 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/LICENSE +203 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/README.md +272 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts +9 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncfilter.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncfilter.js +36 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncfilter.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts +9 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncmap.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncmap.js +27 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/asyncmap.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/limit-function.d.ts +7 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/limit-function.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/limit-function.js +35 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/collections/limit-function.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/index.d.ts +12 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/index.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/index.js +10 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/index.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/lock/lock.d.ts +74 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/lock/lock.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/lock/lock.js +302 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/lock/lock.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/errors.d.ts +27 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/errors.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/errors.js +46 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/errors.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/types.d.ts +84 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/types.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/types.js +2 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/shared/types.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/long-sleep.d.ts +15 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/long-sleep.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/long-sleep.js +33 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/long-sleep.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/retry.d.ts +17 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/retry.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/retry.js +53 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/retry.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/sleep.d.ts +20 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/sleep.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/sleep.js +58 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/sleep.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts +18 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/wait-for-condition.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/wait-for-condition.js +48 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/wait-for-condition.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/with-timeout.d.ts +16 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/with-timeout.d.ts.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/with-timeout.js +42 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/build/lib/time/with-timeout.js.map +1 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/collections/asyncfilter.ts +42 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/collections/asyncmap.ts +33 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/collections/limit-function.ts +34 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/index.ts +28 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/lock/lock.ts +369 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/shared/errors.ts +51 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/shared/types.ts +88 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/long-sleep.ts +38 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/retry.ts +61 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/sleep.ts +79 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/wait-for-condition.ts +52 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/lib/time/with-timeout.ts +43 -0
- package/node_modules/io.appium.settings/node_modules/asyncbox/package.json +60 -0
- package/node_modules/io.appium.settings/package.json +5 -5
- package/node_modules/teen_process/CHANGELOG.md +17 -0
- package/node_modules/teen_process/README.md +2 -2
- package/node_modules/teen_process/build/lib/circular-buffer.d.ts +13 -0
- package/node_modules/teen_process/build/lib/circular-buffer.d.ts.map +1 -0
- package/node_modules/teen_process/build/lib/circular-buffer.js +53 -0
- package/node_modules/teen_process/build/lib/circular-buffer.js.map +1 -0
- package/node_modules/teen_process/build/lib/exec.d.ts +33 -0
- package/node_modules/teen_process/build/lib/exec.d.ts.map +1 -0
- package/node_modules/teen_process/build/lib/exec.js +164 -0
- package/node_modules/teen_process/build/lib/exec.js.map +1 -0
- package/node_modules/teen_process/build/lib/helpers.d.ts +2 -0
- package/node_modules/teen_process/build/lib/helpers.d.ts.map +1 -0
- package/node_modules/teen_process/build/lib/helpers.js +41 -0
- package/node_modules/teen_process/build/lib/helpers.js.map +1 -0
- package/node_modules/teen_process/build/lib/index.d.ts +5 -0
- package/node_modules/teen_process/build/lib/index.d.ts.map +1 -0
- package/node_modules/teen_process/build/lib/index.js +4 -0
- package/node_modules/teen_process/build/lib/index.js.map +1 -0
- package/node_modules/teen_process/build/lib/subprocess.d.ts +131 -0
- package/node_modules/teen_process/build/lib/subprocess.d.ts.map +1 -0
- package/node_modules/teen_process/build/lib/subprocess.js +336 -0
- package/node_modules/teen_process/build/lib/subprocess.js.map +1 -0
- package/node_modules/teen_process/build/lib/types.d.ts +71 -0
- package/node_modules/teen_process/build/lib/types.d.ts.map +1 -0
- package/node_modules/teen_process/build/lib/types.js +2 -0
- package/node_modules/teen_process/build/lib/types.js.map +1 -0
- package/node_modules/teen_process/lib/exec.ts +15 -2
- package/node_modules/teen_process/lib/subprocess.ts +146 -110
- package/node_modules/teen_process/package.json +14 -25
- package/package.json +5 -5
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/circular-buffer.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/circular-buffer.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/circular-buffer.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/circular-buffer.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/exec.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/exec.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/exec.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/exec.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/helpers.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/helpers.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/helpers.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/helpers.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/index.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/index.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/index.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/index.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/subprocess.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/subprocess.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/subprocess.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/subprocess.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/types.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/types.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/types.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/lib/types.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/cjs/package.json +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/circular-buffer.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/circular-buffer.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/circular-buffer.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/circular-buffer.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/exec.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/exec.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/exec.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/exec.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/helpers.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/helpers.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/helpers.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/helpers.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/index.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/index.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/index.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/index.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/subprocess.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/subprocess.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/subprocess.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/subprocess.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/types.d.ts +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/types.d.ts.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/types.js +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/lib/types.js.map +0 -0
- /package/node_modules/{teen_process → @appium/support/node_modules/teen_process}/build/esm/package.json +0 -0
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
import { randomUUID } from 'node:crypto';
|
|
2
|
+
import { UnitBatcher } from './batcher.js';
|
|
3
|
+
import { AUDIO_CHANNELS, AUDIO_SAMPLE_RATE, BACKPRESSURE_EVENT_NAME, FIRST_UNIT_TIMEOUT_MS, KEYFRAME_REQUEST_MIN_INTERVAL_MS, MEDIA_ENDED_EVENT, MEDIA_FORMAT_CHANGED_EVENT, MEDIA_STARTED_EVENT, MEDIA_STREAM_MODULE, MEDIA_UNITS_EVENT, } from './constants.js';
|
|
4
|
+
import { readJpegSize } from './jpeg.js';
|
|
5
|
+
import { parseVideoSize } from './sps.js';
|
|
6
|
+
/**
|
|
7
|
+
* Owns one settings-app stream session and republishes its units as
|
|
8
|
+
* `appium:mediaStream.*` BiDi events (config inlined, droppable hints).
|
|
9
|
+
*/
|
|
10
|
+
export class MediaStream {
|
|
11
|
+
session;
|
|
12
|
+
opts;
|
|
13
|
+
deps;
|
|
14
|
+
streamId = randomUUID();
|
|
15
|
+
kind;
|
|
16
|
+
batcher;
|
|
17
|
+
config;
|
|
18
|
+
configCount = 0;
|
|
19
|
+
videoSynced = false;
|
|
20
|
+
wasSubscribed = false;
|
|
21
|
+
lastKeyFrameRequestAt = 0;
|
|
22
|
+
jpegSeq = 0;
|
|
23
|
+
lastJpeg;
|
|
24
|
+
lastJpegEmitAt = 0;
|
|
25
|
+
size;
|
|
26
|
+
dropped = 0;
|
|
27
|
+
heartbeat;
|
|
28
|
+
pump;
|
|
29
|
+
// Whether the device-side session is ours to stop (false if another client's stream was found running)
|
|
30
|
+
owned = false;
|
|
31
|
+
announced = false;
|
|
32
|
+
endReason = 'ended';
|
|
33
|
+
firstUnitSeen;
|
|
34
|
+
firstUnit = new Promise((resolve) => (this.firstUnitSeen = resolve));
|
|
35
|
+
stopped = false;
|
|
36
|
+
get videoChain() {
|
|
37
|
+
return `${this.streamId}:video`;
|
|
38
|
+
}
|
|
39
|
+
constructor(session, opts, deps) {
|
|
40
|
+
this.session = session;
|
|
41
|
+
this.opts = opts;
|
|
42
|
+
this.deps = deps;
|
|
43
|
+
this.kind = opts.kind;
|
|
44
|
+
this.batcher = new UnitBatcher(opts.kind === 'jpeg' ? 0 : opts.batchMs, (units) => this.emitUnits(units));
|
|
45
|
+
}
|
|
46
|
+
async start() {
|
|
47
|
+
const { opts } = this;
|
|
48
|
+
if (this.stopped) {
|
|
49
|
+
throw new Error('The stream was stopped before it started');
|
|
50
|
+
}
|
|
51
|
+
// A start() that throws may still have brought the on-device service up, so it is ours
|
|
52
|
+
this.owned = true;
|
|
53
|
+
let started;
|
|
54
|
+
try {
|
|
55
|
+
started =
|
|
56
|
+
opts.kind === 'video'
|
|
57
|
+
? await this.session.start({
|
|
58
|
+
codec: opts.codec,
|
|
59
|
+
fps: opts.fps,
|
|
60
|
+
bitrate: opts.bitrate,
|
|
61
|
+
resolution: opts.resolution,
|
|
62
|
+
audio: opts.audio,
|
|
63
|
+
})
|
|
64
|
+
: await this.session.start({ fps: opts.fps, quality: opts.quality, scale: opts.scale });
|
|
65
|
+
}
|
|
66
|
+
catch (e) {
|
|
67
|
+
// Option validation runs before the device is touched, so there is nothing of ours to stop
|
|
68
|
+
if (e instanceof TypeError || e instanceof RangeError) {
|
|
69
|
+
this.owned = false;
|
|
70
|
+
}
|
|
71
|
+
if (this.owned && this.stopped) {
|
|
72
|
+
// finish() already ran and skipped the device session, which may be half up
|
|
73
|
+
await this.session.stop().catch(() => { });
|
|
74
|
+
}
|
|
75
|
+
throw e;
|
|
76
|
+
}
|
|
77
|
+
if (this.stopped) {
|
|
78
|
+
// Stopped while the device session was starting: finish() may have run before it was up
|
|
79
|
+
await this.session.stop().catch(() => { });
|
|
80
|
+
throw new Error('The stream was stopped while it was starting');
|
|
81
|
+
}
|
|
82
|
+
if (!started) {
|
|
83
|
+
// The device already runs a stream of this kind that is not ours: leave it alone
|
|
84
|
+
this.owned = false;
|
|
85
|
+
throw new Error(`Another ${opts.kind} stream is already running on the device`);
|
|
86
|
+
}
|
|
87
|
+
this.deps.emitter.on(BACKPRESSURE_EVENT_NAME, this.onBackpressure);
|
|
88
|
+
if (opts.kind === 'jpeg' && opts.idleHeartbeatMs > 0) {
|
|
89
|
+
this.heartbeat = setInterval(() => this.replayLastJpeg(), opts.idleHeartbeatMs);
|
|
90
|
+
}
|
|
91
|
+
this.pump = this.runPump();
|
|
92
|
+
if (opts.kind === 'jpeg') {
|
|
93
|
+
// A static screen yields no frames, so there is nothing to wait for
|
|
94
|
+
this.announce();
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
await this.waitForFirstUnit(this.pump);
|
|
98
|
+
}
|
|
99
|
+
return this.info();
|
|
100
|
+
}
|
|
101
|
+
// Fails fast if the device encoder rejected the configuration (the on-device session
|
|
102
|
+
// then ends without any output) or never produced anything
|
|
103
|
+
async waitForFirstUnit(pump) {
|
|
104
|
+
let timer;
|
|
105
|
+
const hint = 'The device encoder may not support the requested configuration, check the logcat of io.appium.settings.';
|
|
106
|
+
try {
|
|
107
|
+
await Promise.race([
|
|
108
|
+
this.firstUnit,
|
|
109
|
+
new Promise((_resolve, reject) => {
|
|
110
|
+
timer = setTimeout(() => reject(new Error(`The ${this.kind} stream produced no output within ${FIRST_UNIT_TIMEOUT_MS}ms. ${hint}`)), FIRST_UNIT_TIMEOUT_MS);
|
|
111
|
+
}),
|
|
112
|
+
pump.then(() => {
|
|
113
|
+
throw new Error(`The ${this.kind} stream ended before producing any output (${this.endReason}). ${hint}`);
|
|
114
|
+
}),
|
|
115
|
+
]);
|
|
116
|
+
}
|
|
117
|
+
finally {
|
|
118
|
+
clearTimeout(timer);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
announce() {
|
|
122
|
+
if (this.announced || this.stopped) {
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
this.announced = true;
|
|
126
|
+
this.deps.emit({ method: MEDIA_STARTED_EVENT, params: { ...this.info() } });
|
|
127
|
+
}
|
|
128
|
+
get isStopped() {
|
|
129
|
+
return this.stopped;
|
|
130
|
+
}
|
|
131
|
+
/** Idempotent; resolves once the stream is torn down and its pump has finished. */
|
|
132
|
+
async stop(reason = 'stopped') {
|
|
133
|
+
await this.finish(reason);
|
|
134
|
+
await this.pump?.catch(() => { });
|
|
135
|
+
}
|
|
136
|
+
// Must not await the pump: it is also called from inside the pump itself
|
|
137
|
+
async finish(reason) {
|
|
138
|
+
if (this.stopped) {
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
this.stopped = true;
|
|
142
|
+
clearInterval(this.heartbeat);
|
|
143
|
+
this.batcher.close();
|
|
144
|
+
this.deps.emitter.off(BACKPRESSURE_EVENT_NAME, this.onBackpressure);
|
|
145
|
+
if (this.owned) {
|
|
146
|
+
try {
|
|
147
|
+
await this.session.stop();
|
|
148
|
+
}
|
|
149
|
+
catch (e) {
|
|
150
|
+
this.deps.log.warn(`Cannot stop the ${this.kind} stream session: ${e.message}`);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
if (this.announced) {
|
|
154
|
+
this.deps.emit({ method: MEDIA_ENDED_EVENT, params: { streamId: this.streamId, reason } });
|
|
155
|
+
}
|
|
156
|
+
this.deps.onEnded(this.streamId);
|
|
157
|
+
}
|
|
158
|
+
info() {
|
|
159
|
+
const { opts } = this;
|
|
160
|
+
const isVideo = opts.kind === 'video';
|
|
161
|
+
return {
|
|
162
|
+
streamId: this.streamId,
|
|
163
|
+
kind: opts.kind,
|
|
164
|
+
tracks: isVideo ? (opts.audio ? ['video', 'audio'] : ['video']) : ['jpeg'],
|
|
165
|
+
codec: isVideo ? (opts.codec ?? 'h264') : 'jpeg',
|
|
166
|
+
event: MEDIA_STREAM_MODULE,
|
|
167
|
+
...this.size,
|
|
168
|
+
...(isVideo && opts.audio ? { audio: { sampleRate: AUDIO_SAMPLE_RATE, channels: AUDIO_CHANNELS } } : {}),
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
async runPump() {
|
|
172
|
+
let reason = 'ended';
|
|
173
|
+
try {
|
|
174
|
+
if (this.kind === 'video') {
|
|
175
|
+
for await (const au of this.session.accessUnits()) {
|
|
176
|
+
this.onAccessUnit(au);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
else {
|
|
180
|
+
for await (const frame of this.session.frames()) {
|
|
181
|
+
this.onJpegFrame(frame);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
catch (e) {
|
|
186
|
+
reason = `error: ${e.message}`;
|
|
187
|
+
}
|
|
188
|
+
this.endReason = reason;
|
|
189
|
+
await this.finish(reason);
|
|
190
|
+
}
|
|
191
|
+
onAccessUnit(au) {
|
|
192
|
+
if (this.stopped) {
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
if (au.track === 'video' && au.isConfig) {
|
|
196
|
+
// Config is never forwarded; it is prepended to every keyframe instead
|
|
197
|
+
this.config = au.data;
|
|
198
|
+
// A restarted encoder needs a keyframe of its own before deltas are forwarded
|
|
199
|
+
this.videoSynced = false;
|
|
200
|
+
this.onVideoConfig(au.data);
|
|
201
|
+
}
|
|
202
|
+
if (au.track === 'audio' && !this.announced) {
|
|
203
|
+
// Audio may precede the video config; `started` must carry the video size
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
206
|
+
// The config unit counts too: it is the first thing the encoder reports
|
|
207
|
+
this.announce();
|
|
208
|
+
this.firstUnitSeen();
|
|
209
|
+
if (au.track === 'video' && au.isConfig) {
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
const subscribed = this.deps.hasSubscribers();
|
|
213
|
+
if (subscribed && !this.wasSubscribed) {
|
|
214
|
+
// Late joiner: keyframes are rare on a slowly changing screen, so ask for one
|
|
215
|
+
this.requestKeyFrame();
|
|
216
|
+
}
|
|
217
|
+
this.wasSubscribed = subscribed;
|
|
218
|
+
if (!subscribed) {
|
|
219
|
+
this.videoSynced = false;
|
|
220
|
+
return;
|
|
221
|
+
}
|
|
222
|
+
const unit = {
|
|
223
|
+
track: au.track,
|
|
224
|
+
seq: au.sequence,
|
|
225
|
+
ts: au.timestampMicros,
|
|
226
|
+
key: au.track === 'audio' ? true : au.isKeyFrame,
|
|
227
|
+
data: au.data,
|
|
228
|
+
};
|
|
229
|
+
if (au.track === 'video') {
|
|
230
|
+
if (au.isKeyFrame) {
|
|
231
|
+
this.videoSynced = true;
|
|
232
|
+
unit.data = this.config ? Buffer.concat([this.config, au.data]) : au.data;
|
|
233
|
+
}
|
|
234
|
+
else if (!this.videoSynced) {
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
this.batcher.push(unit);
|
|
239
|
+
}
|
|
240
|
+
// The first config sets the size announced in `started`; later ones are a restart of the
|
|
241
|
+
// encoder (rotation), announced with the new size if it can be read from the SPS
|
|
242
|
+
onVideoConfig(config) {
|
|
243
|
+
const size = parseVideoSize(config, this.opts.codec ?? 'h264');
|
|
244
|
+
const isFirst = this.configCount++ === 0;
|
|
245
|
+
const changed = !size || size.width !== this.size?.width || size.height !== this.size?.height;
|
|
246
|
+
if (size) {
|
|
247
|
+
this.size = size;
|
|
248
|
+
}
|
|
249
|
+
if (!isFirst) {
|
|
250
|
+
// Units of the previous format must reach clients before the new format is announced
|
|
251
|
+
this.batcher.flush();
|
|
252
|
+
}
|
|
253
|
+
if (!isFirst && changed) {
|
|
254
|
+
this.deps.emit({ method: MEDIA_FORMAT_CHANGED_EVENT, params: { streamId: this.streamId, ...size } });
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
onJpegFrame(frame) {
|
|
258
|
+
if (this.stopped) {
|
|
259
|
+
return;
|
|
260
|
+
}
|
|
261
|
+
const unit = {
|
|
262
|
+
track: 'jpeg',
|
|
263
|
+
seq: this.jpegSeq++,
|
|
264
|
+
ts: frame.timestampMicros,
|
|
265
|
+
key: true,
|
|
266
|
+
data: frame.data,
|
|
267
|
+
};
|
|
268
|
+
this.lastJpeg = unit;
|
|
269
|
+
this.checkSize(frame.data);
|
|
270
|
+
if (this.deps.hasSubscribers()) {
|
|
271
|
+
this.lastJpegEmitAt = Date.now();
|
|
272
|
+
this.batcher.push(unit);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
replayLastJpeg() {
|
|
276
|
+
if (this.stopped ||
|
|
277
|
+
!this.lastJpeg ||
|
|
278
|
+
Date.now() - this.lastJpegEmitAt < this.opts.idleHeartbeatMs ||
|
|
279
|
+
!this.deps.hasSubscribers()) {
|
|
280
|
+
return;
|
|
281
|
+
}
|
|
282
|
+
this.lastJpegEmitAt = Date.now();
|
|
283
|
+
this.batcher.push({ ...this.lastJpeg, seq: this.jpegSeq++ });
|
|
284
|
+
}
|
|
285
|
+
checkSize(jpeg) {
|
|
286
|
+
const size = readJpegSize(jpeg);
|
|
287
|
+
if (!size || (size.width === this.size?.width && size.height === this.size?.height)) {
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
290
|
+
this.size = size;
|
|
291
|
+
this.deps.emit({ method: MEDIA_FORMAT_CHANGED_EVENT, params: { streamId: this.streamId, ...size } });
|
|
292
|
+
}
|
|
293
|
+
emitUnits(units) {
|
|
294
|
+
const [first] = units;
|
|
295
|
+
const delivery = first.track === 'audio'
|
|
296
|
+
? { policy: 'reliable' }
|
|
297
|
+
: first.track === 'jpeg'
|
|
298
|
+
? { policy: 'droppable' }
|
|
299
|
+
: { policy: 'droppable', chain: this.videoChain, syncPoint: first.key };
|
|
300
|
+
const dropped = this.dropped;
|
|
301
|
+
this.dropped = 0;
|
|
302
|
+
this.deps.emit({
|
|
303
|
+
method: MEDIA_UNITS_EVENT,
|
|
304
|
+
params: { streamId: this.streamId, units: units.map(toWireUnit), dropped },
|
|
305
|
+
delivery,
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
requestKeyFrame() {
|
|
309
|
+
const now = Date.now();
|
|
310
|
+
if (this.kind !== 'video' || now - this.lastKeyFrameRequestAt < KEYFRAME_REQUEST_MIN_INTERVAL_MS) {
|
|
311
|
+
return;
|
|
312
|
+
}
|
|
313
|
+
this.lastKeyFrameRequestAt = now;
|
|
314
|
+
void this.sendKeyFrameRequest();
|
|
315
|
+
}
|
|
316
|
+
async sendKeyFrameRequest() {
|
|
317
|
+
try {
|
|
318
|
+
const sent = await this.session.requestKeyFrame();
|
|
319
|
+
this.deps.log.debug(`Keyframe request for stream ${this.streamId}: ${sent ? 'sent' : 'unsupported'}`);
|
|
320
|
+
}
|
|
321
|
+
catch (e) {
|
|
322
|
+
this.deps.log.debug(`Keyframe request for stream ${this.streamId} failed: ${e.message}`);
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
onBackpressure = (ev) => {
|
|
326
|
+
// The shared emitter reports all streams: video drops carry its chain, JPEG ones have none
|
|
327
|
+
if (ev.method !== MEDIA_UNITS_EVENT || ev.chain !== (this.kind === 'video' ? this.videoChain : undefined)) {
|
|
328
|
+
return;
|
|
329
|
+
}
|
|
330
|
+
// Core skips the video chain until a sync point; get one without waiting for the GOP
|
|
331
|
+
this.requestKeyFrame();
|
|
332
|
+
this.dropped = Math.max(this.dropped, ev.dropped);
|
|
333
|
+
this.deps.log.debug(`BiDi backpressure for stream ${this.streamId}: ${ev.state} (dropped=${ev.dropped})`);
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
function toWireUnit(u) {
|
|
337
|
+
return { track: u.track, seq: u.seq, ts: u.ts, key: u.key, data: u.data.toString('base64') };
|
|
338
|
+
}
|
|
339
|
+
//# sourceMappingURL=stream.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stream.js","sourceRoot":"","sources":["../../../../lib/commands/media-stream/stream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,aAAa,CAAC;AAMvC,OAAO,EAAC,WAAW,EAAC,MAAM,cAAc,CAAC;AACzC,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,uBAAuB,EACvB,qBAAqB,EACrB,gCAAgC,EAChC,iBAAiB,EACjB,0BAA0B,EAC1B,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAC,YAAY,EAAC,MAAM,WAAW,CAAC;AACvC,OAAO,EAAC,cAAc,EAAC,MAAM,UAAU,CAAC;AAWxC;;;GAGG;AACH,MAAM,OAAO,WAAW;IA6BH;IACA;IACA;IA9BV,QAAQ,GAAG,UAAU,EAAE,CAAC;IACxB,IAAI,CAA+B;IAE3B,OAAO,CAAc;IAC9B,MAAM,CAAU;IAChB,WAAW,GAAG,CAAC,CAAC;I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0 +1,67 @@
|
|
|
1
|
+
import type { BiDiEvent } from '@appium/types';
|
|
2
|
+
export type MediaKind = 'video' | 'jpeg';
|
|
3
|
+
export type MediaTrack = 'video' | 'audio' | 'jpeg';
|
|
4
|
+
/** A contract unit; video config is already inlined into keyframes. */
|
|
5
|
+
export interface MediaUnit {
|
|
6
|
+
track: MediaTrack;
|
|
7
|
+
seq: number;
|
|
8
|
+
ts: number;
|
|
9
|
+
key: boolean;
|
|
10
|
+
data: Buffer;
|
|
11
|
+
}
|
|
12
|
+
/** The JSON shape of a unit inside `appium:mediaStream.units` */
|
|
13
|
+
export interface WireUnit extends Omit<MediaUnit, 'data'> {
|
|
14
|
+
data: string;
|
|
15
|
+
}
|
|
16
|
+
export interface StartMediaStreamOpts {
|
|
17
|
+
kind: MediaKind;
|
|
18
|
+
codec?: 'h264' | 'hevc';
|
|
19
|
+
fps?: number;
|
|
20
|
+
bitrate?: number;
|
|
21
|
+
quality?: number;
|
|
22
|
+
scale?: number;
|
|
23
|
+
resolution?: string;
|
|
24
|
+
audio?: boolean;
|
|
25
|
+
/** Batching window for video/audio units; JPEG is never batched */
|
|
26
|
+
batchMs?: number;
|
|
27
|
+
/** Re-emit the last JPEG after this much idle time (0 disables) */
|
|
28
|
+
idleHeartbeatMs?: number;
|
|
29
|
+
}
|
|
30
|
+
export interface MediaStreamInfo {
|
|
31
|
+
streamId: string;
|
|
32
|
+
kind: MediaKind;
|
|
33
|
+
tracks: MediaTrack[];
|
|
34
|
+
codec: 'h264' | 'hevc' | 'jpeg';
|
|
35
|
+
event: string;
|
|
36
|
+
width?: number;
|
|
37
|
+
height?: number;
|
|
38
|
+
audio?: {
|
|
39
|
+
sampleRate: number;
|
|
40
|
+
channels: number;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export type MediaBiDiEvent = BiDiEvent;
|
|
44
|
+
export interface VideoEncoderInfo {
|
|
45
|
+
name: string;
|
|
46
|
+
codec: 'h264' | 'hevc';
|
|
47
|
+
softwareOnly: boolean;
|
|
48
|
+
/** Largest frame size the encoder accepts; the stream is scaled down to fit it */
|
|
49
|
+
maxWidth?: number;
|
|
50
|
+
maxHeight?: number;
|
|
51
|
+
}
|
|
52
|
+
export interface MediaStreamCapabilities {
|
|
53
|
+
supported: boolean;
|
|
54
|
+
reason?: {
|
|
55
|
+
code: 'api_level_too_low' | 'settings_app_missing';
|
|
56
|
+
message: string;
|
|
57
|
+
};
|
|
58
|
+
apiLevel: number;
|
|
59
|
+
kinds: MediaKind[];
|
|
60
|
+
audio?: boolean;
|
|
61
|
+
/** Video encoders per codec; null if the device does not list its codecs */
|
|
62
|
+
codecs?: {
|
|
63
|
+
h264: VideoEncoderInfo[];
|
|
64
|
+
hevc: VideoEncoderInfo[];
|
|
65
|
+
} | null;
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../lib/commands/media-stream/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AAE7C,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AACzC,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;AAEpD,uEAAuE;AACvE,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,UAAU,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,OAAO,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,iEAAiE;AACjE,MAAM,WAAW,QAAS,SAAQ,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC;IACvD,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;I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CAAC;IAChB,4EAA4E;IAC5E,MAAM,CAAC,EAAE;QAAC,IAAI,EAAE,gBAAgB,EAAE,CAAC;QAAC,IAAI,EAAE,gBAAgB,EAAE,CAAA;KAAC,GAAG,IAAI,CAAC;CACtE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../lib/commands/media-stream/types.ts"],"names":[],"mappings":""}
|
|
@@ -4,6 +4,7 @@ import type { Chromedriver as AppiumChromedriver } from 'appium-chromedriver';
|
|
|
4
4
|
import { BaseDriver } from 'appium/driver.js';
|
|
5
5
|
import { SettingsApp } from 'io.appium.settings';
|
|
6
6
|
import { LRUCache } from 'lru-cache';
|
|
7
|
+
import type { MediaStream } from './commands/media-stream/stream.js';
|
|
7
8
|
import type { ScreenRecordingProperties, ScreenStreamingProps } from './commands/types.js';
|
|
8
9
|
import type { AndroidDriverConstraints } from './constraints.js';
|
|
9
10
|
import './commands/app-management.js';
|
|
@@ -37,6 +38,7 @@ import './commands/permissions.js';
|
|
|
37
38
|
import './commands/recordscreen.js';
|
|
38
39
|
import './commands/resources.js';
|
|
39
40
|
import './commands/shell.js';
|
|
41
|
+
import './commands/media-stream/exports.js';
|
|
40
42
|
import './commands/streamscreen.js';
|
|
41
43
|
import './commands/system-bars.js';
|
|
42
44
|
import './commands/time.js';
|
|
@@ -643,6 +645,22 @@ declare class AndroidDriver<C extends AndroidDriverConstraints = AndroidDriverCo
|
|
|
643
645
|
readonly optional: readonly ["timeoutMs"];
|
|
644
646
|
};
|
|
645
647
|
};
|
|
648
|
+
readonly 'mobile: startMediaStream': {
|
|
649
|
+
readonly command: "mobileStartMediaStream";
|
|
650
|
+
readonly params: {
|
|
651
|
+
readonly required: readonly ["kind"];
|
|
652
|
+
readonly optional: readonly ["codec", "fps", "bitrate", "quality", "scale", "resolution", "audio", "batchMs", "idleHeartbeatMs"];
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
readonly 'mobile: getMediaStreamCapabilities': {
|
|
656
|
+
readonly command: "mobileGetMediaStreamCapabilities";
|
|
657
|
+
};
|
|
658
|
+
readonly 'mobile: stopMediaStream': {
|
|
659
|
+
readonly command: "mobileStopMediaStream";
|
|
660
|
+
readonly params: {
|
|
661
|
+
readonly required: readonly ["streamId"];
|
|
662
|
+
};
|
|
663
|
+
};
|
|
646
664
|
readonly 'mobile: startMediaProjectionRecording': {
|
|
647
665
|
readonly command: "mobileStartMediaProjectionRecording";
|
|
648
666
|
readonly params: {
|
|
@@ -848,6 +866,8 @@ declare class AndroidDriver<C extends AndroidDriverConstraints = AndroidDriverCo
|
|
|
848
866
|
_wasWindowAnimationDisabled?: boolean;
|
|
849
867
|
_cachedActivityArgs: StringRecord;
|
|
850
868
|
_screenStreamingProps?: ScreenStreamingProps;
|
|
869
|
+
_mediaStreams?: Map<string, MediaStream>;
|
|
870
|
+
_endedMediaStreamIds?: Set<string>;
|
|
851
871
|
_screenRecordingProperties?: ScreenRecordingProperties;
|
|
852
872
|
_logcatWebsocketListener?: LogcatListener;
|
|
853
873
|
_bidiServerLogListener?: (...args: any[]) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../lib/driver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACV,cAAc,EACd,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAC,GAAG,EAAE,cAAc,EAAC,MAAM,YAAY,CAAC;AACpD,OAAO,KAAK,EAAC,YAAY,IAAI,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAC,WAAW,EAAC,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAC,QAAQ,EAAC,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"driver.d.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AM,EAAE,WAAW,CAAC,CAAC;IACzC,oBAAoB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACnC,0BAA0B,CAAC,EAAE,yBAAyB,CAAC;IACvD,wBAAwB,CAAC,EAAE,cAAc,CAAC;IAC1C,sBAAsB,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;IAClD,aAAa,EAAE,MAAM,GAAG,IAAI,CAAQ;IACpC,sBAAsB,EAAE,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC,CAGnD;IACM,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;IAEpB,iBAAiB;;;;;;;;;;;;;MAAqB;gBAEnC,IAAI,GAAE,WAA+B,EAAE,kBAAkB,UAAO;IAa5E,IAAa,YAAY,IAAI,MAAM,GAAG,IAAI,CAEzC;IAED,IAAI,WAAW,IAAI,WAAW,CAK7B;IAED,IAAI,eAAe,IAAI,OAAO,CAG7B;IAED,UAAU,IAAI,OAAO;IAKZ,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,IAAI,UAAU,CAAC,CAAC,CAAC;IA6B/C,WAAW,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAShC,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAOrC,aAAa,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI;CAiBvD;AAkPD,OAAO,EAAC,aAAa,EAAC,CAAC"}
|
|
@@ -25,6 +25,7 @@ import { reset, closeApp, launchApp } from './commands/legacy.js';
|
|
|
25
25
|
import { lock, unlock, mobileUnlock, isLocked } from './commands/lock/exports.js';
|
|
26
26
|
import { supportedLogTypes, mobileStartLogsBroadcast, mobileStopLogsBroadcast, assignBiDiLogListener, } from './commands/log.js';
|
|
27
27
|
import { mobileIsMediaProjectionRecordingRunning, mobileStartMediaProjectionRecording, mobileStopMediaProjectionRecording, } from './commands/media-projection.js';
|
|
28
|
+
import { mobileGetMediaStreamCapabilities, mobileStartMediaStream, mobileStopMediaStream, stopAllMediaStreams, } from './commands/media-stream/exports.js';
|
|
28
29
|
import { mobileSendTrimMemory } from './commands/memory.js';
|
|
29
30
|
import { getWindowRect, getWindowSize, getDisplayDensity, mobileGetNotifications, mobileListSms, openNotifications, setUrl, } from './commands/misc.js';
|
|
30
31
|
import { getNetworkConnection, isWifiOn, mobileGetConnectivity, mobileSetConnectivity, setNetworkConnection, setWifiState, setDataState, toggleData, toggleFlightMode, toggleWiFi, } from './commands/network.js';
|
|
@@ -74,6 +75,7 @@ import './commands/permissions.js';
|
|
|
74
75
|
import './commands/recordscreen.js';
|
|
75
76
|
import './commands/resources.js';
|
|
76
77
|
import './commands/shell.js';
|
|
78
|
+
import './commands/media-stream/exports.js';
|
|
77
79
|
import './commands/streamscreen.js';
|
|
78
80
|
import './commands/system-bars.js';
|
|
79
81
|
import './commands/time.js';
|
|
@@ -96,6 +98,8 @@ class AndroidDriver extends BaseDriver {
|
|
|
96
98
|
_wasWindowAnimationDisabled;
|
|
97
99
|
_cachedActivityArgs;
|
|
98
100
|
_screenStreamingProps;
|
|
101
|
+
_mediaStreams;
|
|
102
|
+
_endedMediaStreamIds;
|
|
99
103
|
_screenRecordingProperties;
|
|
100
104
|
_logcatWebsocketListener;
|
|
101
105
|
_bidiServerLogListener;
|
|
@@ -173,6 +177,7 @@ class AndroidDriver extends BaseDriver {
|
|
|
173
177
|
}
|
|
174
178
|
async deleteSession(sessionId) {
|
|
175
179
|
await removeAllSessionWebSocketHandlers.bind(this)();
|
|
180
|
+
await stopAllMediaStreams.bind(this)();
|
|
176
181
|
try {
|
|
177
182
|
this.adb?.logcat?.removeAllListeners();
|
|
178
183
|
await this.adb?.stopLogcat();
|
|
@@ -377,6 +382,10 @@ Object.assign(AndroidDriver.prototype, {
|
|
|
377
382
|
ensureDeviceLocale,
|
|
378
383
|
// shell
|
|
379
384
|
mobileShell,
|
|
385
|
+
// media-stream
|
|
386
|
+
mobileGetMediaStreamCapabilities,
|
|
387
|
+
mobileStartMediaStream,
|
|
388
|
+
mobileStopMediaStream,
|
|
380
389
|
// streamscreen
|
|
381
390
|
mobileStartScreenStreaming,
|
|
382
391
|
mobileStopScreenStreaming,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver.js","sourceRoot":"","sources":["../../lib/driver.ts"],"names":[],"mappings":"AAWA,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAC,WAAW,EAAC,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAC,QAAQ,EAAC,MAAM,WAAW,CAAC;AAEnC,oEAAoE;AACpE,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,UAAU,EACV,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,YAAY,EACZ,SAAS,EACT,WAAW,EACX,aAAa,EACb,cAAc,GACf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAC,eAAe,EAAE,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AACxD,OAAO,EACL,WAAW,EACX,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,EAClB,uBAAuB,EACvB,wBAAwB,EACxB,kBAAkB,EAClB,iBAAiB,EACjB,2BAA2B,EAC3B,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,uBAAuB,GACxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAC,+BAA+B,EAAC,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAC,qBAAqB,EAAE,SAAS,E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IACN,cAAc;IACd,mBAAmB;IACnB,kBAAkB;IAClB,iBAAiB;IACjB,mBAAmB;IACnB,oBAAoB;IAEpB,SAAS;IACT,aAAa;IACb,mBAAmB;IACnB,eAAe;IACf,kBAAkB;IAClB,iBAAiB;IAEjB,WAAW;IACX,YAAY;IACZ,eAAe;IACf,IAAI;IACJ,UAAU;IACV,YAAY;IACZ,gBAAgB;IAChB,yBAAyB;IAEzB,SAAS;IACT,KAAK;IACL,QAAQ;IACR,SAAS;IAET,eAAe;IACf,IAAI;IACJ,MAAM;IACN,YAAY;IACZ,QAAQ;IAER,MAAM;IACN,wBAAwB;IACxB,uBAAuB;IACvB,qBAAqB;IAErB,mBAAmB;IACnB,uCAAuC;IACvC,mCAAmC;IACnC,kCAAkC;IAElC,SAAS;IACT,oBAAoB;IAEpB,OAAO;IACP,aAAa;IACb,aAAa;IACb,iBAAiB;IACjB,sBAAsB;IACtB,aAAa;IACb,iBAAiB;IACjB,MAAM;IAEN,UAAU;IACV,oBAAoB;IACpB,QAAQ;IACR,qBAAqB;IACrB,qBAAqB;IACrB,oBAAoB;IACpB,YAAY;IACZ,YAAY;IACZ,UAAU;IACV,gBAAgB;IAChB,UAAU;IAEV,MAAM;IACN,SAAS;IAET,cAAc;IACd,kBAAkB;IAClB,uBAAuB;IACvB,wBAAwB;IAExB,cAAc;IACd,uBAAuB;IACvB,oBAAoB;IAEpB,eAAe;IACf,oBAAoB;IACpB,mBAAmB;IAEnB,YAAY;IACZ,UAAU;IACV,kBAAkB;IAElB,QAAQ;IACR,WAAW;IAEX,eAAe;IACf,0BAA0B;IAC1B,yBAAyB;IAEzB,cAAc;IACd,aAAa;IACb,6BAA6B;IAE7B,OAAO;IACP,aAAa;IACb,mBAAmB;CACpB,CAAC,CAAC;AAEH,OAAO,EAAC,aAAa,EAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"driver.js","sourceRoot":"","sources":["../../lib/driver.ts"],"names":[],"mappings":"AAWA,OAAO,EAAC,UAAU,EAA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IACjB,mBAAmB;IACnB,oBAAoB;IAEpB,SAAS;IACT,aAAa;IACb,mBAAmB;IACnB,eAAe;IACf,kBAAkB;IAClB,iBAAiB;IAEjB,WAAW;IACX,YAAY;IACZ,eAAe;IACf,IAAI;IACJ,UAAU;IACV,YAAY;IACZ,gBAAgB;IAChB,yBAAyB;IAEzB,SAAS;IACT,KAAK;IACL,QAAQ;IACR,SAAS;IAET,eAAe;IACf,IAAI;IACJ,MAAM;IACN,YAAY;IACZ,QAAQ;IAER,MAAM;IACN,wBAAwB;IACxB,uBAAuB;IACvB,qBAAqB;IAErB,mBAAmB;IACnB,uCAAuC;IACvC,mCAAmC;IACnC,kCAAkC;IAElC,SAAS;IACT,oBAAoB;IAEpB,OAAO;IACP,aAAa;IACb,aAAa;IACb,iBAAiB;IACjB,sBAAsB;IACtB,aAAa;IACb,iBAAiB;IACjB,MAAM;IAEN,UAAU;IACV,oBAAoB;IACpB,QAAQ;IACR,qBAAqB;IACrB,qBAAqB;IACrB,oBAAoB;IACpB,YAAY;IACZ,YAAY;IACZ,UAAU;IACV,gBAAgB;IAChB,UAAU;IAEV,MAAM;IACN,SAAS;IAET,cAAc;IACd,kBAAkB;IAClB,uBAAuB;IACvB,wBAAwB;IAExB,cAAc;IACd,uBAAuB;IACvB,oBAAoB;IAEpB,eAAe;IACf,oBAAoB;IACpB,mBAAmB;IAEnB,YAAY;IACZ,UAAU;IACV,kBAAkB;IAElB,QAAQ;IACR,WAAW;IAEX,eAAe;IACf,gCAAgC;IAChC,sBAAsB;IACtB,qBAAqB;IAErB,eAAe;IACf,0BAA0B;IAC1B,yBAAyB;IAEzB,cAAc;IACd,aAAa;IACb,6BAA6B;IAE7B,OAAO;IACP,aAAa;IACb,mBAAmB;CACpB,CAAC,CAAC;AAEH,OAAO,EAAC,aAAa,EAAC,CAAC"}
|
|
@@ -195,6 +195,22 @@ export declare const executeMethodMap: {
|
|
|
195
195
|
readonly optional: readonly ["timeoutMs"];
|
|
196
196
|
};
|
|
197
197
|
};
|
|
198
|
+
readonly 'mobile: startMediaStream': {
|
|
199
|
+
readonly command: "mobileStartMediaStream";
|
|
200
|
+
readonly params: {
|
|
201
|
+
readonly required: readonly ["kind"];
|
|
202
|
+
readonly optional: readonly ["codec", "fps", "bitrate", "quality", "scale", "resolution", "audio", "batchMs", "idleHeartbeatMs"];
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
readonly 'mobile: getMediaStreamCapabilities': {
|
|
206
|
+
readonly command: "mobileGetMediaStreamCapabilities";
|
|
207
|
+
};
|
|
208
|
+
readonly 'mobile: stopMediaStream': {
|
|
209
|
+
readonly command: "mobileStopMediaStream";
|
|
210
|
+
readonly params: {
|
|
211
|
+
readonly required: readonly ["streamId"];
|
|
212
|
+
};
|
|
213
|
+
};
|
|
198
214
|
readonly 'mobile: startMediaProjectionRecording': {
|
|
199
215
|
readonly command: "mobileStartMediaProjectionRecording";
|
|
200
216
|
readonly params: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute-method-map.d.ts","sourceRoot":"","sources":["../../lib/execute-method-map.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"execute-method-map.d.ts","sourceRoot":"","sources":["../../lib/execute-method-map.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoca,CAAC"}
|