budtmo / budtmo/docker-android

Can I use virtual microphone on my server?

Open
#283 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
15.8k
Forks
1.8k
Avg merge
12h 13m
Merged PRs (30d)
6

Description

I'm using **pulseaudio** on my server to make virtual audio input, it works by using the output audio as input audio.
Reference :
[https://askubuntu.com/questions/28176/how-do-i-run-pulseaudio-in-a-headless-server-installation](https://askubuntu.com/questions/28176/how-do-i-run-pulseaudio-in-a-headless-server-installation)

But, when I use docker-android, sound (from virtual input audio) does not enter to the emulator.
I run docker-android like this :
`docker run --privileged -d -p 6080:6080 -p 4723:4723 -p 5554:5554 -p 5555:5555 -e DEVICE="Samsung Galaxy S6" -e EMULATOR_ARGS="-camera-back webcam0 -qemu -allow-host-audio" --name android-container budtmo/docker-android-x86-6.0`

i have tried this, and failed :

- `docker exec -it android-container adb emu avd hostmicon`
- enable all 3 switch on "microphone" menu in emulator
![image](https://user-images.githubusercontent.com/31119143/113467119-1a626680-946b-11eb-88bd-5af40335c02c.png)

What should I do?
any answer would be appreciated🙏

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.