AVPlayer playing HLS over TLS-PSK connection

Hello,

I'm trying to play a local playlist using AVPlayer and AVAssetResourceLoaderDelegate using a TLS-PSK connection. I'm facing two obstacles.

  • Whereas I'm able to download myself m3u8 files, when it comes to chunks I can only redirect the URL which doesn't give me much control over the connection.
  • It seems that URLSession does not support TLS-PSK.

Is there a way to accomplish this?

Thanks in advance