• How to play video with the example MPEG-DASH players (DASH)

    This article describes how to play video on demand (VOD) and live streams using the example MPEG-DASH players that are included with Wowza Streaming Engine software or downloaded from the Wowza website. MPEG-DASH streaming is generally similar to proprietary adaptive streaming technologies such as Apple HTTP Live Streaming (Apple HLS), Adobe HTTP Dynamic Streaming (Adobe HDS), and Microsoft Smooth Streaming.

    Notes:
    • Requires Wowza Streaming Engine™ software.

    • If you are using Wowza Streaming Engine 4.2 or earlier, the example MPEG-DASH players included with your install are based on the dash.js project library. If your Wowza Streaming Engine version is later than 4.2, the example MPEG-DASH players are based on the Shaka Player library. The example players support DASH streaming playback of single and adaptive bitrate VOD and live MP4 streams.

    • The example MPEG-DASH players are beta versions so unexpected results may occur during playback.

    • In the article examples, [wowza-ip-address] is the IP address or domain name of the Wowza media server.

    Contents


    Introduction
    Video On Demand (VOD) playback
    Live playback
    DASH player integration

    Introduction


    Wowza Streaming Engine software includes support for Dynamic Adaptive Streaming over HTTP (DASH) as specified by the MPEG-DASH ISO/IEC 23009-1. MPEG-DASH streaming is generally very similar to proprietary adaptive streaming technologies such as Apple HTTP Live Streaming (Apple HLS), Adobe HTTP Dynamic Streaming (Adobe HDS), and Microsoft Smooth Streaming. In Wowza Streaming Engine 4.0, MPEG-DASH is supported for both video on demand (VOD) and live streaming. The software can also protect VOD and live MPEG-DASH content using the Common Encryption (CENC) standard. For more information about DASH streaming support in Wowza Streaming Engine software, see How to do MPEG Dash streaming.

    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.

    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.

    Use the MPEG-DASH 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/VideoOnDemandStreaming/MPEGDASHPlayer/player.html, enter the information below, and then click the Connect button.

    Stream: http://[wowza-ip-address]:1935/vod/mp4:sample.mp4/manifest.mpd

    Note: The MP4 stream format is the default in Wowza Streaming Engine and you're not required to use the mp4: stream name prefix to play the sample video file. For example:

    http://[wowza-ip-address]:1935/vod/sample.mp4/manifest.mpd
    To play the stream from a remote computer, copy the MPEGDASHPlayer folder to a web server, and then connect to: http://<webserver>/MPEGDASHPlayer/player.html.

    Note: Wowza Streaming Engine Manager includes a test MPEG-DASH 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 MPEG DASH 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.

    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:

    http://[wowza-ip-address]:1935/vod/_definst_/myVideos/mp4:sample.mp4/manifest.mpd

    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:



    Use the MPEG-DASH 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/MPEGDASHPlayer/player.html, enter the information below, and then click the Connect button.

    Stream: http://[wowza-ip-address]:1935/live/myStream/manifest.mpd

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

    Note: Wowza Streaming Engine Manager includes a test MPEG-DASH 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 MPEG DASH 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.

    DASH player integration


    Many MPEG-DASH players are being developed for various platforms. The following is a list of third-party players that are generally compatible with the MPEG-DASH implementation in Wowza Streaming Engine software:



    Originally Published: For Wowza Streaming Engine 4.0.0 on 02-11-2014.
    Updated: For Wowza Streaming Engine 4.3 on 10-06-2015.

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