-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
confirmedThe issue has been confirmedThe issue has been confirmedfeature-requestNew feature or requestNew feature or requesthelp-wantedExtra attention is neededExtra attention is neededneeds-researchResearch might be neededResearch might be needed
Description
Hello everyone, everything good?
I'm trying to implement USB audio capture, whether it's an external USB microphone or others (like a webcam).
Currently Android allows you to use (API 23) AudioRecord and specify the preferred device for recording with the setPreferredDevice function, I see the possibility of using the read function to capture the audio buffer to be able to send it to webrtc.
The question is: how do I pass the audio stream to webrtc (like we did with the UVC video for example)?
Any ideas on how to proceed?
NOTE: the device in question appears in the code snippet below:
AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
AudioDeviceInfo[] deviceInfos = audioManager.getDevices(AudioManager.GET_DEVICES_INPUTS);The device type is: AudioDeviceInfo.TYPE_USB_DEVICE;
Metadata
Metadata
Assignees
Labels
confirmedThe issue has been confirmedThe issue has been confirmedfeature-requestNew feature or requestNew feature or requesthelp-wantedExtra attention is neededExtra attention is neededneeds-researchResearch might be neededResearch might be needed