mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-09 18:29:21 +00:00
Drop autoplay since we now subscribe correctly.
This commit is contained in:
@@ -91,7 +91,7 @@ export function CallEventAudioRenderer({
|
|||||||
// Will play as soon as it's mounted, which is what we want as this will
|
// Will play as soon as it's mounted, which is what we want as this will
|
||||||
// play when the call is entered.
|
// 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={enterCallSoundOgg} type="audio/ogg; codecs=vorbis" />
|
||||||
<source src={enterCallSoundMp3} type="audio/mpeg" />
|
<source src={enterCallSoundMp3} type="audio/mpeg" />
|
||||||
</audio>
|
</audio>
|
||||||
|
|||||||
Reference in New Issue
Block a user