Skip to main content
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Enable audio recording for Maestro tests

Enable audio recording to capture the device’s sound in the session videos of Maestro tests on BrowserStack App Automate.

Audio recording adds sound to the session videos of your Maestro tests. Use it to check the sound your app plays, such as audiobooks, music, voice prompts, and alert sounds. When you turn on audio recording, BrowserStack records the device’s sound into each session video in the build.

Audio recording is off by default. Builds that don’t set the audio parameter record session videos without sound.

Supported devices

Audio recording works on the real devices listed in the following table:

Platform Supported OS versions
Android Android 11 and later
iOS iOS 15 and later

Enable audio recording

Set the Boolean audio parameter to true in the REST API request that starts your Maestro build. The parameter works on both the Android and iOS build endpoints.

Terminal
Copy icon Copy

When BrowserStack rejects the build

BrowserStack returns an error as soon as you create the build. It rejects a build with audio set to true in the following cases:

  • The build sets video to false, which turns off video recording.
  • The build targets an Android device below Android 11.
  • The build targets an iOS device below iOS 15.

Play and download videos with sound

After the build runs, open the session on the App Automate dashboard. The session video plays with sound and has mute and volume controls. Each flow links to its own part of the session video.

When you download a session video, the downloaded file includes the sound.

Audio recording for Maestro has the following limitations:

  • You can’t download the sound as a separate audio file, such as MP3 or WAV. The sound is available only inside the session video.
  • You can’t turn audio recording on or off in the middle of a flow.
  • Audio recording for Maestro, turn audio recording on or off and Audio recording doesn’t record.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle