macOS Sonoma 'Cannot Decode' HLS Video

I use AVPlayer to play HLS video successfully on macOS Sonoma, but I encountered this error on macOS Sequoia. Please help me:

Error Domain=AVFoundationErrorDomain Code=-11833 ‘Cannot Decode’ UserInfo={NSUnderlyingError=0x600001e57330 {Error Domain=CoreMediaErrorDomain Code=-12906 ‘(null)’}, NSLocalizedFailureReason=The decoder required for this media cannot be found., AVErrorMediaTypeKey=vide, NSLocalizedDescription=Cannot Decode}

Thanks!

Hello @DuongTHVN, error code -11833 corresponds to AVError.Code.decoderNotFound.

If nothing has changed in your implementation, please use Feedback Assistant to submit a bug report, include a sysdiagnose, and 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?

Hello @DuongTHVN, thank you for submitting a bug report. VP9 is not a supported video codec for HLS. Please refer to section 1.1 of HTTP Live Streaming (HLS) authoring specification for Apple devices:

1.1. All video MUST be encoded using H.264/AVC, HEVC/H.265, Dolby Vision, or AV1.

macOS Sonoma 'Cannot Decode' HLS Video
 
 
Q