diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-28 10:36:32 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-28 10:36:32 +0000 |
commit | bb015e6a76bd87dabfdaaaba2ab7ec3b4b6427a5 (patch) | |
tree | a8848ac54ed2e859dc7aa2c37ea1447cf384a67b /chromeos | |
parent | 9bb669dd6178b407ee0c4f0cd776696b239ebe82 (diff) | |
download | chromium_src-bb015e6a76bd87dabfdaaaba2ab7ec3b4b6427a5.zip chromium_src-bb015e6a76bd87dabfdaaaba2ab7ec3b4b6427a5.tar.gz chromium_src-bb015e6a76bd87dabfdaaaba2ab7ec3b4b6427a5.tar.bz2 |
Fix a problem with no video with chromecast
This patch is to fix a regression in M32 for chromecast.
When calling tabCapture() to create a MediaStream the bug caused a
video stream to not be created. This is due to the fast that device id
is empty for tab capture streams.
This led the code in MediaStreamImpl::FindLocalSource() to think that
the new video device is already created. The consequence is there's no
video device added and a duplicated audio stream is added to
PeerConnection.
The solution to this problem is simple: add device type to the check.
This should ensure that audio and video devices do not match.
BUG=324174
Review URL: https://codereview.chromium.org/93823002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237757 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos')
0 files changed, 0 insertions, 0 deletions