Streaming Examples

View developer example streams on iOS, iPadOS, macOS, tvOS, and visionOS that demonstrate the features of HTTP Live Streaming (HLS).

3D movie stream

MV-HEVC/UHD/Dolby Vision/Dolby Digital/Dolby Atmos

View 3D example (fMP4)

This example is a scene from Prehistoric Planet that has been converted to 3D for playback on Apple Vision Pro. Watch Prehistoric Planet in 2D on Apple TV+, where available.

To experience this stream in 3D on Apple Vision Pro, view it in an app that utilizes AVFoundation such as the Destination Video developer example. View the Create a great spatial playback experience video from WWDC23 for more details.

  • 3D MV-HEVC, Dolby Vision Profile 20, video variants, 24 fps, 16x9 aspect ratio
    • Gear 1 - 640x360 @ 340 kbps
    • Gear 2 - 768x432 @ 697 kbps
    • Gear 3 - 960x540 @ 1.31 Mbps
    • Gear 4 - 960x540 @ 1.89 Mbps
    • Gear 5 - 960x540 @ 3.25 Mbps
    • Gear 6 - 1280x720 @ 4.82 Mbps
    • Gear 7 - 1280x720 @ 6.77 Mbps
    • Gear 8 - 1920x1080 @ 8.99 Mbps
    • Gear 9 - 1920x1080 @ 11.87 Mbps
    • Gear 10 - 2560x1440 @ 16.42 Mbps
    • Gear 11 - 3840x2160 @ 23.72 Mbps
    • Gear 12 - 3840x2160 @ 34.13 Mbps
  • Audio renditions, English
    • Dolby Digital, 5.1, 48 kHz, @ 384 kbps
    • Dolby Atmos, 48 kHz, @ 448 kbps

Advanced stream

H.264/HEVC/UHD/Dolby Vision/Dolby Digital/Dolby Atmos

View example (fMP4)

  • H.264 Video variants, 24 fps, 16x9 aspect ratio
    • Gear 1 - 480x270 @ 250 kbps
    • Gear 2 - 544x306 @ 350 kbps
    • Gear 3 - 608x342 @ 500 kbps
    • Gear 4 - 672x378 @ 750 kbps
    • Gear 5 - 768x432 @ 1.1 Mbps
    • Gear 6 - 864x486 @ 1.5 Mbps
    • Gear 7 - 1024x576 @ 2.1 Mbps
    • Gear 8 - 1280x720 @ 2.8 Mbps
    • Gear 9 - 1280x720 @ 3.8 Mbps
    • Gear 10 - 1920x1080 @ 3.8 Mbps
    • Gear 11 - 1920x1080 @ 9.7 Mbps
  • HEVC SDR Video variants, 24 fps, 16x9 aspect ratio
    • Gear 1 - 480x270 @ 250 kbps
    • Gear 2 - 608x342 @ 400 kbps
    • Gear 3 - 672x378 @ 575 kbps
    • Gear 4 - 768x432 @ 825
    • Gear 5 - 864x486 @ 1.1 Mbps
    • Gear 6 - 1024x576 @ 1.5 Mbps
    • Gear 7 - 1280x720 @ 2.1 Mbps
    • Gear 8 - 1280x720 @ 2.7 Mbps
    • Gear 9 - 1920x1080 @ 2.7 Mbps
    • Gear 10 - 1920x1080 @ 6.8 Mbps
    • Gear 11 - 2560x1440 @ 11.6 Mbps
    • Gear 12 - 3840x2160 @ 11.6 Mbps
    • Gear 13 - 3840x2160 @ 20 Mbps
  • HEVC, Dolby Vision Profile 5 / HDR10+ Video variants, 24 fps, 16x9 aspect ratio
    • Gear 1 - 480x270 @ 300 kbps
    • Gear 2 - 608x342 @ 480 kbps
    • Gear 3 - 672x378 @ 690 kbps
    • Gear 4 - 768x432 @ 1 Mbps
    • Gear 5 - 864x486 @ 1.3 Mbps
    • Gear 6 - 1024x576 @ 1.8 Mbps
    • Gear 7 - 1280x720 @ 2.5 Mbps
    • Gear 8 - 1280x720 @ 3.2 Mbps
    • Gear 9 - 1920x1080 @ 3.2 Mbps
    • Gear 10 - 1920x1080 @ 8.1 Mbps
    • Gear 11 - 2560x1440 @ 14 Mbps
    • Gear 12 - 3840x2160 @ 14 Mbps
    • Gear 13 - 3840x2160 @ 24 Mbps
  • I-frame variants (fast forward / rewind support, H.264/HEVC, MJPG)
  • Audio renditions / Audio description, English
    • AAC-LC, stereo, 48 kHz, @ 157 kbps
    • HE-AAC (v1) , stereo, 44.1 kHz, @ 69 kbps
    • HE-AAC (v2) , stereo, 44.1 kHz, @ 32 kbps
    • Dolby Digital, 5.1, 48 kHz, @ 384 kbps
    • Dolby Atmos, 7.1, 48 kHz, @ 768 kbps
  • Subtitle renditions
    • English
    • Español (Latinoamérica)
    • Español (España)
    • Français (Canada)
    • Français (France)
    • Italiano
    • 中文(简体)
    • 中文(繁體)
  • ID3 Metadata via ‘emsg’

