MediaStreamSourceClosedReason Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the reason why a MediaStreamSource was closed.
public enum class MediaStreamSourceClosedReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MediaStreamSourceClosedReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MediaStreamSourceClosedReason
var value = Windows.Media.Core.MediaStreamSourceClosedReason.done
Public Enum MediaStreamSourceClosedReason
- Inheritance
-
MediaStreamSourceClosedReason
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
AppReportedError | 2 | The app reported an error by calling the NotifyError method on the MediaStreamSource. |
Done | 0 | No error has occurred. |
MissingSampleRequestedEventHandler | 6 | The MediaStreamSource object does not have an event handler for the SampleRequested event. |
ProtectionSystemFailure | 4 | A failure occurred while initializing the protection system |
UnknownError | 1 | An unspecified error has occurred. |
UnsupportedEncodingFormat | 5 | One or more media streams use an encoding format which cannot be handled by the media pipeline. |
UnsupportedProtectionSystem | 3 | Components needed to implement the protection system are missing. |