This message was deleted.
# helpdesk
s
This message was deleted.
e
You could use the StartAudio component or the useStartAudio hook.
a
@eager-zoo-16408 Hi. Thanks for reply. I have this warning in logs
useStartAudio hook returns canPlayAudio: true
e
@agreeable-painting-43465, the warning in the console indicates that the audio is indeed being blocked by the browser. You may need to run
play()
again on the audio element after the audio context is allowed. Can you share what you are trying to build? Maybe we can find an easier way with pre-built components or hooks?
a
@eager-zoo-16408 In my react app I use livekit room where I have timer component and when time runs out I should play alert audio. But I have problems to play it