webrtc/talk
xians@webrtc.org 38d88816e3 Fix the audio source failure due to unsupported constraints.
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
2014-08-13 13:51:58 +00:00
..
app/webrtc Fix the audio source failure due to unsupported constraints. 2014-08-13 13:51:58 +00:00
build Remove more dependencies on openssl, add dependency on boringssl. Continues on r6798 2014-08-11 21:06:30 +00:00
examples Add new OWNERS file to talk/examples. 2014-08-07 20:01:34 +00:00
media Move default-recv-channels to a separate class. 2014-08-12 23:17:13 +00:00
p2p Encoding and Decoding of TCP candidates as defined in RFC 6544. 2014-08-08 22:29:20 +00:00
session (Auto)update libjingle 72839629-> 72847605 2014-08-07 22:09:08 +00:00
sound (Auto)update libjingle 72097588-> 72159069 2014-07-29 17:36:52 +00:00
xmllite (Auto)update libjingle 72097588-> 72159069 2014-07-29 17:36:52 +00:00
xmpp (Auto)update libjingle 72097588-> 72159069 2014-07-29 17:36:52 +00:00
COPYING Libjingle in webrtc needs updated AUTHORS, COPYING, LICENSE_THIRD_PARTY AND README. 2013-07-16 18:04:56 +00:00
libjingle_examples.gyp (Auto)update libjingle 71753329-> 71766184 2014-07-23 19:07:53 +00:00
libjingle_media_unittest.isolate Pass GYP DEPTH variable to isolate. 2014-06-13 09:02:15 +00:00
libjingle_p2p_unittest.isolate Pass GYP DEPTH variable to isolate. 2014-06-13 09:02:15 +00:00
libjingle_peerconnection_unittest.isolate Pass GYP DEPTH variable to isolate. 2014-06-13 09:02:15 +00:00
libjingle_sound_unittest.isolate Pass GYP DEPTH variable to isolate. 2014-06-13 09:02:15 +00:00
libjingle_tests.gyp (Auto)update libjingle 72682155-> 72785180 2014-08-07 04:47:36 +00:00
libjingle_unittest.isolate Pass GYP DEPTH variable to isolate. 2014-06-13 09:02:15 +00:00
libjingle.gyp (Auto)update libjingle 72839629-> 72847605 2014-08-07 22:09:08 +00:00
LICENSE_THIRD_PARTY Libjingle in webrtc needs updated AUTHORS, COPYING, LICENSE_THIRD_PARTY AND README. 2013-07-16 18:04:56 +00:00
OWNERS Make everyone an OWNER for .gyp/.gypi add/delete purposes, talk/ edition. 2014-04-14 20:31:16 +00:00
PRESUBMIT.py PRESUBMIT.py: accept variants on the copyright message that are present in the codebase. 2014-05-23 17:27:18 +00:00