AVPlayer CoreMediaErrorDomain -12642

Hi everyone, I am having a problem on AVPlayer when I try to play some videos.

The video starts for a few seconds, but immediately after I see a black screen and in the console there is the following error:

<__NSArrayM 0x14dbf9f30>( { StreamPlaylistError = "-12314"; comment = "have audio audio-aacl-54 in STREAMINF without EXT-X-MEDIA audio group"; date = "2024-05-13 20:46:19 +0000"; domain = CoreMediaErrorDomain; status = "-12642"; uri = "http://127.0.0.1:8080/master.m3u8"; }, { "c-conn-type" = 1; "c-severity" = 2; comment = "Playlist parse error"; "cs-guid" = "871C1871-D566-4A3A-8465-2C58FDC18A19"; date = "2024-05-13 20:46:19 +0000"; domain = CoreMediaErrorDomain; status = "-12642"; uri = "http://127.0.0.1:8080/master.m3u8"; } )

Answered by Engineer in 788549022

Based on the error description, an audio rendition group for one of your variant streams is missing. Please see sections 4.3.4.1.1 and 4.3.4.2 of the HTTP Live Streaming Specification.

You can troubleshoot issues with your playlists using the Media Stream Validator tool. Please see Using Apple’s HTTP Live Streaming (HLS) Tools for detailed information.

Based on the error description, an audio rendition group for one of your variant streams is missing. Please see sections 4.3.4.1.1 and 4.3.4.2 of the HTTP Live Streaming Specification.

You can troubleshoot issues with your playlists using the Media Stream Validator tool. Please see Using Apple’s HTTP Live Streaming (HLS) Tools for detailed information.

AVPlayer CoreMediaErrorDomain -12642
 
 
Q