---
Everything described below is checked simultaneously with the installation and testing android-tools-v31.0.2:
Mageia Bugzilla: https://bugs.mageia.org/show_bug.cgi?id=28860
android-tools-v31.0.2: https://github.com/AKotov-dev/android-tools-rpm
Related tools
---
ADBManager: https://github.com/AKotov-dev/adbmanager
ArEditor: https://github.com/AKotov-dev/areditor
DroidCam-RPM: https://github.com/AKotov-dev/droidcam-rpm
Hello, friends.
My name is Alex, I'm from Russia. I apologize in advance for my bad English, as I communicate through an online translator.
Below I suggest that everyone who wants to test the work of packages android-tools-v31.0.2 and droidcam-v1.7.3. I have some difficulties with the smartphone microphone in Droidcam, so I turned to this forum, since proximity to the original source (Mageia) can help in the solution.
Recently, in my free time, I collected layouts of packages for DroidCam-v1.7.3 ( https://www.dev47apps.com )
Droidcam packages
---
URL: https://github.com/AKotov-dev/droidcam-rpm
dkms-v4l2loopback_dc-0.0.1-3.mrx8.noarch.rpm
droidcam-cli-1.7.3-1.mrx8.x86_64.rpm
droidcam-1.7.3-1.mrx8.x86_64.rpm
...they need to be installed and reboot the computer to raise the necessary kernel modules
If you don't need it anymore, you can delete everything installed above like this:
- Code: Select all
urpme --auto dkms-v4l2loopback_dc
How it works
---
A small DroidCam server (better install DroidCamX) is installed on the smartphone from the store and launched. If WiFi is active on the smartphone, DroidCamX shows the IP address that is assigned to the smartphone and port 4747 (must be opened in iptables). If you run the DroidCam client on a computer with Mageia-8, you can immediately connect to the smartphone camera via WiFi. The second connection option is via adb and a USB cable (USB debugging mode is enabled on the smartphone, the smartphone must be connected and authorized, see the screenshot in the attachment).
The external microphone is used in Linux for this reason:
https://github.com/dev47apps/droidcam/issues/43
However, today there are successful attempts to use a microphone built into a smartphone...
Connecting a microphone from a smartphone (droidcam_audio)
---
After launching DroidCamX on a smartphone and the Droidcam client on Mageia-8, you need to do this:
- Code: Select all
[[ $(pactl list | grep droidcam_audio) ]] || pacmd load-module module-alsa-source device=hw:Loopback,1,0 source_properties=device.description=droidcam_audio
...and the microphone will appear as "droidcam_audio" and work.
Microphone Test (droidcam_audio): http://webcammictest.com/check-mic.html
Additional information
---
https://github.com/dev47apps/droidcam/issues/54
https://github.com/dev47apps/droidcam/issues/60
I was never able to get the microphone to work without additional manipulations. Something should be started first, something second, something third: the kernel modules - videodev, v4l2loopback_dc, snd_aloop, DroidCam itself and the droidcam_audio device addition command. I have already tried all the recommended methods, but I can't do without manual intervention.
Question: Do you think, it is possible to properly connect the smartphone microphone via DroidCam in Mageia-8 without manual intervention? Thank you in advance...
Kind regards,
Alex