Dela via


MediaStreamSourceErrorStatus Enum

Definition

Specifies errors related to MediaStreamSource.

public enum class MediaStreamSourceErrorStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MediaStreamSourceErrorStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MediaStreamSourceErrorStatus
var value = Windows.Media.Core.MediaStreamSourceErrorStatus.other
Public Enum MediaStreamSourceErrorStatus
Inheritance
MediaStreamSourceErrorStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Other 0

An unspecified error has occurred in the application.

OutOfMemory 1

The application ran out of memory.

FailedToOpenFile 2

The application failed to open a file

FailedToConnectToServer 3

The application failed to connect to a streaming media server or web server.

ConnectionToServerLost 4

The network connection to the server was lost.

UnspecifiedNetworkError 5

An unspecified network related error has occurred.

DecodeError 6

The application encountered an error while attempting to decode the media data.

UnsupportedMediaFormat 7

The application does not support the media storage format or media encoding format.

Applies to