Scrcpy 2.6 Added Mirroring Android Audio Support

Last updated: August 7, 2024 — Leave a comment

Scrcpy, the free open-source Android screen mirroring app, released version 2.6 (then 2.6.1 with quick fix) a few days ago.

Scrcpy is an app works on Linux, Windows, and macOS, allowing users to remote access and control their Android screen from PC/laptop, either wirelessly through TCP/IP in same network or wired with USB cable.

It uses Android Debug Bridge (adb) to communicate with Android device. Nothing needs to be installed on Android side, but it needs to enable developer mode for USB debugging option which is required by adb.


Scrcpy features screen mirroring (even with Android screen off), audio forwarding, video/audio recording, copy and paste in both directions, camera mirroring. For Linux, it allows to use your Android’s camera as computer webcam.

And, it supports OTG (On-The-Go) mode. Without adb, in this mode the computer keyboard and mouse work as they were plugged directly to the Android device.

New features in Scrcpy 2.6

Since version 2.0, the app supports audio forwarding which sends Android audio to the computer side. However, with the feature enabled, the sound was disabled in the Android device.

The new Scrcpy 2.6 reworked the audio capture method, which now supports audio mirroring. Meaning audio source can be played in the both computer and Android at the same time.

This is an optional feature, to enable it, simply start scrcpy with audio duplication option:

scrcpy --audio-source=playback --audio-dup

Without --audio-dup, it will work just like before that forwarding with sound disabled in Android side.

The feature however requires Android 13, and, Android apps can opt-out, in which case they are not captured.

The release also introduced new set of secondary bindings via shift + click.

In the default mouse SDK mode, user can do right-click triggers BACK (or POWER on), middle-click triggers HOME, the 4th click triggers APP_SWITCH, and the 5th click expands the notification panel. User can also press and hold Shift then do right-click, middle-click, the 4th/5th click to forward actions to Android.

Both the primary and secondary bindings are configurable through --mouse-bind=xxxx:xxxx command option. See the wiki page for details.

Other changes include:

  • Fix “turn screen off”, and add clipboard workaround for Honor devices
  • Upgrade SDL to 2.30.5 in Windows releases
  • And various bug-fixes.

How to Get Scrcpy

Scrcpy is available in Ubuntu system repositories, but old. For the latest version, just go to the project page in Github:

If you’re new to this app, then here’s a step by step tutorial for Ubuntu users.

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1 |

No Comments

Be the first to start the conversation.

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*