Closed
Bug 915007
Opened 11 years ago
Closed 11 years ago
[B2G] The audio device name is an empty string
Categories
(Core :: WebRTC, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: schien, Assigned: schien)
References
Details
We need a readable microphone name while displaying device selection prompt dialog on FirefoxOS, but AudioDeviceAndroidOpenSLES simply set the device name as an empty string.
Source code is at http://dxr.mozilla.org/mozilla-central/source/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_opensles.cc#l617
Updated•11 years ago
|
blocking-b2g: --- → koi?
Assignee | ||
Comment 1•11 years ago
|
||
I did some experiment on FirefoxOS. The audio frame will be capture from line-in microphone while connecting a headset and will be instantly change to built-in microphone when headset is removed. So, there is only single audio device be available on FirefoxOS. I guess there is no need to provide a readable name for audio device.
Status: NEW → RESOLVED
blocking-b2g: koi? → ---
Closed: 11 years ago
Resolution: --- → WONTFIX
Comment 2•11 years ago
|
||
(In reply to Shih-Chiang Chien [:schien] from comment #1)
> I did some experiment on FirefoxOS. The audio frame will be capture from
> line-in microphone while connecting a headset and will be instantly change
> to built-in microphone when headset is removed. So, there is only single
> audio device be available on FirefoxOS. I guess there is no need to provide
> a readable name for audio device.
Are you sure? What happens in the case where I request gUM audio with the internal microphone and a bluetooth headset with a microphone?
Comment 3•11 years ago
|
||
And does this apply to all FirefoxOS devices, or just to a particular one?
Flags: needinfo?(schien)
Assignee | ||
Comment 4•11 years ago
|
||
This will work for all devices because the device name "front"/"back" is given by GonkCameraManager, see http://dxr.mozilla.org/mozilla-central/source/dom/camera/GonkCameraManager.cpp#l54
Flags: needinfo?(schien)
Assignee | ||
Comment 5•11 years ago
|
||
Sorry I mixed up with other bug. Just forget about what says in comment 4.
You need to log in
before you can comment on or make changes to this bug.
Description
•