New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 673291 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
OOO Dec 22 - Jan 8
Closed: Dec 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocking:
issue 663546



Sign in to add a comment

WebMediaPlayer: Fallback to null sink on media thread instead of main renderer thread.

Project Member Reported by olka@chromium.org, Dec 12 2016

Issue description

Fallback to null audio sink has recently been introduced in WebMediaPlayer in case audio sink is not healthy. To check audio sink health we synchronously wait for device authorization result. Fallback should be moved to media thread to avoid locking main renderer thread.
 

Comment 1 by olka@chromium.org, Dec 12 2016

Description: Show this description

Comment 3 by olka@chromium.org, Dec 12 2016

Labels: Merge-Request-56
Requesting merge for https://bugs.chromium.org/p/chromium/issues/detail?id=668250#c9 separately, to clarify approval received in https://bugs.chromium.org/p/chromium/issues/detail?id=668250#c10

Comment 4 by olka@chromium.org, Dec 12 2016

Status: Fixed (was: Started)
Did this one get merged? Doesn't have a commit link.

Comment 6 by olka@chromium.org, Dec 12 2016

Not yet. Should I consider the merge approved? I was not sure based on the comments from  issue 668250  and requested merge separately
Probably the tool will get confused since there is no commit listed here.

Comment 8 by olka@chromium.org, Dec 12 2016

Oh, so what should I do?
Feel free to merge it along with the other bug. You might reach out to the M56 release owner listed on go/chromeschedule so they can investigate too.

Comment 11 by dimu@chromium.org, Dec 13 2016

Labels: -Merge-Request-56 Merge-Approved-56 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M56 (branch: 2924)
Project Member

Comment 12 by bugdroid1@chromium.org, Dec 13 2016

Labels: -merge-approved-56 merge-merged-2924
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a8d73a9f728dd8d305feadb1a1febc75c40e13b3

commit a8d73a9f728dd8d305feadb1a1febc75c40e13b3
Author: olka <olka@chromium.org>
Date: Tue Dec 13 12:03:39 2016

Fallback to null sink moved from WebMediaPlayer to WebAudioSourceProvider::Initialize(), so that we do it on media thread. UMA stats for AudioOutputDevice status and for fallbacks to null sink.

BUG= 668506 , 668201 ,663546, 626862 , 673291 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
TBR=dalecurtis@chromium.org,dcheng@chromium.org,holte@chromium.org
NOTRY=true
NOPRESUBMIT=true

Review-Url: https://codereview.chromium.org/2533443002
Cr-Commit-Position: refs/heads/master@{#436614}
(cherry picked from commit e4ba2ed8354d01411848143efbe8d17b41e1853b)

Review-Url: https://codereview.chromium.org/2569883003
Cr-Commit-Position: refs/branch-heads/2924@{#472}
Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059}

[modify] https://crrev.com/a8d73a9f728dd8d305feadb1a1febc75c40e13b3/content/common/media/audio_messages.h
[modify] https://crrev.com/a8d73a9f728dd8d305feadb1a1febc75c40e13b3/content/renderer/media/html_audio_element_capturer_source_unittest.cc
[modify] https://crrev.com/a8d73a9f728dd8d305feadb1a1febc75c40e13b3/media/audio/audio_output_device.cc
[modify] https://crrev.com/a8d73a9f728dd8d305feadb1a1febc75c40e13b3/media/audio/null_audio_sink.cc
[modify] https://crrev.com/a8d73a9f728dd8d305feadb1a1febc75c40e13b3/media/base/output_device_info.h
[modify] https://crrev.com/a8d73a9f728dd8d305feadb1a1febc75c40e13b3/media/blink/webaudiosourceprovider_impl.cc
[modify] https://crrev.com/a8d73a9f728dd8d305feadb1a1febc75c40e13b3/media/blink/webaudiosourceprovider_impl.h
[modify] https://crrev.com/a8d73a9f728dd8d305feadb1a1febc75c40e13b3/media/blink/webaudiosourceprovider_impl_unittest.cc
[modify] https://crrev.com/a8d73a9f728dd8d305feadb1a1febc75c40e13b3/media/blink/webmediaplayer_impl.cc
[modify] https://crrev.com/a8d73a9f728dd8d305feadb1a1febc75c40e13b3/tools/metrics/histograms/histograms.xml

Sign in to add a comment