-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I get a video stream from a project #1016
Comments
I use #129 way to test,then find executing adb shell "CLASSPATH=/data/local/tmp/scrcpy-server app_process / com.genymobile.scrcpy.Server 1.12 8000000 10 10 true 1080:1920:0:0 true true ",the teminal block,and the adb log print "10059 __system_property_read(key=ro.build.version.sdk, value=25) |
I use "adb forward",and listen the localhost port 8080,but i get nothing.The scrcpy is running |
Am i wrong to use it like this |
To receive the video stream, you basically have to read the client code (which may and will change in the future), and do the same on your side. In particular, read To receive a raw H.264 stream, you need to disable frame meta, by passing Line 147 in 31bd950
You will still receive the initial header (that you need to consume): Line 325 in 31bd950
Unfortunately, I have no time to help step by step. |
thank you |
Can I get a video stream from a project
The text was updated successfully, but these errors were encountered: