Comments (1)
It's theoretically possible.
Take the current master
branch of scrcpy, and apply this patch:
diff --git a/server/src/main/java/com/genymobile/scrcpy/AudioCapture.java b/server/src/main/java/com/genymobile/scrcpy/AudioCapture.java
index 9228e3d71..b5bc67b39 100644
--- a/server/src/main/java/com/genymobile/scrcpy/AudioCapture.java
+++ b/server/src/main/java/com/genymobile/scrcpy/AudioCapture.java
@@ -50,7 +50,7 @@ public final class AudioCapture {
// On older APIs, Workarounds.fillAppInfo() must be called beforehand
builder.setContext(FakeContext.get());
}
- builder.setAudioSource(MediaRecorder.AudioSource.REMOTE_SUBMIX);
+ builder.setAudioSource(MediaRecorder.AudioSource.MIC);
builder.setAudioFormat(createAudioFormat());
int minBufferSize = AudioRecord.getMinBufferSize(SAMPLE_RATE, CHANNEL_CONFIG, FORMAT);
// This buffer size does not impact latency
Then what is captured by the device microphone is played on the computer.
from sndcpy.
Related Issues (20)
- Change application id if not allowed to be installed on some devices for security issue. HOT 1
- Problem Parsing the Package
- Looks like sndcpy doesn't work with apps that have In-call volume function inside it. HOT 7
- is it possible to to passed microphone from the Host / Mac to Android ?
- 'C:\Program' is not recognized as an internal or external command
- Newbie Problems
- Phone tell
- audio forwarding is not working HOT 1
- How do i make a silent start for sndcpy?, (Not showing the console) HOT 1
- adb: failed to install sndcpy.apk: Security exception: You need the android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission to use the PackageManager.INSTALL_GRANT_RUNTIME_PERMISSIONS flag HOT 2
- Waiting for device... HOT 2
- SNDCPY, adb: failed to stat sndcpy.apk: No such file or directory HOT 2
- can i ask something HOT 1
- Audio not working for android 10 HOT 4
- sndcpy does not transfer audio played by poweramp
- Got this issue with sndcpy. Also the app doesn't show up after being installed.
- Issue with Sndcpy, HOT 3
- Audio delay using sndcpy HOT 3
- scrcpy kills audio on tv (Firetv Stick 4k and LG tv) 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 sndcpy.