diff --git a/README.md b/README.md index 3b905f34..78fb826d 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Try it out at https://app.tangoapp.dev ## Documentation -Check the latest documentation at https://tango-adb.github.io/docs/ +Check the latest documentation at https://docs.tangoapp.dev/ ## Contribute diff --git a/libraries/adb-credential-web/README.md b/libraries/adb-credential-web/README.md index c7f55597..298fe601 100644 --- a/libraries/adb-credential-web/README.md +++ b/libraries/adb-credential-web/README.md @@ -30,7 +30,7 @@ This package is part of [Tango ADB](https://github.com/yume-chan/ya-webadb). Gen ## Documentation -Check the latest documentation at https://tango-adb.github.io/docs/ +Check the latest documentation at https://docs.tangoapp.dev/tango/daemon/credential-store/ ## Sponsors diff --git a/libraries/adb-credential-web/package.json b/libraries/adb-credential-web/package.json index c4943ea1..a7df2032 100644 --- a/libraries/adb-credential-web/package.json +++ b/libraries/adb-credential-web/package.json @@ -23,6 +23,7 @@ "type": "module", "main": "esm/index.js", "types": "esm/index.d.ts", + "sideEffects": false, "scripts": { "build": "tsc -b tsconfig.build.json", "build:watch": "tsc -b tsconfig.build.json", diff --git a/libraries/adb-daemon-webusb/README.md b/libraries/adb-daemon-webusb/README.md index 734f9faa..cce776fe 100644 --- a/libraries/adb-daemon-webusb/README.md +++ b/libraries/adb-daemon-webusb/README.md @@ -30,7 +30,7 @@ This package is part of [Tango ADB](https://github.com/yume-chan/ya-webadb). Gen ## Documentation -Check the latest documentation at https://tango-adb.github.io/docs/ +Check the latest documentation at https://docs.tangoapp.dev/tango/daemon/usb/device-manager/ ## Sponsors diff --git a/libraries/adb-daemon-webusb/package.json b/libraries/adb-daemon-webusb/package.json index f8be90bf..8c7bab73 100644 --- a/libraries/adb-daemon-webusb/package.json +++ b/libraries/adb-daemon-webusb/package.json @@ -24,6 +24,7 @@ "type": "module", "main": "esm/index.js", "types": "esm/index.d.ts", + "sideEffects": false, "scripts": { "build": "tsc -b tsconfig.build.json", "build:watch": "tsc -b tsconfig.build.json", diff --git a/libraries/adb-scrcpy/README.md b/libraries/adb-scrcpy/README.md index c553b83c..8f97a0ae 100644 --- a/libraries/adb-scrcpy/README.md +++ b/libraries/adb-scrcpy/README.md @@ -30,7 +30,7 @@ This package is part of [Tango ADB](https://github.com/yume-chan/ya-webadb). Gen ## Documentation -Check the latest documentation at https://tango-adb.github.io/docs/ +Check the latest documentation at https://docs.tangoapp.dev/scrcpy/ ## Sponsors diff --git a/libraries/adb-scrcpy/package.json b/libraries/adb-scrcpy/package.json index 49b7abb2..afbb86e3 100644 --- a/libraries/adb-scrcpy/package.json +++ b/libraries/adb-scrcpy/package.json @@ -25,6 +25,7 @@ "type": "module", "main": "esm/index.js", "types": "esm/index.d.ts", + "sideEffects": false, "scripts": { "build": "tsc -b tsconfig.build.json", "build:watch": "tsc -b tsconfig.build.json", diff --git a/libraries/adb-server-node-tcp/README.md b/libraries/adb-server-node-tcp/README.md index 4edb1f06..6fa6744e 100644 --- a/libraries/adb-server-node-tcp/README.md +++ b/libraries/adb-server-node-tcp/README.md @@ -30,7 +30,7 @@ This package is part of [Tango ADB](https://github.com/yume-chan/ya-webadb). Gen ## Documentation -Check the latest documentation at https://tango-adb.github.io/docs/ +Check the latest documentation at https://docs.tangoapp.dev/tango/server/client/ ## Sponsors diff --git a/libraries/adb-server-node-tcp/package.json b/libraries/adb-server-node-tcp/package.json index 9c6ad8c7..c54b61f5 100644 --- a/libraries/adb-server-node-tcp/package.json +++ b/libraries/adb-server-node-tcp/package.json @@ -26,6 +26,7 @@ "type": "module", "main": "esm/index.js", "types": "esm/index.d.ts", + "sideEffects": false, "scripts": { "build": "tsc -b tsconfig.build.json", "build:watch": "tsc -b tsconfig.build.json", diff --git a/libraries/adb/package.json b/libraries/adb/package.json index 5576de04..cc111481 100644 --- a/libraries/adb/package.json +++ b/libraries/adb/package.json @@ -24,6 +24,7 @@ "type": "module", "main": "esm/index.js", "types": "esm/index.d.ts", + "sideEffects": false, "scripts": { "build": "tsc -b tsconfig.build.json", "build:watch": "tsc -b tsconfig.build.json", diff --git a/libraries/android-bin/package.json b/libraries/android-bin/package.json index 7abe8790..29074807 100644 --- a/libraries/android-bin/package.json +++ b/libraries/android-bin/package.json @@ -24,6 +24,7 @@ "type": "module", "main": "esm/index.js", "types": "esm/index.d.ts", + "sideEffects": false, "scripts": { "build": "tsc -b tsconfig.build.json", "build:watch": "tsc -b tsconfig.build.json", diff --git a/libraries/aoa/package.json b/libraries/aoa/package.json index 82174a08..b529a3f1 100644 --- a/libraries/aoa/package.json +++ b/libraries/aoa/package.json @@ -24,6 +24,7 @@ "type": "module", "main": "esm/index.js", "types": "esm/index.d.ts", + "sideEffects": false, "scripts": { "build": "tsc -b tsconfig.build.json", "build:watch": "tsc -b tsconfig.build.json", diff --git a/libraries/event/package.json b/libraries/event/package.json index b35acb53..9f45f899 100644 --- a/libraries/event/package.json +++ b/libraries/event/package.json @@ -25,6 +25,7 @@ "type": "module", "main": "esm/index.js", "types": "esm/index.d.ts", + "sideEffects": false, "scripts": { "build": "tsc -b tsconfig.build.json", "build:watch": "tsc -b tsconfig.build.json", diff --git a/libraries/fetch-scrcpy-server/README.md b/libraries/fetch-scrcpy-server/README.md index f80d266c..d8b94dc4 100644 --- a/libraries/fetch-scrcpy-server/README.md +++ b/libraries/fetch-scrcpy-server/README.md @@ -27,7 +27,7 @@ This package is part of [Tango ADB](https://github.com/yume-chan/ya-webadb). Gen ## Documentation -Check the latest documentation at https://tango-adb.github.io/docs/ +Check the latest documentation at https://docs.tangoapp.dev/scrcpy/prepare-server/ ## Sponsors diff --git a/libraries/fetch-scrcpy-server/package.json b/libraries/fetch-scrcpy-server/package.json index 0c7f4a60..64aec78f 100644 --- a/libraries/fetch-scrcpy-server/package.json +++ b/libraries/fetch-scrcpy-server/package.json @@ -26,6 +26,7 @@ "type": "module", "main": "index.js", "types": "index.d.ts", + "sideEffects": false, "dependencies": { "gh-release-fetch": "^4.0.3" }, diff --git a/libraries/no-data-view/package.json b/libraries/no-data-view/package.json index 7afb0fa1..e8da026e 100644 --- a/libraries/no-data-view/package.json +++ b/libraries/no-data-view/package.json @@ -21,6 +21,7 @@ "type": "module", "main": "esm/index.js", "types": "esm/index.d.ts", + "sideEffects": false, "scripts": { "benchmark": "node benchmark.js", "build": "tsc -b tsconfig.build.json", diff --git a/libraries/pcm-player/package.json b/libraries/pcm-player/package.json index 78ed9255..d75e210c 100644 --- a/libraries/pcm-player/package.json +++ b/libraries/pcm-player/package.json @@ -23,6 +23,7 @@ "type": "module", "main": "esm/index.js", "types": "esm/index.d.ts", + "sideEffects": false, "scripts": { "build": "tsc -b tsconfig.dom.json && tsc -b tsconfig.worker.json", "build:watch": "tsc -b tsconfig.dom.json && tsc -b tsconfig.worker.json", diff --git a/libraries/scrcpy-decoder-tinyh264/README.md b/libraries/scrcpy-decoder-tinyh264/README.md index 79936055..421590cf 100644 --- a/libraries/scrcpy-decoder-tinyh264/README.md +++ b/libraries/scrcpy-decoder-tinyh264/README.md @@ -1,45 +1,49 @@ -# @yume-chan/scrcpy-decoder-tinyh264 +
+
+
+ Raw H.264 stream decoder and renderer wrapping TinyH264 and YUVCanvas packages (software decoding). +
-**WARNING:** The public API is UNSTABLE. Open a GitHub discussion if you have any questions. + -## Compatibility +This package is part of [Tango ADB](https://github.com/yume-chan/ya-webadb). Generally you need multiple packages to build a complete ADB client that can run on Web browsers and Node.js. Read the documentation for more information. -| Chrome | Firefox | Safari | Performance | Supported H.264 profile/level | -| ------ | ------- | ------ | ----------- | ----------------------------- | -| 57 | 52 | 11 | Poor | Baseline level 4 | +## Documentation -## Usage +Check the latest documentation at https://docs.tangoapp.dev/scrcpy/video/tiny-h264/ -The bundler you use must support the `new Worker(new URL('./worker.js', import.meta.url))` syntax. It's known that Webpack 5 works. +## Sponsors -### Limit profile/level +[Become a backer](https://opencollective.com/ya-webadb) and get your image on our README on Github with a link to your site. -Because it only supports Baseline level 4 codec, but many newer devices default to higher profiles/levels, you can limit it by using the `codecOptions` option: - -```ts -new ScrcpyOptions1_24({ - codecOptions: new CodecOptions({ - profile: TinyH264Decoder.maxProfile, - level: TinyH264Decoder.maxLevel, - }), -}); -``` - -However, it can fail on some very old devices that doesn't support even Baseline level 4 codec. You can retry without the `codecOptions` option if that happens. - -### Render the video - -It draws frames onto `decoder.renderer` (a `