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
Engine/Plugins/Media/ElectraPlayer/Source/ElectraPlayerRuntime/Private/Runtime/Decoder/Apple/AudioDecoderAAC_Apple.cpp::689
Changed the conditions for updating the buffer in ElectraPlayer
Engine/Plugins/Media/ElectraPlayer/Source/ElectraPlayerRuntime/Private/Runtime/Decoder/Apple/AudioDecoderAAC_Apple.cpp::680
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.
result : crash
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-180224 in the post.
1 |
Component | Media Framework |
---|---|
Affects Versions | 5.1 |
Target Fix | 5.2 |
Created | Mar 15, 2023 |
---|---|
Resolved | Apr 11, 2023 |
Updated | Apr 12, 2023 |