Access and inspect media assets; queue media for playback and customize playback behavior; edit and combine assets; import and export raw media streams.
Framework
- AVFoundation
Access and inspect media assets; queue media for playback and customize playback behavior; edit and combine assets; import and export raw media streams.
Framework
Follow these guidelines when developing for Apple TV 4K.
Create a simple video playback app with built-in controls.
Create a simple video playback app with built-in controls.
Understand how assets are used as the building blocks for media players.
class AVAsset
The abstract class used to model timed audiovisual media such as videos and sounds.
class AVAsset Track
An object that provides the track-level inspection interface for an asset’s media tracks.
Retrieve assets for playback or to gather information about an asset.
Import and export media samples to and from the file system.
Respond to changes in a player's playback state.
Observe the playback time for an asset in order to update the player's state.
Seek or scrub across a media item to quickly access a specific time point.
Play audio and video assets modeled by a player item.
Play audio and video sample buffers using a custom player.
Create, play, and modify QuickTime and ISO-related media assets.
Play movies using a custom interface that implements simple playback functionality.
Play, write, and export HEVC video with an alpha channel to add overlay effects to your video processing.
Retrieve and filter all of the metadata associated with an asset.
Understand the JSON chapter formatting required for HTTP Live Streaming.
class AVMetadata Item
A metadata item associated with an audiovisual asset or one of its tracks.
class AVMetadata Group
A collection of metadata items associated with a timeline segment.
class AVMetadata Item Filter
An object that filters selected information from a metadata item.
class AVMetadata Item Value Request
An object used to respond to a request to load the value of a metadata item.
class AVMutable Metadata Item
A mutable metadata item associated with an audiovisual asset or with one of its tracks.
class AVDate Range Metadata Group
A collection of metadata items that are valid for use within a specific date range.
class AVMutable Date Range Metadata Group
A mutable collection of metadata items that are valid for use within a specific range of dates.
class AVTimed Metadata Group
A collection of metadata items that are valid for use during a specific time range.
class AVMutable Timed Metadata Group
A mutable collection of metadata items that are valid for use during a specific time range.
struct AVMetadata Format
A value that defines a metadata format.
class AVPlayer Item Output
The abstract class that defines the common interface for moving samples from an asset to a player.
protocol AVPlayer Item Output Push Delegate
Methods you can implement to respond to changes in the media data sequence.
class AVPlayer Item Legible Output
An object that can vend media with a legible characteristic as an attributed string.
class AVPlayer Item Metadata Output
An object used to vend collections of metadata items carried in metadata tracks.
class AVPlayer Item Video Output
An object that coordinates the output of content associated with a Core Video pixel buffer.
class AVPlayer Item Media Data Collector
The abstract base for media data collectors.
Understand the Common Media Application Format as it applies to HTTP Live Streaming
Play HTTP Live Streams and preserve streams on disk for offline play back.
class AVSample Buffer Request
An object that describes a sample buffer creation request.
class AVSample Cursor
An object that provides information about the current media sample at its current position.
class AVSample Buffer Generator
An object used to create sample buffer opaque objects.
protocol AVQueued Sample Buffer Rendering
Methods you can implement to enqueue sample buffers for presentation.
Combine, edit, and remix audio and video tracks from multiple sources in a single composition.
class AVText Style Rule
An object that represents text styling rules applied to text in a media item.
Extend your app's appeal to users by adding subtitles and alternative audio tracks in their native language.
class AVMedia Selection
An object that represents a complete rendition of media selection options on an asset.
class AVMedia Selection Group
An object that represents a collection of mutually exclusive options for the presentation of media within an asset.
class AVMedia Selection Option
An object that represents a specific option for the presentation of media within a group of options.
class AVMutable Media Selection
A mutable object that represents a complete rendition of media selection options on an asset.
class AVContent Key Request
An object that encapsulates information about a content decryption key request issued from a content key session object.
class AVContent Key Response
An object that encapsulates information about a response to a content decryption key request.
class AVContent Key Session
An object used to create and track decryption keys for media data.
class AVPersistable Content Key Request
An object that encapsulates information about a persistable content decryption key request issued from a content key session.
struct AVError
The error codes for the AVError domain.
Define output image and video formats by using the key and value constants.
Dictionary keys for configuring video compression and compression settings for video assets.
struct AVFile Type
A uniform type identifier for various file formats.
struct AVMedia Type
An identifier for various media types.
struct AVMedia Characteristic
The options for specifying media type characteristics.
With AirPlay 2, you can wirelessly send your content from any Apple device to a device enabled with AirPlay.