Use native codecs with AVPlayer

Hi,


I'm trying to use AVPlayer (https://developer.apple.com/documentation/avfoundation/avplayer), and I want to add custom codecs (eg. DTS audio, VP9 video). Is there a way to do this? Would it be possible using something like (https://developer.apple.com/library/content/documentation/MusicAudio/Conceptual/AudioQueueProgrammingGuide/AboutAudioQueues/AboutAudioQueues.html)? Could AVPlayer decoding of the audio or video be done manually, keeping the ABR and the automaticlly download of chunks of AVPlayer? Is there a way to get the downloaded chunks of AVPlayer for this?


Thanks,

Julian

Replies

I too am looking for a solution to adding a custom codec to be used in AVPlayer. I am hoping someone will provide some assistance.

AVPlayer does not support codec plugins.