Share via


WMS_ACTIVE_STREAM_TYPE

banner art

Previous Next

WMS_ACTIVE_STREAM_TYPE

The WMS_ACTIVE_STREAM_TYPE enumeration type identifies whether the content in the active stream is audio, video, or some other type. The active stream is the one that is currently being sent by the server.

Syntax

  typedef enum WMS_ACTIVE_STREAM_TYPE{
  WMS_STREAM_TYPE_VIDEO  = 0,
  WMS_STREAM_TYPE_AUDIO  = 1,
  WMS_STREAM_TYPE_OTHER  = 2
};

Members

WMS_STREAM_TYPE_VIDEO

The stream contains video data.

WMS_STREAM_TYPE_AUDIO

The stream contains audio data.

WMS_STREAM_TYPE_OTHER

The stream contains data that is neither video nor audio, such as script data or subtitles.

Remarks

This enumeration is used by the Type property on the IWMSActiveStream interface. You can also use IWMSActiveStream to retrieve the name and maximum bit rate of the active stream. The IWMSActiveStreams interface contains a collection of IWMSActiveStream interfaces.

Requirements

Header: wmsxmldomextensions.h.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003 family, Windows Server 2008 family.

See Also (General)

See Also (Visual Basic .NET)

See Also (C#)

See Also (C++)

Previous Next