New issue
Advanced search Search tips

Issue 703110 link

Starred by 0 users

Issue metadata

Status: Assigned
Owner:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Consider making MediaStreamProvider not ref counted

Project Member Reported by guidou@chromium.org, Mar 20 2017

Issue description

These providers are created by MediaStreamManager and lifetime management would be simpler if they were exclusively owned by MSM.

It doesn't really make much sense for MediaStreamProviders to outlive the MediaStreamManager, and several uses of refcounting could be replaced with weak pointers.

Issue 526638 is an example crash whose analysis is made more difficult by having VideoCaptureManager as refcounted.
 

Sign in to add a comment