Licensee reported crash when playing HLS video with ElectraPlayer on iOS16.
According to their research, we can avoid the fix by doing the following:

Delete check() in the corresponding line

  • Modification place
    check(*OutDataPacketDescription == nullptr);

Changed the conditions for updating the buffer in ElectraPlayer

  • Fixes
  • if (InOutNumberDataPackets && *InOutNumberDataPackets)
    +if (InOutNumberDataPackets)

The former has been resolved with [Link Removed], but the latter is unregistered, probably because the specifications have changed in iOS16.
They speculate that when *InOutNumberDataPackets is 0, the audio data continues to accumulate because the buffer is not updated, and is killed by the OS due to memory usage.

Steps to Reproduce
  1. Open attached project
  2. Open HLS_iOS16 level
  3. Edit the video settings to loop ( maybe optional )
  4. PIE

result : crash


Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-180224 in the post.

Login to Vote

Cannot Reproduce
ComponentMedia Framework
Affects Versions5.1
Target Fix5.2
CreatedMar 15, 2023
ResolvedApr 11, 2023
UpdatedApr 12, 2023
View Jira Issue