Genymobile / Genymobile/scrcpy
Screen projection is not possible with scrcpy-server v2.0
- Dominant language
- C
- Stars
- 150k
- Forks
- 13.8k
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 2
Description
I just use scrcpy-server to get the video stream and display it on the web. After the recent update from v1.24 to v2.0, the screen does not display. Do the corresponding parameters need to be modified? Help me check. The bite_rate in the startup parameter has been modified to video_bit_rate
commands = [
"adb",
"-s",
self.serialno,
"shell",
f"CLASSPATH=/data/local/tmp/{JAR_NAME}.jar",
"app_process",
"/",
"com.genymobile.scrcpy.Server",
SCRCPY_JAR_VERSION,
"log_level=info",
f"max_size={self.max_size}",
f"max_fps={self.max_fps}",
f"video_bit_rate={self.bitrate}",
"tunnel_forward=true",
"send_frame_meta=false",
"control=true",
"show_touches=false",
"stay_awake=false",
"power_off_on_close=false",
"clipboard_autosync=false"
]
Contributor guide
No contributing guide indexed for this repository
Research direction
Begin with the scrcpy-server v2.0 invocation shown in the report and compare its listed startup parameters with the v1.24 invocation and the server's compatibility expectations. Reproduce the missing video display in the reported web-streaming setup; done means the v2.0 server again produces a usable screen stream or the required parameter change is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100