Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.resource
blocks have been checked for updates.release notes
Highlights
Audio mirroring
Audio forwarding was introduced in scrcpy 2.0. Until now, when audio was captured by scrcpy, it was necessarily disabled on the device.
This release introduces a new audio capture method, which (optionally) supports audio duplication, to keep playing audio on the device. It is exposed as an alternative audio source named
playback
(in addition tooutput
, the default, andmic
).For convenience,
--audio-dup
automatically selects theplayback
audio source. Therefore, to mirror audio rather than forward, this is sufficient:However, this playback capture has some drawbacks:
See documentation, #4380, #5102.
Secondary mouse bindings
By default, with SDK mouse:
It was also possible to forward the clicks to the device instead, by using the
--mouse-bind=xxxx
option introduced in the previous version (2.5). But that way, we had to choose at startup whether a button triggered a shortcut or a click.This release introduces a new set of secondary bindings via Shift+click, so that both are possible at runtime.
By default, a simple click triggers the shortcuts, and Shift+click forwards the click to the device.
In AOA and UHID mouse modes, the default bindings are reversed: all clicks are forwarded by default, and pressing Shift gives access to the shortcuts (since the cursor is handled on the device side, it makes more sense to forward all mouse buttons by default in these modes).
All these mouse bindings can be configured, check the documentation.
See #5076.
@scrcpy_app
r/scrcpy