38d88816e3
Some constraints, like kEchoCancellation, kMediaStreamAudioDucking are supported in Chrome but not in Libjingle, if the users set it in mandatory, LocalAudioSource::Initialize() will fail the getUserMedia call. This patch fixes the problem by fully initializing the LocalAudioSource even though some constraints are not supported in libjingle. BUT=crbug/398080 TEST=manual test: var constraints = {audio: { mandatory: { googEchoCancellation: true } }}; getUserMedia(constraints, gotStream, gotStreamFailed); verify you get a gotStream callback R=henrika@webrtc.org, tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/21049004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6885 4adac7df-926f-26a2-2b94-8c16560cd09d |
||
---|---|---|
.. | ||
app/webrtc | ||
build | ||
examples | ||
media | ||
p2p | ||
session | ||
sound | ||
xmllite | ||
xmpp | ||
COPYING | ||
libjingle_examples.gyp | ||
libjingle_media_unittest.isolate | ||
libjingle_p2p_unittest.isolate | ||
libjingle_peerconnection_unittest.isolate | ||
libjingle_sound_unittest.isolate | ||
libjingle_tests.gyp | ||
libjingle_unittest.isolate | ||
libjingle.gyp | ||
LICENSE_THIRD_PARTY | ||
OWNERS | ||
PRESUBMIT.py |