Does media stream url require ATS? Though base url confirms to ATS?

I'm developing a app in which the base url has https and confirms to ATS as required by Apple, however the media streams url are still http, I mean when I call a a base URL(for eg: https://test_app/api/v2/) the response will have list of video's available, these url's are http (http://test_app/videos/test.m3u8), is this allowed or every url should be ATS compliant? Does Apple reject this?

Replies

I assume by ATS you mean App Transport Security.


I can't give you a definitive answer on acceptance/rejection (as that is an App Store decision which I have no influence over).


To the best of my understanding all of the URLs have to be https, unless you are willing to use NSAllowsArbitraryLoadsForMedia

(see https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW33)