How to: Playback with an Apple HLS stream as M3U8

How to play a video-on-demand (VOD) or live stream from Wowza Streaming Engine™ media server software on Apple iOS devices.

A. LIVE STREAM

This section describes how to play a live stream named myStream from a live application.

After sending a live stream to Wowza Streaming Engine, enter the following URL into Safari on the iOS device:

http://[ address ]:1935/[ application-name ]/myStream/playlist.m3u8

This stream can also be played by using Safari or QuickTime 10. x on a computer that’s running OS X 10.6 or later.

If your live stream has a different name, use it instead of myStream in the playback URL.

B. VOD (Video On-Demand) mp4 file:

This section describes how to play the default [ install-dir ]/content/sample.mp4 video file from a VOD application.

For details about how to create a Wowza Streaming Engine application for VOD streaming, see Set up video-on-demand streaming in Wowza Streaming Engine.

Enter the following URL into Safari on the iOS device:

http://[ address ]:1935/[ application-name ]/mp4:sample.mp4/playlist.m3u8

This stream can also be played by using Safari or QuickTime 10. x on a computer that’s running OS X 10.6 or later.

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 playback URL.

Note: In Wowza Streaming Engine, MP4 is the default stream format and you’re not required to use the mp4: stream name prefix to play the sample video file. For example: http://[ address ]:1935/[ application-name ]/sample.mp4/playlist.m3u8

To play content that’s not in the content root folder ( [ install-dir ]/content ), 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://[ address ]:1935/[ application-name ]/definst/myVideos/mp4:sample.mp4/playlist.m3u8


_______________________________________________