Windows Media Services SDK banner art
PreviousNext

Channel.GetActiveStream Method

Gets the active Stream object.

Syntax

NSChannelMgr.Channels(ChannelName).GetActiveStream

Return Values

Returns the active Stream object.

Example

Set MyStation = NSChannelMgr.Channels.Find( "My Channel")
' Stream objects MonoStream and StereoStream assumed in _
' this example to have been created before
If MyStation.GetActiveStream Is MonoStream Then
   MyStation.SetActiveStream StereoStream
End If

See Also

Channel.GetID, Channel.SetActiveStream, Channel.InitializeFromNSC, Channel.WriteNSC, Channel.Close, Channel.DistributeFrom

PreviousNext


© 1996-1999 Microsoft Corporation. All rights reserved.