DescriptionTab Audio Mirroring: WebContentsAudioInputStream is a new implementation which represents and manages the lifetime of a tab audio mirroring session. WCAIS utilizes the audio mixing implementation provided by media::VirtualAudio*putStream. The result is a single audio input data stream consisting of all of one tab's audio output.
Updated AudioInputRendererHost to use WCAIS for tab-level audio mirroring, rather than the browser-wide audio mirroring provided via AudioManager.
Changed lifecycle semantics of media::VirtualAudio*putStream to allow the use of these classes outside of AudioManager's ownership. Cleaned up some suspicious multiple-message-loop variable passing, and a bunch of little things.
BUG=153392
TEST=Run content_unittests and media_unittests.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177605
Patch Set 1 : Initial #Patch Set 2 : Refactored ref-counted part of WCAIS to internal object. #Patch Set 3 : Fixed issues with losing mirroring on tab navigations. #
Total comments: 26
Patch Set 4 : Style tweaks and added comments per Tommi's suggestions. #Patch Set 5 : Destructors hate ASSERT() in unit tests. #
Total comments: 14
Patch Set 6 : Replace RunAfterClosed() scheme with 'after close callback' passed to ctor. #
Total comments: 16
Patch Set 7 : Put WebContentsTracker in its own files. Clean-up 'do-nothing' callbacks. #
Total comments: 2
Patch Set 8 : Rebased. #Messages
Total messages: 14 (0 generated)
|