Drop autoplay since we now subscribe correctly.

This commit is contained in:
Will Hunt
2024-12-02 11:27:16 +00:00
parent 0d77d358ac
commit b58824cacc

View File

@@ -91,7 +91,7 @@ export function CallEventAudioRenderer({
// Will play as soon as it's mounted, which is what we want as this will
// play when the call is entered.
<>
<audio autoPlay ref={callEntered} preload="auto" hidden>
<audio ref={callEntered} preload="auto" hidden>
<source src={enterCallSoundOgg} type="audio/ogg; codecs=vorbis" />
<source src={enterCallSoundMp3} type="audio/mpeg" />
</audio>