The speaker sometimes does not work when using Puppeteer with a fake media device

Hi @lmtruong1512

9aF8YPhEQgaHxr4hoZwG3w==
UsIoxcsDSgerPxuK2NZwIQ==

After analyzing the logs, these two BOT users did not successfully start audio, possibly due to the browser’s autoplay policy requiring user interaction.

You can listen for the auto-play-audio-failed event.

If you’re using Puppeteer, consider adding the launch flag --autoplay-policy=no-user-gesture-required.

Thanks
Vic

1 Like