Comments (3)
Sndcpy and scrcpy use different mechanisms to capture audio:
- sndcpy uses the playback capture API introduced in Android 10,
- scrcpy uses an
AudioRecord
with "remote submix" as source (#3757)
There are two major drawbacks to the playback capture API used in sndcpy:
- it lets Android apps decide if they can be captured or not (in practice, many apps are not captured),
- it requires a real app (an APK) to be installed on the device (a real Android Context is necessary), that's the main reason why it's not implemented in scrcpy.
But as you noticed, unfortunately, we cannot keep audio on the device with the mechanism usedby scrcpy: #3875.
Also see #4884 (comment)
from scrcpy.
I wanted to use this application as a video capture card. Since I output the sound and video to a computer with a large buffer, I need the sound from the phone so that I can play games without sound delay. It's unfortunate that there is no solution yet.
from scrcpy.
Duplicate of #3875. Please test #5102.
from scrcpy.
Related Issues (20)
- Video stream is disconnected HOT 1
- Unable to connect due to active rejection from the target computer。 (10061) HOT 1
- Could not find any ADB device HOT 1
- Couldn't get it to work - until I switched USB ports
- sincronização de fps HOT 5
- https://github.com/Genymobile/scrcpy/issues/1319 HOT 1
- Problem with my honor pad 9 HOT 3
- Blue 'overlay' when using scrcpy HOT 2
- PC screen skipping FPS but fps monitor in cmd shows 58-60 fps consistent HOT 6
- [BUG] Scrcpy is conflicted with Windows Sandbox
- Schließt sich nach 5 sekunden
- please help HOT 4
- mirroring problem in android 13 HOT 2
- scrcpy-server 2.5 build_without_gradle.sh error: cannot find symbol IOnPrimaryClipChangedListener HOT 2
- Ask for help When the debugging starts, the TCP connection fails
- Flag to prevent scrcpy from blocking sleep on PC HOT 2
- Scrcpy error
- [Question] about using the scrcpy as a work tool
- Scrcpy issue HOT 1
- scrcpy exits with error on device screen on/off HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scrcpy.