any advancements in video player features

Generated on 7/31/2024

1 search

Yes, there have been several advancements in video player features presented at WWDC. Here are some highlights:

  1. Multiview Video Playback in visionOS:

    • Multiview: This feature allows users to watch multiple video screens simultaneously. It supports up to five video screens at once with layout templates that maximize comfort and viewability. Users can switch the main focus between videos, and the audio will follow the main focus video. This feature is integrated with AVKit and AVPlayerViewController, providing a familiar user interface and enhanced video viewing capabilities on visionOS.
    • Content Browser: A content browser is available to add and remove videos, making it intuitive for users to interact with multiple video screens (Explore multiview video playback in visionOS).
  2. Media Performance Metrics in AVFoundation:

    • Enhanced Metrics for HLS Streaming: In iOS 18, there are enhanced metrics available for HLS streaming assets, providing more data points and detailed insights into media playback performance. This includes access logs, error logs, and various AV player notifications (Discover media performance metrics in AVFoundation).
  3. Spatial Photo and Video Experiences:

    • AVPlayer View Controller: This cross-platform API supports both 2D and 3D video content, making it a versatile option for displaying various types of video content with a consistent presentation style. It also supports HTTP Live Streaming for spatial video (Build compelling spatial photo and video experiences).
    • Full-Screen Spatial Video: Spatial videos can be displayed in full-screen mode, enhancing the immersive experience. The AVPlayer View Controller will use the 3D video presentation in full-screen mode (Build compelling spatial photo and video experiences).
  4. Window Placement for Video Players in macOS:

    • Adjust Window Placement: The video player window can be adjusted to fit the best position and size given the video and the screen it is playing on. This ensures optimal viewing experiences across different monitor configurations (Tailor macOS windows with SwiftUI).

Relevant Sessions

  1. Explore multiview video playback in visionOS
  2. Discover media performance metrics in AVFoundation
  3. Build compelling spatial photo and video experiences
  4. Tailor macOS windows with SwiftUI

These advancements provide developers with powerful tools to create more engaging and immersive video playback experiences.

Explore multiview video playback in visionOS

Explore multiview video playback in visionOS

Learn how AVExperienceController can enable playback of multiple videos on Apple Vision Pro. Review best practices for adoption and explore great use cases, like viewing a sports broadcast from different angles or watching multiple games simultaneously. And discover how to design a compelling and intuitive multiview experience in your app.

Discover media performance metrics in AVFoundation

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.

Build compelling spatial photo and video experiences

Build compelling spatial photo and video experiences

Learn how to adopt spatial photos and videos in your apps. Explore the different types of stereoscopic media and find out how to capture spatial videos in your iOS app on iPhone 15 Pro. Discover the various ways to detect and present spatial media, including the new QuickLook Preview Application API in visionOS. And take a deep dive into the metadata and stereo concepts that make a photo or video spatial.

Tailor macOS windows with SwiftUI

Tailor macOS windows with SwiftUI

Make your windows feel tailor-made for macOS. Fine-tune your app’s windows for focused purposes, ease of use, and to express functionality. Use SwiftUI to style window toolbars and backgrounds. Arrange your windows with precision, and make smart decisions about restoration and minimization.