MediaStreamSourceClosedReason MediaStreamSourceClosedReason MediaStreamSourceClosedReason MediaStreamSourceClosedReason Enum

Definition

Specifies the reason why a MediaStreamSource was closed.

public : enum class MediaStreamSourceClosedReason
public enum MediaStreamSourceClosedReason
Public Enum MediaStreamSourceClosedReason
var value = Windows.Media.Core.MediaStreamSourceClosedReason.appReportedError;
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

AppReportedError AppReportedError AppReportedError AppReportedError

The app reported an error by calling the NotifyError method on the MediaStreamSource.

Done Done Done Done

No error has occurred.

MissingSampleRequestedEventHandler MissingSampleRequestedEventHandler MissingSampleRequestedEventHandler MissingSampleRequestedEventHandler

The MediaStreamSource object does not have an event handler for the SampleRequested event.

ProtectionSystemFailure ProtectionSystemFailure ProtectionSystemFailure ProtectionSystemFailure

A failure occurred while initializing the protection system

UnknownError UnknownError UnknownError UnknownError

An unspecified error has occurred.

UnsupportedEncodingFormat UnsupportedEncodingFormat UnsupportedEncodingFormat UnsupportedEncodingFormat

One or more media streams use an encoding format which cannot be handled by the media pipeline.

UnsupportedProtectionSystem UnsupportedProtectionSystem UnsupportedProtectionSystem UnsupportedProtectionSystem

Components needed to implement the protection system are missing.