AVPlayer Error in iOS 18.0

When attempting to play a video using AVPlayer on iOS 18.0, I am encountering an error that does not occur on versions earlier than 18.0. Could you please advise what might be causing this issue?

Error Domain=AVFoundationErrorDomain Code=-11828 Error Domain=NSOSStatusErrorDomain Code=-12847 "(null)"

This is Error code

This is the URL information I retrieved using the curl command.

HTTP/1.1 200

Content-Disposition: inline;filename="sample.mp4"

Accept-Ranges: bytes

ETag: sample.mp4

Last-Modified: Tue, 20 Jan 1970 23:52:10 GMT

Expires: Mon, 07 Oct 2024 09:15:49 GMT

Content-Range: bytes 0-987561/987561

Content-Type: application/octet-stream

Content-Length: 987561

Date: Mon, 30 Sep 2024 09:15:49 GMT

Error Domain=AVFoundationErrorDomain Code=-11828

Error Domain=NSOSStatusErrorDomain Code=-12847 "(null)"

This is Error code

Hello @Enek, thank you for your post. Error code -11828 corresponds to AVErrorFileFormatNotRecognized.

Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. I'd greatly appreciate it if you could open a bug report. Don't forget to include a sysdiagnose. If possible, please also attach the corresponding media file. Once you open the bug report, please post the FB number here for my reference.

If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why?

AVPlayer Error in iOS 18.0
 
 
Q