Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 05 Sep 15:17
· 5 commits to main since this release
95d524f

Minor Changes

  • #2 7047f70 Thanks @BANG88! - Android devices now offer JPEG as well as H.264: the H.264 stream scrcpy sends is transcoded through ffmpeg (h264 -> mjpeg) and each picture is delivered as a key frame, so a client with no video decoder — a native app that can only draw JPEG, or a browser on a plain-http IP origin where VideoDecoder is undefined — can show an Android device at all. The capability is probed at startup: with a usable ffmpeg the device declares ["h264", "jpeg"], without one it stays ["h264"], and H.264 stays the default for clients that can decode it. The transcoder runs only while a JPEG stream is attached. New flags: --android-jpeg-max-fps (default 20, 0 uncaps), --android-jpeg-quality (default 70), --android-ffmpeg PATH, --android-no-jpeg.

npm: https://www.npmjs.com/package/simfarm/v/0.2.0