AVURLAsset with custom request header

Hi,

Can we use AVURLAssetHTTPHeaderFieldsKey as options on AVURLAsset init? It is mentioned that since this is private key, app might get rejected.

Is there any Apple official way to have custom header key for each m3u8 file while creating AVURLAsset for LIVE stream?

Ref: https://stackoverflow.com/questions/60116789/is-it-possible-to-configure-custom-headers-for-avplayeritem-urlrequest

Thank you in advance!

AVURLAsset with custom request header
 
 
Q