scrcpy/server
Romain Vimont 2faf9715be Add server option raw_video_stream
For convenience, this new option forces the 3 following options:
 - send_device_meta=false
 - send_frame_meta=false
 - send_dummy_byte=false

This allows to send a raw H.264 stream on the video socket.

Concretely:

    adb push scrcpy-server /data/local/tmp/scrcpy-server.jar
    adb forward tcp:1234 localabstract:scrcpy
    adb shell CLASSPATH=/data/local/tmp/scrcpy-server.jar \
        app_process / com.genymobile.scrcpy.Server 1.21 \
        raw_video_stream=true tunnel_forward=true control=false

As soon as a client connects via TCP to localhost:1234, it will receive
the raw H.264 stream.

Refs #1419 comment <https://github.com/Genymobile/scrcpy/pull/1419#issuecomment-1013964650>
PR #2971 <https://github.com/Genymobile/scrcpy/pull/2971>
2022-01-27 16:47:51 +01:00
..
scripts Use "/usr/bin/env bash" for build-wrapper.sh 2020-09-15 13:44:02 +02:00
src Add server option raw_video_stream 2022-01-27 16:47:51 +01:00
.gitignore Convert server to an Android project 2018-01-30 12:01:36 +01:00
build_without_gradle.sh Remove useless intermediate variable 2021-12-03 21:47:00 +01:00
build.gradle Bump version to 1.21 2021-11-29 22:15:28 +01:00
meson.build Require Meson 0.48 to get rid of warnings 2020-04-13 22:47:03 +02:00
proguard-rules.pro Convert server to an Android project 2018-01-30 12:01:36 +01:00