AdaptiveMediaSourceDiagnosticType Enum

Definition

Specifies the type of diagnostic event that is associated with a AdaptiveMediaSourceDiagnostics.DiagnosticAvailable.

public enum class AdaptiveMediaSourceDiagnosticType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum AdaptiveMediaSourceDiagnosticType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum AdaptiveMediaSourceDiagnosticType
var value = Windows.Media.Streaming.Adaptive.AdaptiveMediaSourceDiagnosticType.manifestUnchangedUponReload
Public Enum AdaptiveMediaSourceDiagnosticType
Inheritance
AdaptiveMediaSourceDiagnosticType
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

BitrateDisabled 7

The AdaptiveMediaSource will not attempt to download any more segments for a particular bitrate.   This can occur if the web server returns a 410 – Gone response when downloading a manifest update for a particular bitrate if the server implements server side congestion control. It can also occur if the AdaptiveMediaSource is unable to download either the initialization segment or decryption key for a particular bitrate.

FatalMediaSourceError 8

Introduced in Windows.Foundation.UniversalApiContract v5. The AdaptiveMediaSource passed an error to the media pipeline that caused playback to stop. This diagnostic is not intended to replace media failure events provided by the MediaPlayer, such as the MediaFailed event. Instead, this diagnostic can be useful for correlating errors originating from the media source with potential corruption of error conditions with the content delivery network.

ManifestMismatchUponReload 1

During playback of live content, the new manifest represents a different presentation than the previously downloaded manifest. This will also result in a playback error event for the associated MediaElement or MediaPlayer.

ManifestSignaledEndOfLiveEventUponReload 2

During the playback of live content, the previous manifest did not specify a duration or contain an end of list indicator, and the new updated manifest does specify a duration or end of list indicator.  This means that a live presentation will end after the remaining media segments are downloaded and played.

ManifestUnchangedUponReload 0

During playback of live content, the new manifest is identical to the last one downloaded.  For HLS where the manifest is updated continuously to add new segments to the end of the playlist, this may indicate a stall in the server or encoding process.

MediaSegmentSkipped 3

The AdaptiveMediaSource skipped an entire media segment across all bitrates.  This could happen due to corruption on the CDN or missing resources. This will typically result in a gap in playback and video/audio artifacts.

ResourceNotFound 4

The AdaptiveMediaSource got a resource not found error when downloading a particular resource. This may indicate a problem with the content manifest or an issue with the CDN.

ResourceParsingError 6

The AdaptiveMediaSource encountered an error while parsing a segment or key.  This can indicate corruption on the CDN or an invalid decryption key.

ResourceTimedOut 5

The AdaptiveMediaSource was unable to fully download a particular resource in the allotted amount of time.  The download may be attempted again, or the AdaptiveMediaSource may switch to another bitrate to continue filling the buffer at the current download position.

Remarks

Version history

Windows version SDK version Value added
1709 16299 FatalMediaSourceError

Applies to