Today we are on-boarded to using CMCD data to allow us to get more diagnostic data of our streaming. We would like to have the ability to upload our own custom headers, this is supported on other players, but not supported on AVPlayer. The workaround today that works is adding in custom query parameters then querying based on that, but we would like support explicitly in the headers.
We would like to hear more about your use-case, and how custom headers would help.
AVPlayer does support CMCD reporting via HTTP headers, enabled via AVAssetResourceLoader.sendsCommonMediaClientDataAsHTTPHeaders.
If the current solution is insufficient for your application, please file an enhancement request detailing the requirements of your use-case using Feedback Assistant. Once you file the request, please post the FB number here. If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why?