• How to play video on RTSP/RTP players

    This article describes how to play video on demand (VOD) and live streams on RTSP/RTP-based players.

    Note: In the article examples, [wowza-ip-address] is the IP address or domain name of the server running the Wowza™ media server software.

    Contents


    Video On Demand (VOD) playback
    Live playback
    More resources

    Video On Demand (VOD) playback


    This section describes how to play the default [install-dir]/content/sample.mp4 video file from an application named vod. If your video file has a different name or if you're streaming from an application that has a different name, be sure to substitute the values in the sample URLs in this section.

    Notes:
    • If you use the example players in a Wowza Streaming Engine™ 4.0 software installation, the MP4 stream format is the default and you're not required to use the mp4: stream name prefix to play the sample video file. For example:

      rtsp://[wowza-ip-address]:1935/vod/sample.mp4

      If you use the example players in a Wowza Media Server™ software installation, the FLV stream format is the default and you MUST use the mp4: stream name prefix to play the sample video file. For example:

      rtsp://[wowza-ip-address]:1935/vod/mp4:sample.mp4

    • Wowza Streaming Engine 4.0 is the latest version of the Wowza media server software formerly known as "Wowza Media Server."
    For details about how to create a Wowza media server application for streaming VOD content to all supported player technologies, see How to set up video on demand streaming.

    Enter the following URL into the RTSP/RTP player:

    URL: rtsp://[wowza-ip-address]:1935/vod/mp4:sample.mp4

    Note: Wowza Streaming Engine™ Manager includes test players that are preconfigured to play the default sample.mp4 video file. On your VOD application page, click the Test Players button in the upper-right corner. In the Test Players window, on the Mobile tab, verify the Server and Media File Name information and then enter the Android/Other mobile streaming URL into the RTSP/RTP player on the device. To play your own content, copy it to the server [install-dir]/content folder and substitute its file name in place of sample.mp4 in the Media File Name box. To send the URL to an email application on the device, enter your email address in Send These Links To Me and then click Email Me.

    Playback of content outside of the content root

    To play content that's not in the content root folder ([install-dir]/content), you must add the default application instance name to the playback URL. For example, if the sample.mp4 video file is in [install-dir]/myVideos/sample.mp4, the playback URL is:

    rtsp://[wowza-ip-address]:1935/vod/_definst_/myVideos/mp4:sample.mp4

    Live playback


    This section describes how to play a live stream named myStream from an application named live. If your live stream has a different name or if you're streaming from an application that has a different name, be sure to substitute the values in the sample URLs in this section.

    For details about how to send a stream from your encoder to a Wowza media server, see one of the following live streaming tutorials:



    Enter the following URL into the RTSP/RTP player:

    URL: rtsp://[wowza-ip-address]:1935/live/myStream

    Note: Wowza Streaming Engine Manager includes test players that are preconfigured to play a live stream named myStream. On your live application page, click the Test Players button in the upper-right corner. In the Test Players window, on the Mobile tab, verify the Server and Stream information and then enter the Android/Other mobile streaming URL into the Safari web browser on the device. If your live stream has a different name, be sure to substitute it in place of myStream in the Stream box. To send the URL to an email application on the device, enter your email address in Send These Links To Me and then click Email Me.

    More resources





    Originally Published: 02-11-2014.
    Updated: For Wowza Streaming Engine 4.0.0 on 02-11-2014.

    If you're having problems or want to discuss this article, post in our forum.