Audio Optimizations

Maximum number of audios that can run in parallel

All devices have an inherent limitation on the number of audio/video streams they can run in parallel.

PlatformNo of parallel audio streams



Androids Phones


iOS Phones


Audio AutoStart limitations

If you feel there's no audio in Mobile, but there in the Desktop version - it's probably because Mobile devices are strict about getting a user interaction before allowing audio to play. For this you need to either

  • Enable "Click to start" in project settings.

  • OR start audio only after the user clicks on something in the experience (like a banner/ text or a play icon)

If you want to control this behaviour separately for mobile vs desktop, you can use a variable device_var to check if the user is on mobile and then create Rules to make the experience behave differently for mobile vs desktop access.

Restriction on the number of Audio elements in a scene

There is a hard limit on the number of Audio elements (including both Audio and TTS elements) that can be added in a single scene. While you can add up to 60 audio elements in a single scene, our recommended limit is ~20.

NOTE: Audio elements get downloaded completely before the scene can start, so the number of audio elements will add to the scene load time and also increase resource (CPU and RAM) consumption.

There are 2 approaches to work around this restriction:

  1. Re-use the same audio element to play different audio parts at different instances using the "play from" event.

  2. Break the scene down into multiple scenes so that the total number of Audio elements doesn't exceed 60 per scene.

Audio on iOS Devices

iOS devices don't support volume controls. This has two implications:

  1. No volume control icon on top of the experience in iOS devices.

  2. Volume control rules don't work on iOS devices.

Optimize Audio File Size

All audio files get entirely downloaded at the start of the scene. So try keeping the size of the audio files low. Recommended file size for audio elements: less than 2MB

Last updated