I want to specify a request header when playing a video on a URL with AVPlayer.

Hello,

https://stackoverflow.com/questions/51797343/setting-http-header-fields-for-avurlassets

Is it okay to use the method using "AVURLAssetHTTPHeaderFieldsKey" described on this page?

I want to specify a request header when playing a video on a URL with AVPlayer.
 
 
Q