Windows Media Services SDK banner art
PreviousNext

EnableHttpStreaming Property

Returns or sets a Boolean value specifying whether the Windows Media Station control can enable HTTP streaming.

Syntax

NSUnicastMgr.EnableHttpStreaming

Remarks

Changes to this property do not take effect until the server running Microsoft® Windows Media™ Services is restarted.

HTTP streaming must not be enabled simultaneously for both the Windows Media Unicast service and Windows Media Station service. If it is, an error can occur, and the Windows Media Station service can fail to load.

Example

Sub ToggleHttpStreaming
  ' Turns HTTP streaming on or off
  If NSChannelMgr.EnableHttpStreaming = True Then
    NSChannelMgr.EnableHttpStreaming = False
  Else
    NSChannelMgr.EnableHttpStreaming = True
  End If
  MsgBox ("HttpStreaming value: " & NSChannelMgr.EnableHttpStreaming)
End Sub
PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.