<!--
{
  "documentType" : "article",
  "framework" : "HTTP Live Streaming",
  "identifier" : "/documentation/HTTP-Live-Streaming/example-playlists-for-http-live-streaming",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Example playlists for HTTP Live Streaming"
}
-->

# Example playlists for HTTP Live Streaming

View and compare playlists for different HLS applications.

## Overview

HTTP Live Streaming sends audio and video as a series of small files, typically of
about 6 seconds duration, called *media segment files*. An index file, or playlist,
provides an ordered list of the URLs of the media segment files. Index files for
HTTP Live Streaming are saved as M3U8 playlists, an extension of the M3U format used
for MP3 playlists. The URL of the index file is accessed by clients, which then request
the indexed files in sequence.

You can use the Apple HTTP Live Streaming tools to generate playlists. These tools
are frequently updated and you can get them from [Downloads for Apple Developers](https://developer.apple.com/download/more/)
if you’re a member of the Apple Developer Program. See [Using Apple’s HTTP Live Streaming (HLS) Tools](/documentation/HTTP-Live-Streaming/using-apple-s-http-live-streaming-hls-tools)
for more information about the individual tools.

## Topics

### Basic playlists

[Video on Demand playlist construction](/documentation/HTTP-Live-Streaming/video-on-demand-playlist-construction)

Understand the basic composition for a Video on Demand playlist.

[Live Playlist (sliding window) construction](/documentation/HTTP-Live-Streaming/live-playlist-sliding-window-construction)

Understand the basic composition for a live session playlist.

[Event playlist construction](/documentation/HTTP-Live-Streaming/event-playlist-construction)

Learn about the basic composition of an event session playlist.

[Creating a Multivariant Playlist](/documentation/HTTP-Live-Streaming/creating-a-multivariant-playlist)

Offer multiple playlist files to provide different encodings of the same content.

### Modified playlists

[Incorporating Ads into a Playlist](/documentation/HTTP-Live-Streaming/incorporating-ads-into-a-playlist)

Add branding or ads to a playlist.

[Adding alternate media to a playlist](/documentation/HTTP-Live-Streaming/adding-alternate-media-to-a-playlist)

Specify Rendition Playlists that can override the main presentation.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)