Class

MPTimedMetadata

A timed metadata object that carries time-based information within HTTP streamed media.

Declaration

@interface MPTimedMetadata : NSObject

Overview

Content providers can embed these objects when creating a stream. The properties and constants in this class let you extract the metadata as you play the stream using an MPMoviePlayerController object. For example, the provider of a live sports video stream could use MPTimedMetadata instances to embed game scores, with timestamps, in the stream. On the client side—that is, on the user’s device—their application could employ the properties of this class to update their app’s user interface in real time during the game.

A Javascript implementation of this class is also available for use by web-based applications.

Topics

Extracting Timed Metadata from a Stream

allMetadata

A dictionary containing all the metadata in the object.

key

A key that identifies a piece of timed metadata.

keyspace

The namespace of the identifying key.

timestamp

The timestamp of the metadata, in the timebase of the media stream.

value

The timed metadata.

Constants

Timed Metadata Dictionary Keys

Dictionary keys for use with the allMetadata property. All keys are optional.

Notifications

MPMoviePlayerTimedMetadataUpdatedNotification

Posted when new timed metadata arrives.

MPMoviePlayerTimedMetadataUserInfoKey

An NSDictionary object containing the most recent MPTimedMetadata objects.

Relationships

Inherits From

See Also

Deprecated Symbols

MPMovieAccessLog

Key metrics about network playback for an associated movie player that is playing streamed content.

Deprecated
MPMovieAccessLogEvent

A single piece of information for a movie access log.

Deprecated
MPMovieErrorLog

Data describing network resource playback failures for the associated movie player, including timestamps indicating when each failure occurred.

Deprecated
MPMovieErrorLogEvent

A single piece of information for a movie error log.

Deprecated
MPMovieLoadState

Constants describing the network load state of the movie player.

Deprecated
MPMovieMediaTypeMask

The types of content available in the movie file.

Deprecated
MPMoviePlayerController

A type of movie player that manages the playback of a movie from a file or a network stream.

Deprecated
MPMoviePlayerViewController

A simple view controller for displaying full-screen movies.

Deprecated