MediaStreamSourceClosedReason MediaStreamSourceClosedReason MediaStreamSourceClosedReason MediaStreamSourceClosedReason MediaStreamSourceClosedReason Enum

Definition

Specifies the reason why a MediaStreamSource was closed.

public : enum class MediaStreamSourceClosedReason
enum class winrt::Windows::Media::Core::MediaStreamSourceClosedReason : int32_t
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 AppReportedError 2

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

Done Done Done Done Done 0

No error has occurred.

MissingSampleRequestedEventHandler MissingSampleRequestedEventHandler MissingSampleRequestedEventHandler MissingSampleRequestedEventHandler MissingSampleRequestedEventHandler 6

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

ProtectionSystemFailure ProtectionSystemFailure ProtectionSystemFailure ProtectionSystemFailure ProtectionSystemFailure 4

A failure occurred while initializing the protection system

UnknownError UnknownError UnknownError UnknownError UnknownError 1

An unspecified error has occurred.

UnsupportedEncodingFormat UnsupportedEncodingFormat UnsupportedEncodingFormat UnsupportedEncodingFormat UnsupportedEncodingFormat 5

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

UnsupportedProtectionSystem UnsupportedProtectionSystem UnsupportedProtectionSystem UnsupportedProtectionSystem UnsupportedProtectionSystem 3

Components needed to implement the protection system are missing.