Genymobile / Genymobile/scrcpy

Jerky mouse over tcp (--no-video --no-audio)

Open
#6,563 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
150k
Forks
13.7k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

## Environment

- MacOS
- scrcpy 3.3.4
- brew
- Samsung Galaxy Tab S11
- 16 OneUI 8.0

## Describe the bug

Apologies for yet another "slowness over tcp" ticket, but I hadn't seen this particular issue discussed yet. I'm attempting to control my android device with my mac keyboard using the following command:

```scrcpy --no-video --no-audio -K -M -e```

This works fine when I do it over usb (`-d`), but when I try it over tcp (`-e`), I get very jerky mouse movement. I know there there is a limit to the bandwidth available, but since I'm not sending any video data over the pipe at all, I would think there would be enough bandwidth for smooth mouse movement. (Perhaps I'm wrong?).

Thanks so much for all your work on this software!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported command, `scrcpy --no-video --no-audio -K -M -e`, and compare mouse movement over TCP with USB using `-d`. Investigate why mouse input is jerky only over TCP; done means smooth mouse control in the reported no-video, no-audio TCP configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
mobile-dev, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.