Windows Media Services SDK banner art
PreviousNext

EnableHttpStreaming Property

Returns or sets a Boolean value specifying whether the Windows Media Unicast Admin control is to enable HTTP streaming.

Syntax

NSUnicastMgr.EnableHttpStreaming

Remarks

Changes to this property do not take effect until the Windows Media Unicast service is stopped and restarted. This can be done remotely by using Microsoft® Visual Basic®.

HTTP streaming must not be enabled simultaneously for both the Windows Media Unicast service and the Windows Media Station service. If it is, an error occurs, and the Windows Media Station service is not loaded.

Example

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


© 1996-1999 Microsoft Corporation. All rights reserved.