• How to play video with the example Adobe Flash players (RTMP)

    This article describes how to play video on demand (VOD) and live streams using the example Adobe RTMP players that are included with Wowza media server software or downloaded from the Wowza website.

    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

    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:

      rtmp://[wowza-ip-address]/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:

      rtmp://[wowza-ip-address]/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.

    Wowza Streaming Engine and Wowza Media Server (version 3.5 and later)

    Use the Adobe RTMP player that's installed with the server software or download the example players to another computer and extract the example players from the compressed (zipped) folder.


    -OR-


    Double-click [install-dir]/examples/VideoOnDemandStreaming/FlashRTMPPlayer/player.html, enter the information below, and then click the Connect button.

    Server: rtmp://[wowza-ip-address]/vod
    Stream: mp4:sample.mp4

    To play the stream from a remote computer, copy the FlashRTMPPlayer folder to a web server, and then connect to: http://<webserver>/FlashRTMPPlayer/player.html.

    Note: Wowza Streaming Engine™ Manager includes a test Adobe RTMP player that's 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 Adobe RTMP tab, verify the Server and Media File Name information and then click Start. 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.

    Wowza Media Server 3.1.2 and earlier

    Use the Adobe RTMP player that's installed with the server software or download the example players to another computer and extract the example players from the compressed (zipped) folder.

    Double-click [install-dir]/examples/SimpleVideoStreaming/client/simplevideostreaming.html, enter the information below, and then click the Play button.

    Server: rtmp://[wowza-ip-address]/vod
    Stream: mp4:sample.mp4

    To play the stream from a remote computer, copy the client folder to a web server, and then connect to: http://<webserver>/client/simplevideostreaming.html.

    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:

    Server: rtmp://[wowza-ip-address]/vod/_definst_
    Stream: myVideos/mp4:sample.mp4

    Single URL: rtmp://[wowza-ip-address]/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:



    Wowza Streaming Engine and Wowza Media Server (version 3.5 and later)

    Use the Adboe RTMP player that's installed with the server software or download the example players to another computer and extract the example players from the compressed (zipped) folder.


    -OR-


    Double-click [install-dir]/examples/LiveVideoStreaming/FlashRTMPPlayer/player.html, enter the information below, and then click the Connect button.

    Server: rtmp://[wowza-ip-address]/live
    Stream: myStream

    To play the stream from a remote computer, copy the FlashRTMPPlayer folder to a web server, and then connect to: http://<webserver>/FlashRTMPPlayer/player.html.

    Note: Wowza Streaming Engine Manager includes a test Adobe RTMP player that's 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 Adobe RTMP tab, verify the Server and Stream information and then click Start. If your live stream has a different name, be sure to substitute it place of myStream in the Stream box.

    Wowza Media Server 3.1.2 and earlier

    Use the Adobe RTMP player that's installed with the server software or download the example players to another computer and extract the example players from the compressed (zipped) folder.

    Double-click [install-dir]/examples/LiveVideoStreaming/client/live.html, enter the information below, and then click the Play button.

    Server: rtmp://[wowza-ip-address]/live
    Stream: myStream

    To play the stream from a remote computer, copy the client folder to a web server, and then connect to: http://<webserver>/client/live.html.


    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.