mirror of
https://github.com/vector-im/element-call.git
synced 2026-04-03 07:10:26 +00:00
Add better sound. (woosh)
This commit is contained in:
Binary file not shown.
@@ -80,7 +80,8 @@ import { makeSpotlightExpandedLayout } from "../grid/SpotlightExpandedLayout";
|
|||||||
import { makeSpotlightLandscapeLayout } from "../grid/SpotlightLandscapeLayout";
|
import { makeSpotlightLandscapeLayout } from "../grid/SpotlightLandscapeLayout";
|
||||||
import { makeSpotlightPortraitLayout } from "../grid/SpotlightPortraitLayout";
|
import { makeSpotlightPortraitLayout } from "../grid/SpotlightPortraitLayout";
|
||||||
import { ReactionsProvider, useReactions } from "../useReactions";
|
import { ReactionsProvider, useReactions } from "../useReactions";
|
||||||
import handSound from "../res/sounds/raise-hand.ogg?url";
|
import handSoundOgg from "../sound/raise_hand.ogg?url";
|
||||||
|
import handSoundMp3 from "../sound/raise_hand.mp3?url";
|
||||||
|
|
||||||
const canScreenshare = "getDisplayMedia" in (navigator.mediaDevices ?? {});
|
const canScreenshare = "getDisplayMedia" in (navigator.mediaDevices ?? {});
|
||||||
|
|
||||||
@@ -626,7 +627,10 @@ export const InCallView: FC<InCallViewProps> = ({
|
|||||||
))}
|
))}
|
||||||
<RoomAudioRenderer />
|
<RoomAudioRenderer />
|
||||||
{renderContent()}
|
{renderContent()}
|
||||||
<audio ref={handRaisePlayer} src={handSound} hidden />
|
<audio ref={handRaisePlayer} hidden>
|
||||||
|
<source src={handSoundOgg} type="audio/ogg; codecs=vorbis" />
|
||||||
|
<source src={handSoundMp3} type="audio/mpeg" />
|
||||||
|
</audio>
|
||||||
{footer}
|
{footer}
|
||||||
{!noControls && <RageshakeRequestModal {...rageshakeRequestModalProps} />}
|
{!noControls && <RageshakeRequestModal {...rageshakeRequestModalProps} />}
|
||||||
<SettingsModal
|
<SettingsModal
|
||||||
|
|||||||
BIN
src/sound/raise_hand.mp3
Normal file
BIN
src/sound/raise_hand.mp3
Normal file
Binary file not shown.
BIN
src/sound/raise_hand.ogg
Normal file
BIN
src/sound/raise_hand.ogg
Normal file
Binary file not shown.
Reference in New Issue
Block a user