Instance Method

remove(_:)

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

Declaration

func remove(_ collector: AVPlayerItemMediaDataCollector)

Parameters

collector

The instance of AVPlayerItemMediaDataCollector to remove.

See Also

Managing the Item’s Data Collectors

var mediaDataCollectors: [AVPlayerItemMediaDataCollector]

The collection of associated media data collectors.

func add(AVPlayerItemMediaDataCollector)

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