Starting and stopping a broadcast

    You can start and stop broadcasting for each playlist you create.

Starting a broadcast

    To start broadcasting media from a playlist:
    1 Open a terminal window.
    2 If the playlist you are broadcasting includes a large number of media files, run a "preflight" check before you start the broadcast by typing this command:
    PlaylistBroadcaster <broadcast_filepath> -preflight
    You replace <broadcast_filepath> with the complete or relative pathname of the broadcast description file for this broadcast.
    Preflight checks each media file in the playlist to make sure it can be broadcast. It also creates a Session Description Protocol (SDP) file, if one doesn't already exist. The SDP file must be stored in the media directory you specified when you set up Darwin Streaming Server.
    After the preflight check is complete, you see information about the broadcast description file and a list of any problems that are found.
    3 Type this command:
    PlaylistBroadcaster <broadcast_filepath>
    You replace <broadcast_filepath> with the complete or relative pathname of the broadcast description file for this broadcast.
    If you didn't run a preflight check, and an SDP file doesn't already exist, then an SDP file is created when broadcasting starts.

    Note: If you are restarting a broadcast after you made changes to the broadcast description file, be sure to remove the SDP file from the Darwin Streaming Server media directory before restarting the broadcast. Removing the file forces PlaylistBroadcaster to create a new SDP file.

Stopping a broadcast

    If you are broadcasting only one playlist, open a terminal shell and type the following command:

    PlaylistBroadcaster -stop 1

    If you are broadcasting more than one playlist, you need to list the broadcasts to find the broadcast index for the playlist you want to stop broadcasting. Then open a terminal window and type the following command:

    PlaylistBroadcaster -stop <broadcast index>

    You replace <broadcast index> with the index of the broadcast you want to stop.

Related topic

 


Table of contents