Currently, we are using a standard AVPlayer
via AVPlayerViewController
to play video. We are streaming video from a url in the format https://ourdomain/media/mediaid?jwt=authTokenHere. The url, as you can see, has no extension; however the headers are being set on the payload to indicate that the response is a video.
Though the links results in the video playing fine in desktop Safari and Chrome, it will not play via iOS's AVPlayer
in our application. Is there some particular format that AVPlayer
expects?
.mp4
and voila. – Tim Johnsen