Streaming for Apple Portable Devices Guide

Streaming for Apple Portable Devices Guide

Edgecast Streaming for Apple Portable Devices Disclaimer Care was taken in the creation of this guide. However, Edgecast cannot accept any responsibility for errors or omissions. There are no warranties, expressed or implied, including the warranty of merchantability or fitness for a particular purpose, accompanying this product. Trademark Information EDGECAST is a registered trademark of Verizon Digital Media Services Inc. APPLE, IPHONE, IPAD, IPOD TOUCH, MAC OS X, MEDIA STREAM SEGMENTER, AND QUICKTIME are registered trademarks of Apple Inc. WOWZA MEDIA SERVER is a registered trademark of Wowza Media Systems. About This Guide Streaming for Apple Portable Devices Version 1.70 8/28/2021 ©2021 Verizon Media. All rights reserved. Table of Contents Streaming & iOS Portable Devices ................................................................................................................ 1 Overview ................................................................................................................................................... 1 How Does It Work? ................................................................................................................................... 1 HTTP Live Streaming (HLS) .................................................................................................................... 2 On-Demand Streaming (HTTP Progressive Download) ......................................................................... 4 HLS Requirements ..................................................................................................................................... 5 Encoding .................................................................................................................................................... 7 How to Stream a Live Event to iOS Devices through a Wowza Media Server .............................................. 8 Summary ................................................................................................................................................... 8 Live Streaming Configuration Overview ................................................................................................... 8 Customer Origin & Origin Shield ........................................................................................................... 9 Edge CNAME Configuration ................................................................................................................ 10 Modifying the HTTP Host Header Option ........................................................................................... 10 Setting Up HTTP Rules Engine ............................................................................................................. 11 Wowza Media Server Configuration ................................................................................................... 13 Troubleshooting a Customer Origin/Edge CNAME Configuration .......................................................... 14 How to Stream On-Demand Content to iOS Devices .................................................................................. 16 Introduction ............................................................................................................................................ 16 HTTP Progressive Download ................................................................................................................... 16 Encode Video ...................................................................................................................................... 16 Upload Video....................................................................................................................................... 17 Stream Video ....................................................................................................................................... 17 HTTP Live Streaming ............................................................................................................................... 18 Encode and Segment Video ................................................................................................................ 18 Upload Video....................................................................................................................................... 18 Stream Video ....................................................................................................................................... 18 Table of Contents Edgecast Page i Appendix ..................................................................................................................................................... 20 References .............................................................................................................................................. 20 Table of Contents Edgecast Page ii Streaming & iOS Portable Devices Overview Live and on-demand audio and/or video can be streamed to an iPhone, iPad, or iPod touch over HTTP for playback on its built-in media player application. This built-in media player application natively supports several video formats, which allows the iOS device to play on-demand content by performing a simple HTTP request. Live events, on the other hand, require additional processing (i.e., stream segmentation). Apple identifies the process through which the built-in media player interprets and plays segmented video as HTTP Live Streaming (HLS). In addition to streaming media, it provides support for media encryption, user authentication over HTTPS, and intelligent dynamic stream selection according to the detected network bandwidth. Intelligent dynamic stream selection allows an iPhone, iPad, or iPod touch to automatically switch between different bit rate streams according to the current speed of your client's connection. Dynamically switching between streams can enhance the user experience while switching or connecting through EDGE, 3G, WiFi, and cellular networks. How Does It Work? We provide various solutions through which you can stream live and on-demand content to iOS devices. Each streaming solution supports a different feature set. A brief description is provided below for each streaming solution. • HLS (CDN - HLS): Leverage HTTP Live Streaming without having to purchase & implement third-party server software. Detailed information on how to implement this solution can be found in the HTTP Streaming Guide. • HLS (Wowza): A third-party server software that supports HTTP Live Streaming. • HLS (CDN – Smooth Streaming): Allows you to generate streams for both Silverlight- compatible players and iOS devices. • HLS (CDN – Segmented Content): A file segmenter can be used to pre-package on- demand content for iOS consumption. Once this package is hosted on an origin server, iOS devices can stream it dynamically via a link to the M3U8 index file. • HTTP Progressive Download: Stream on-demand content to iOS devices using a standard CDN or edge CNAME URL. The iOS device will stream content using sequential byte-range requests. Streaming for Apple Portable Devices Edgecast Page 1 The following table describes the iOS streaming capabilities of each solution. Streaming Solution CDN Only? Technology Live On-Demand Dynamic Streaming Streaming Streaming HTTP Live Streaming Yes HLS Wowza Media Server Requires HLS Wowza Media Server Smooth Streaming Yes HLS File Segmenter Requires a HLS File Segmenter HTTP Progressive Yes HTTP Download HTTP Live Streaming (HLS) In the previous section, a table indicated the various ways through which the HTTP Live Streaming technology can be implemented. This section will provide a high-level overview on how content is streamed for each solution. Note: Keep in mind that HTTP Live Streaming can be used to stream both live and on-demand content. Live Streaming The process through which a live event can be streamed to iOS devices is indicated below. 1. A streaming server must transform your live event feed into media chunks and package them into a stream. • HTTP Live Streaming (CDN): Create an event for the live stream. • Smooth Streaming: Create a publishing point and configure it to generate an iOS- compatible stream. • Third-party streaming server: A third-party streaming server (e.g., Wowza) should be configured as a customer origin on the HTTP Large platform. 2. Encode the desired audio/video content to an iOS supported format. A media encoder can perform this process for a live event as it occurs. • HTTP Live Streaming (CDN): Configure the encoder to publish stream(s) to the publishing point URLs defined for the desired event. • Smooth Streaming: Configure the encoder to publish stream(s) to the publishing point URLs defined for the desired publishing point. Streaming for Apple Portable Devices Edgecast Page 2 • Third-party streaming server: Configure the encoder to publish streams to your third-party streaming server. 3. A media player interprets the index file and then requests the stream files in the order that they are listed. This allows it to play the streaming video without pauses or gaps between stream segments. • HTTP Live Streaming (CDN): Configure the media player to request the live stream using an HLS-specific playback URL. • Smooth Streaming: Configure the media player to request the live stream using an iOS-specific player URL. • Third-party streaming server: Configure the media player to request the live stream using an edge CNAME URL that points to the streaming server. On-Demand Streaming (CDN & Encoded Media) We offer an HLS streaming

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    24 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us