What’s new in hls
Generated on 8/2/2024
1 search
At WWDC 2024, Apple introduced several new features and enhancements for HLS (HTTP Live Streaming). Here are the key updates:
-
HLS Interstitials:
- Integrated Timeline API: A new AVFoundation API called Integrated Timeline was introduced. This API provides a data model for timing and sequence of playback of content within interstitials, allowing developers to build new UI experiences and enable seamless navigation in and out of interstitials. (Enhance ad experiences with HLS interstitials)
- New HLS Syntax: New syntax for describing how an interstitial should behave in an integrated timeline was discussed. This includes different ways interstitials can be presented on a timeline, such as marking interstitials as points or ranges on the transport bar. (Enhance ad experiences with HLS interstitials)
- SharePlay Support: SharePlay support for interstitial assets can now be enabled by marking the interstitial as not variable in the API. (Enhance ad experiences with HLS interstitials)
-
Media Performance Metrics:
- Enhanced Metrics in iOS 18: For HLS streaming assets, iOS 18 introduces enhanced metrics, providing more data points and insights into media playback performance. This includes events for fetching playlists, media segments, and content keys, as well as buffering stages. (Discover media performance metrics in AVFoundation)
For a deeper dive into these topics, you can watch the sessions:
Bring context to today’s weather
Harness the power of WeatherKit to get detailed weather forecast data such as precipitation amounts by type, cloud cover by altitude, or maximum wind speed. Find out how you can summarize weather by different parts of the day and highlight significant upcoming changes to temperature or precipitation. Understand how you can compare current weather to the past through our Historical Comparisons dataset and dive into historical weather statistics for any location in the world. We’ll also explore how you can do all of this faster with our Swift and REST APIs.
Enhance ad experiences with HLS interstitials
Explore how HLS Interstitials can help you seamlessly insert advertisements into your HLS content. We’ll also show you how to use integrated timeline to tune your UI experience and build SharePlay for interstitials.
Use HDR for dynamic image experiences in your app
Discover how to read and write HDR images and process HDR content in your app. Explore the new supported HDR image formats and advanced methods for displaying HDR images. Find out how HDR content can coexist with your user interface — and what to watch out for when adding HDR image support to your app.
Discover media performance metrics in AVFoundation
Discover how you can monitor, analyze, and improve user experience with the new media performance APIs. Explore how to monitor AVPlayer performance for HLS assets using different AVMetricEvents, and learn how to use these metrics to understand and triage player performance issues.
What’s new in SwiftUI
Learn how you can use SwiftUI to build great apps for any Apple platform. Explore a fresh new look and feel for tabs and documents on iPadOS. Improve your window management with new windowing APIs, and gain more control over immersive spaces and volumes in your visionOS apps. We’ll also take you through other exciting refinements that help you make expressive charts, customize and layout text, and so much more.