Skip to content
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

Wireless OTG mode #4793

Open
1 task done
Anonuser-01 opened this issue Mar 27, 2024 · 4 comments
Open
1 task done

Wireless OTG mode #4793

Anonuser-01 opened this issue Mar 27, 2024 · 4 comments

Comments

@Anonuser-01
Copy link

Anonuser-01 commented Mar 27, 2024

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I currently use "scrcpy --keyboard=uhid --mouse=uhid" to control my device. The issue is, I don't actually want to see the device video on my computer, but there's no way currently to turn off both the video and audio feed.

Describe the solution you'd like
A clear and concise description of what you want to happen.

I am essentially looking for a wireless version of "scrcpy --OTG". Please allow turning off device video and audio. Computer should just display the Android logo (same as OTG) and allow me to control my device.

I would like to be able to use the following command:

scrcpy --keyboard=uhid --mouse=uhid --no-video --no-audio

Screenshot_1

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

No alternatives

Additional context
Add any other context or screenshots about the feature request here.

@rom1v
Copy link
Collaborator

rom1v commented Mar 28, 2024

#4727 (comment)

rom1v added a commit that referenced this issue Apr 20, 2024
Add the possibility to only control the device with any keyboard and
mouse mode without screen mirroring.

This is different from OTG mode, which does not require USB debugging at
all. It is just the standard mode but with the possibility to disable
video playback.

By default, always open a window (even without video playback), and add
an option --no-window.

Fixes #4727 <#4727>
Fixes #4793 <#4793>
rom1v added a commit that referenced this issue Apr 20, 2024
Add the possibility to only control the device with any keyboard and
mouse mode without screen mirroring.

This is different from OTG mode, which does not require USB debugging at
all. Here, the standard mode is used but with the possibility to disable
video playback.

By default, always open a window (even without video playback), and add
an option --no-window.

Fixes #4727 <#4727>
Fixes #4793 <#4793>
rom1v added a commit that referenced this issue Apr 20, 2024
Add the possibility to only control the device with any keyboard and
mouse mode without screen mirroring.

This is different from OTG mode, which does not require USB debugging at
all. Here, the standard mode is used but with the possibility to disable
video playback.

By default, always open a window (even without video playback), and add
an option --no-window.

Fixes #4727 <#4727>
Fixes #4793 <#4793>
@rom1v
Copy link
Collaborator

rom1v commented Apr 20, 2024

Please test #4868.

@Anonuser-01
Copy link
Author

Please test #4868.

Thanks for adding this feature. Are you able to share a mac version for testing?

@rom1v
Copy link
Collaborator

rom1v commented Apr 21, 2024

For macOS, you will need to build the client: https://github.com/Genymobile/scrcpy/blob/master/doc/build.md#option-2-use-prebuilt-server
(the prebuilt scrcpy-server is included in the binary zip in #4868)

rom1v added a commit that referenced this issue Apr 23, 2024
Add the possibility to only control the device with any keyboard and
mouse mode without screen mirroring.

This is different from OTG mode, which does not require USB debugging at
all. Here, the standard mode is used but with the possibility to disable
video playback.

By default, always open a window (even without video playback), and add
an option --no-window.

Fixes #4727 <#4727>
Fixes #4793 <#4793>
PR #4868 <#4868>
rom1v added a commit that referenced this issue Apr 28, 2024
Add the possibility to only control the device with any keyboard and
mouse mode without screen mirroring:

    scrcpy -KM --no-video --no-audio

This is different from OTG mode, which does not require USB debugging at
all. Here, the standard mode is used but with the possibility to disable
video playback.

By default, always open a window (even without video playback), and add
an option --no-window.

Fixes #4727 <#4727>
Fixes #4793 <#4793>
PR #4868 <#4868>
rom1v added a commit that referenced this issue May 11, 2024
Add the possibility to solely control the device with any keyboard and
mouse mode without screen mirroring:

    scrcpy -KM --no-video --no-audio

This is different from OTG mode, which does not require USB debugging at
all. Here, the standard mode is used but with the possibility to disable
video playback.

By default, always open a window (even without video playback), and add
an option --no-window.

Fixes #4727 <#4727>
Fixes #4793 <#4793>
PR #4868 <#4868>
rom1v added a commit that referenced this issue May 11, 2024
Add the possibility to solely control the device without screen
mirroring:

    scrcpy --no-video --no-audio

This is different from OTG mode, which does not require USB debugging at
all. Here, the standard mode is used but with the possibility to disable
video playback.

By default, always open a window (even without video playback), and add
an option --no-window.

Fixes #4727 <#4727>
Fixes #4793 <#4793>
PR #4868 <#4868>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants