AppLovin / AppLovin-MAX-Defold

AppLovin MAX Defold Plugin for Android and iOS
MIT License
12 stars 1 forks source link

Audio stuttering on iPhone after playing ad #9

Open dri-richard opened 2 months ago

dri-richard commented 2 months ago

(NB: I could only reproduce this issue using live ads, not test ads. This makes sense, as the test ad has no audio)

After playing an ad on iPhone, the game audio becomes distorted. This can be easily reproduced in the example project:

Screen recording that shows the problem: https://github.com/AppLovin/AppLovin-MAX-Defold/assets/26457985/fe180885-80ff-4518-ab42-f48fef55cdc8

wootaejeon commented 1 month ago

Hi @dri-richard, thanks for reporting the issue. Does the sound gets distorted every time you load an ad with sound?

dri-richard commented 1 month ago

Not every time, but it's frequent, maybe 50% of the time. 5 different people on my team have seen it on different phones - iPhone 13, 13 mini, 15 Pro etc. One person said they couldn't reproduce the issue on their iPhone SE 2020. It could be related to iOS version.

wootaejeon commented 1 month ago

@dri-richard I would suggest stopping the sound right before showing the ad (so that only the sound from the ad plays for its duration) and resume on OnRewardedAdHiddenEvent callback. Could you try that out and see if it helps?