Stopping Streams and Stations

The examples given so far in this section only create and start a multicast. You could stop and delete the stations and streams by using the NetShow Administrator, but you can also do it directly by using the NetShow SDK. For example, you can add a button in your HTML code to stop a stream:

<INPUT TYPE=BUTTON NAME=StopStream VALUE="Stop Stream">

and handling it with this code:

Sub StopStream_OnClick
  MyStream.Stop
End Sub

Beyond this, you can create full-featured applications to control every aspect of a multicast.

© 1996-1998 Microsoft Corporation. All rights reserved.