pub unsafe static AVURLAssetHTTPCookiesKey: &'static NSStringAVAsset only.Expand description
HTTP cookies that the AVURLAsset may send with HTTP requests Standard cross-site policy still applies: cookies will only be sent to domains to which they apply.
By default, an AVURLAsset will only have access to cookies in the client’s default cookie storage that apply to the AVURLAsset’s URL. You can supplement the cookies available to the asset via use of this initialization option
HTTP cookies do not apply to non-HTTP(S) URLS. In HLS, many HTTP requests (e.g., media, crypt key, variant index) might be issued to different paths or hosts. In both of these cases, HTTP requests will be missing any cookies that do not apply to the AVURLAsset’s URL. This init option allows the AVURLAsset to use additional HTTP cookies for those HTTP(S) requests.
See also Apple’s documentation