Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio stuttering on iPhone after playing ad #9

Open
dri-richard opened this issue Apr 23, 2024 · 4 comments
Open

Audio stuttering on iPhone after playing ad #9

dri-richard opened this issue Apr 23, 2024 · 4 comments
Assignees

Comments

@dri-richard
Copy link

(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:

  • Add a sound component to the game object in main.collection
  • Choose an .ogg file in the sound component
  • Set the sound to loop

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

@wootaejeon wootaejeon self-assigned this Apr 23, 2024
@wootaejeon
Copy link
Collaborator

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

@dri-richard
Copy link
Author

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
Copy link
Collaborator

@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?

@dri-richard
Copy link
Author

I was trying to test this last week but unfortunately, because I needed to test with live ads (test ads have no audio), it's caused our account to be suspended and nobody has responded to our request to restore it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants