Instance Method

addMediaDataCollector:

Adds the specified media data collector to the player item’s collection of media collectors.

Declaration

- (void)addMediaDataCollector:(AVPlayerItemMediaDataCollector *)collector;

Parameters

collector

An instance of AVPlayerItemMediaDataCollector.

Discussion

This method may incur additional I/O to collect the requested media data asynchronously.

See Also

Managing the Item’s Data Collectors

mediaDataCollectors

The collection of associated media data collectors.

- removeMediaDataCollector:

Removes the specified media data collector from the player item’s collection of media collectors.