Windows.Media.Core.MediaStreamSource.Closed
February 8, 2017 ยท View on GitHub
-description
Occurs when the MediaStreamSource is shutting down.
-remarks
If the MediaStreamSource is shutting down due to an error, the Reason property on the MediaStreamSourceClosedRequest object, which can be obtained from MediaStreamSourceClosedEventArgs, provides information about the nature of the error.
Upon receiving this event, the application should remove all of its event handlers from the MediaStreamSource object, and refrain from further use of this instance of the MediaStreamSource object.
Applications are not required to have a handler for this event.