Closed fadizant closed 5 years ago
You can avoid using init(asset: AVAsset) if you just want to add custom headers. What you can do instead is to change ResourceLoaderDelegate's startDataRequest(with:) method and provide the necessary headers to the dataTask.
how can I use AVAsset with this control, I have to use AVAsset in order to add header to my URL advice please.