feat(call): add sound effects and incoming call notification UI
- Implemented sound management for call events including mute, unmute, deafen, undeafen, call joined, call depart, and dialing sounds. - Created a new CallSounds class to handle sound playback and state management. - Added IncomingCallNotification component to display incoming call alerts with caller information and action buttons. - Styled the incoming call notification using vanilla-extract CSS for animations and layout. - Integrated sound playback for incoming calls with a 15-second threshold for dialing sound.
This commit is contained in:
BIN
public/sound/Call_Depart.ogg
Normal file
BIN
public/sound/Call_Depart.ogg
Normal file
Binary file not shown.
BIN
public/sound/Call_Dialing.ogg
Normal file
BIN
public/sound/Call_Dialing.ogg
Normal file
Binary file not shown.
BIN
public/sound/Call_Joined.ogg
Normal file
BIN
public/sound/Call_Joined.ogg
Normal file
Binary file not shown.
BIN
public/sound/Mic_Mute.ogg
Normal file
BIN
public/sound/Mic_Mute.ogg
Normal file
Binary file not shown.
BIN
public/sound/Mic_Unmuted.ogg
Normal file
BIN
public/sound/Mic_Unmuted.ogg
Normal file
Binary file not shown.
BIN
public/sound/Speakers_Deafen.ogg
Normal file
BIN
public/sound/Speakers_Deafen.ogg
Normal file
Binary file not shown.
BIN
public/sound/Speakers_Undeafen.ogg
Normal file
BIN
public/sound/Speakers_Undeafen.ogg
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user