MFNETSOURCE_PROTOCOL_TYPE enumeration (mfidl.h)

Indicates the type of control protocol that is used in streaming or downloading.

Syntax

typedef enum _MFNETSOURCE_PROTOCOL_TYPE {
  MFNETSOURCE_UNDEFINED = 0,
  MFNETSOURCE_HTTP = 0x1,
  MFNETSOURCE_RTSP = 0x2,
  MFNETSOURCE_FILE = 0x3,
  MFNETSOURCE_MULTICAST = 0x4
} MFNETSOURCE_PROTOCOL_TYPE;

Constants

 
MFNETSOURCE_UNDEFINED
Value: 0
The protocol type has not yet been determined.
MFNETSOURCE_HTTP
Value: 0x1
The protocol type is HTTP. This includes HTTPv9, WMSP, and HTTP download.
MFNETSOURCE_RTSP
Value: 0x2
The protocol type is Real Time Streaming Protocol (RTSP).
MFNETSOURCE_FILE
Value: 0x3
The content is read from a file. The file might be local or on a remote share.
MFNETSOURCE_MULTICAST
Value: 0x4
The protocol type is multicast.

Note  Requires Windows 7 or later.

 

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header mfidl.h

See also

IMFNetSchemeHandlerConfig::GetSupportedProtocolType

MFNETSOURCE_STATISTICS_IDS

Media Foundation Enumerations

Supported Protocols