DescriptionFix for closing the desktop sharing notification bar when the shared window is closed.
Previously MediaStreamManager is not notified when a video capturing device has stopped due to error (e.g. the shared window is closed), so the notification UI is still shown when the stream already stopped.
This change fixes it by populating the state to MediaStreamManager through VideoCaptureHost --> VidoeCaptureManager --> MediaStreamProviderListner.
BUG=360181
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267045
Patch Set 1 #
Total comments: 24
Patch Set 2 : address comments and add a test #
Total comments: 6
Patch Set 3 : #Messages
Total messages: 30 (0 generated)
|