High bitrate video streaming in avplayer sometimes audio disappears

Hello,

I used AVPlayer in my project to play network movie.

Most movie could play normally, but I found the sound will disappear sometimes if I play specified 4K video network stream.

The video will continue playing but audio stops after video is played for a while. If I pause player and then resume, the sound will be back but disappeared again after several seconds

Check AVPlayerItem status:

isPlaybackLikelyToKeepUp` == true
isPlaybackBufferEmpty` = false
player.volume > 0

According the value above, it seems not cause by empty playback buffer or volume issue. I am so confused for this situation.

Movie information

Video

Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High L5.1
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Bit rate mode                            : Variable
Bit rate                                 : 100.0 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 29.970 (30000/1001) FPS

Audio

Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 5 min 19 s
Bit rate mode                            : Constant
Bit rate                                 : 192 kb/s
Nominal bit rate                         : 48.0 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)

Does anyone know if AVPlayer has this limitations when playing high-bitrate movie streams, and are there any solutions?

High bitrate video streaming in avplayer sometimes audio disappears
 
 
Q