Advanced stream

HEVC/H.264

View preliminary example (fMP4)

  • Stream backwards compatible with macOS v10.7 or later, iOS 6 or later, and tvOS 9 or later
  • HEVC variants compatible with macOS v10.13 or later, iOS 11 or later, and tvOS 11 or later
  • Floating point durations as separate segment files
  • H.264 and HEVC @ 30Hz and 60Hz
  • 16x9 aspect ratio
  • Nine HEVC video variants
    • Gear 9 - 1920x1080 @ 5.8 Mbps
    • Gear 8 - 1920x1080 @ 4.5 Mbps
    • Gear 7 - 1920x1080 @ 3.2 Mbps
    • Gear 6 - 1280x720 @ 2.4 Mbps
    • Gear 5 - 960x540 @ 1.7 Mbps
    • Gear 4 - 768x432 @ 990 kbps
    • Gear 3 - 640x360 @ 660 kbps
    • Gear 2 - 480x270 @ 350 kbps
    • Gear 1 - 416x234 @ 145 kbps
  • Nine H.264 video variants
    • Gear 9 - 1920x1080 @ 7.8 Mbps
    • Gear 8 - 1920x1080 @ 6.0 Mbps
    • Gear 7 - 1920x1080 @ 4.5 Mbps
    • Gear 6 - 1280x720 @ 3.0 Mbps
    • Gear 5 - 960x540 @ 2.0 Mbps
    • Gear 4 - 768x432 @ 1.1 Mbps
    • Gear 3 - 640x360 @ 730 kbps
    • Gear 2 - 480x270 @ 365 kbps
    • Gear 1 - 416x234 @ 145 kbps
  • I-Frame variants (fast-forward / rewind support)
  • 3 audio renditions
    • AAC-LC - 48 kHz stereo @ 160 kbps
    • AC-3 - 48 kHz 5.1 @ 384 kbps
    • EC-3 - 48 kHz 5.1 @ 192 kbps
  • 1 subtitle rendition (WebVTT)
    • English

Advanced stream

View example (TS)
View example (fMP4)

  • TS stream compatible with macOS v10.7 or later, iOS 6 or later, and tvOS 9 or later
  • fMP4 stream compatible with macOS v10.12 or later, iOS 10 or later, and tvOS 10 or later
  • Supports "EXT-X-INDEPENDENT-SEGMENT" tag
  • AVERAGE-BANDWIDTH, CODECS, RESOLUTION, FRAME-RATE attributes in variant definitions
  • Floating point durations as separate segment files
  • H.264 @ 30Hz and 60Hz
  • 16x9 aspect ratio
  • 8 video variants
    • Gear 1 - 480x270 @ 775 kbps
    • Gear 2 - 640x360 @ 1.2 Mbps
    • Gear 3 - 768x432 @ 1.5 Mbps
    • Gear 4 - 960x540 @ 2.5 Mbps
    • Gear 5 - 1280x720 @ 3.5 Mbps
    • Gear 6 - 1920x1080 @ 5 Mbps
    • Gear 7 - 1920x1080 @ 6.5 Mbps
    • Gear 8 - 1920x1080 @ 8 Mbps
  • I-Frame variants (fast-forward / rewind support)
  • 3 audio renditions
    • AAC-LC - 48 kHz stereo @ 161 kbps
    • AC-3 - 48 kHz 5.1 @ 384 kbps
    • EC-3 - 48 kHz 5.1 @ 192 kbps
  • 1 subtitle rendition (WebVTT)
    • English

Basic stream

View example

Note: The primary audio in the stream should be used for any sync testing. The second alternate audio demonstrates the use of an alternate audio option, but was not designed as a true sync verification.

  • Compatible with macOS v10.7 or later and iOS 5 or later
  • 16x9 aspect ratio
  • H.264 @ 30Hz
  • single .ts file, with byte-ranges in the playlists
  • floating point durations
  • CODECS and RESOLUTION attributes in master playlist
  • I-Frames (fast forward rewind support)
  • closed captions
  • timed metadata (timecode every 5 seconds)
  • 5 video variants
    • Gear 1 - 416x234 @ 265 kbps
    • Gear 2 - 640x360 @ 580 kbps
    • Gear 3 - 960x540 @ 910 kbps
    • Gear 4 - 1280x720 @ 1 Mbps
    • Gear 5 - 1920x1080 @ 2 Mbps
  • 1 audio-only variant
    • Gear 0 - AAC - 22.05 kHz stereo @ 40 kbps
  • 1 alternate audio
    • alt audio - AAC - 22.05 kHz stereo @ 40 kbps
  • subtitles (WebVTT)

Basic stream

View example

  • Compatible with macOS v10.7 or later and iOS 4.3 or later
  • 4x3 aspect ratio
  • H.264 @ 30Hz
  • floating point durations as separate segment files
  • CODECS attribute in master playlist
  • 4 video variants
    • Gear 1 - 400x300 @ 232 kbps
    • Gear 2 - 640x480 @ 650 kbps
    • Gear 3 - 640x480 @ 1 Mbps
    • Gear 4 - 960x720 @ 2 Mbps
  • 1 audio-only variant
    • Gear 0 AAC - 22.05 kHz stereo @ 40 kbps