安卓手机远程控制开源解决方案

https://www.myfreax.com/how-to-use-scrcpy-to-remotely-control-an-android-phone/

https://github.com/Genymobile/scrcpy

scrcpy --v4l2-sink=/dev/video2
docker run -d -p 1935:1935 --name nginx-rtmp tiangolo/nginx-rtmp
ffmpeg -framerate 15 -i /dev/video2 -c:v h264 -vf scale=-1:360 -f flv rtmp://10.1.172.94/live/test

播放,建议关闭buffer,这样延迟在2秒左右,如果默认buffer,在10秒

./ffplay -fflags nobuffer rtmp://10.1.172.94/live/test104

 

Leave a Reply

Your email address will not be published. Required fields are marked *