Closed
Bug 938070
Opened 11 years ago
Closed 11 years ago
[B2G] AudioDeviceModuleImpl::CreatePlatformSpecificObjects() returns -1 because ptrAudioDeviceUtility == NULL
Categories
(Core :: WebRTC: Audio/Video, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox28 | --- | fixed |
People
(Reporter: jhlin, Assigned: jesup)
Details
(Keywords: regression)
Attachments
(1 file)
1.34 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
In the commit for bug 932112, creation of ptrAudioDeviceUtility (http://dxr.mozilla.org/mozilla-central/source/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_impl.cc#299) will be skipped since WEBRTC_GONK is defined (http://dxr.mozilla.org/mozilla-central/source/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_impl.cc#284). This breaks the check later (http://dxr.mozilla.org/mozilla-central/source/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_impl.cc#409). Because of it, MediaEngineWebRTC::EnumerateAudioDevices() will fail to get audio device (http://dxr.mozilla.org/mozilla-central/source/content/media/webrtc/MediaEngineWebRTC.cpp#291) for gUM. Moving the creation of ptrAudioDeviceUtility out of '#if !defined(WEBRTC_GONK)' makes it work again.(See patch in attachment)
Attachment #831426 -
Flags: review?(rjesup)
Assignee | ||
Updated•11 years ago
|
Attachment #831426 -
Flags: review?(rjesup) → review+
Assignee | ||
Comment 1•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/fb9f3b754d03
Target Milestone: --- → mozilla28
Comment 2•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fb9f3b754d03
Assignee: nobody → rjesup
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 3•11 years ago
|
||
If I'm reading this correctly, this sounds like this is a regression for gUM audio that will prevent retrieval for the microphone stream. In that case, this sounds like a blocker.
blocking-b2g: 1.3? → 1.3+
Keywords: regression
Updated•11 years ago
|
status-firefox28:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•