Figure out how to limit audio input stream lifetime to document lifetime |
|
Issue description
The current logic for clearing streams on navigation
void ForwardingAudioStreamFactory::DidFinishNavigation(
NavigationHandle* navigation_handle) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
if (!navigation_handle->IsSameDocument()) {
// Document of frame will be destroyed, don't keep any streams around.
CleanupStreamsBelongingTo(navigation_handle->GetRenderFrameHost());
}
}
sometimes crashes (saw it in try jobs). Maybe we have to filter out failed navigations or something like that. We can figure it out later. I'll go ahead and remove the navigation-listening code for now.
,
Oct 17
Max - is it still relevant? |
|
►
Sign in to add a comment |
|
Comment 1 by bugdroid1@chromium.org
, May 10 2018