Post

Replies

Boosts

Views

Activity

AVPlayer queries redirecting URL twice
Hello, consider this very simple example: guard let url = URL(string: "some_url") else { return } let player = AVPlayer(url: url) let controller = AVPlayerViewController() controller.player = player present(controller, animated: true) { player.play() } When the video URL is using redirection and returns 302 when queried, AVPlayer's internal implementation is querying twice, which is proven by proxying. I'm not sure if I can provide the actual links, thus the screenshot is blurred. It can be seen though, that the redirecting URL, which receives 302 as a response, it is queried twice, and only after the 2nd attempt the actual redirection is taking place. This behavior is problematic to the backend services and we need to remediate it somehow. Do you have any idea on how to address this problem, please?
1
5
805
Jun ’23
M1 - entitlements are missing
Hi, we've got a big and long maintained project that used to be developed on Intel machines. And it is working - compiling and releasing - there flawlessly. But, the same project opened by the same user on M1 Max machine is no longer compiling. The reason is - missing entitlements. How come the same provisioning profile and the same certificate are capable of making a binary on an Intel Macbook but not on M1 machine? It's an tvOS project btw.
1
0
621
Dec ’21