diff --git a/packages/web/public/sounds/activity_launch.mp3 b/packages/web/public/sounds/activity_launch.mp3 deleted file mode 100644 index 6289554a..00000000 --- a/packages/web/public/sounds/activity_launch.mp3 +++ /dev/null @@ -1,1454 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Page not found · GitHub · GitHub - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
- Skip to content - - - - - - - - - - - -
-
- - - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - -
- - - - - -
- - - - - - - - - -
-
- - - -
-
- -
-
- 404 “This is not the web page you are looking for” - - - - - - - - - - - - -
-
- -
-
- -
- - -
-
- -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - -
-
-
- - - diff --git a/packages/web/public/sounds/call_calling.mp3 b/packages/web/public/sounds/call_calling.mp3 index 88f658a3..f0d7813c 100644 Binary files a/packages/web/public/sounds/call_calling.mp3 and b/packages/web/public/sounds/call_calling.mp3 differ diff --git a/packages/web/public/sounds/call_ringing.mp3 b/packages/web/public/sounds/call_ringing.mp3 index 03f077da..fa4202b5 100644 Binary files a/packages/web/public/sounds/call_ringing.mp3 and b/packages/web/public/sounds/call_ringing.mp3 differ diff --git a/packages/web/public/sounds/camera_off.mp3 b/packages/web/public/sounds/camera_off.mp3 index 005dbcce..41537e86 100644 Binary files a/packages/web/public/sounds/camera_off.mp3 and b/packages/web/public/sounds/camera_off.mp3 differ diff --git a/packages/web/public/sounds/camera_on.mp3 b/packages/web/public/sounds/camera_on.mp3 index b5f9e148..d1a2db04 100644 Binary files a/packages/web/public/sounds/camera_on.mp3 and b/packages/web/public/sounds/camera_on.mp3 differ diff --git a/packages/web/public/sounds/deafen.mp3 b/packages/web/public/sounds/deafen.mp3 index e948552d..705b4ecc 100644 Binary files a/packages/web/public/sounds/deafen.mp3 and b/packages/web/public/sounds/deafen.mp3 differ diff --git a/packages/web/public/sounds/disconnect.mp3 b/packages/web/public/sounds/disconnect.mp3 index 32e2b0b8..07ff77e2 100644 Binary files a/packages/web/public/sounds/disconnect.mp3 and b/packages/web/public/sounds/disconnect.mp3 differ diff --git a/packages/web/public/sounds/message.mp3 b/packages/web/public/sounds/message.mp3 index 63bd8dae..71724cd4 100644 Binary files a/packages/web/public/sounds/message.mp3 and b/packages/web/public/sounds/message.mp3 differ diff --git a/packages/web/public/sounds/mute.mp3 b/packages/web/public/sounds/mute.mp3 index 89259910..70124ec2 100644 Binary files a/packages/web/public/sounds/mute.mp3 and b/packages/web/public/sounds/mute.mp3 differ diff --git a/packages/web/public/sounds/reconnect.mp3 b/packages/web/public/sounds/reconnect.mp3 index e761354e..2ab7491d 100644 Binary files a/packages/web/public/sounds/reconnect.mp3 and b/packages/web/public/sounds/reconnect.mp3 differ diff --git a/packages/web/public/sounds/stream_ended.mp3 b/packages/web/public/sounds/stream_ended.mp3 index 3ac0b6a8..d6e00589 100644 Binary files a/packages/web/public/sounds/stream_ended.mp3 and b/packages/web/public/sounds/stream_ended.mp3 differ diff --git a/packages/web/public/sounds/stream_started.mp3 b/packages/web/public/sounds/stream_started.mp3 index b8e1bfd5..3c7aaee9 100644 Binary files a/packages/web/public/sounds/stream_started.mp3 and b/packages/web/public/sounds/stream_started.mp3 differ diff --git a/packages/web/public/sounds/stream_user_joined.mp3 b/packages/web/public/sounds/stream_user_joined.mp3 index 9cedaf52..1d13728d 100644 Binary files a/packages/web/public/sounds/stream_user_joined.mp3 and b/packages/web/public/sounds/stream_user_joined.mp3 differ diff --git a/packages/web/public/sounds/stream_user_left.mp3 b/packages/web/public/sounds/stream_user_left.mp3 index dc86e5f5..5c733e60 100644 Binary files a/packages/web/public/sounds/stream_user_left.mp3 and b/packages/web/public/sounds/stream_user_left.mp3 differ diff --git a/packages/web/public/sounds/undeafen.mp3 b/packages/web/public/sounds/undeafen.mp3 index 54b663ff..390d6c2f 100644 Binary files a/packages/web/public/sounds/undeafen.mp3 and b/packages/web/public/sounds/undeafen.mp3 differ diff --git a/packages/web/public/sounds/unmute.mp3 b/packages/web/public/sounds/unmute.mp3 index 5cd49e41..c45905fb 100644 Binary files a/packages/web/public/sounds/unmute.mp3 and b/packages/web/public/sounds/unmute.mp3 differ diff --git a/packages/web/public/sounds/user_join.mp3 b/packages/web/public/sounds/user_join.mp3 index ca302c77..2ab7491d 100644 Binary files a/packages/web/public/sounds/user_join.mp3 and b/packages/web/public/sounds/user_join.mp3 differ diff --git a/packages/web/public/sounds/user_leave.mp3 b/packages/web/public/sounds/user_leave.mp3 index 59cd9308..4169a259 100644 Binary files a/packages/web/public/sounds/user_leave.mp3 and b/packages/web/public/sounds/user_leave.mp3 differ diff --git a/packages/web/src/components/voice/SoundController.tsx b/packages/web/src/components/voice/SoundController.tsx index c60123df..f3515a46 100644 --- a/packages/web/src/components/voice/SoundController.tsx +++ b/packages/web/src/components/voice/SoundController.tsx @@ -68,10 +68,14 @@ export function SoundController() { prevIsScreenSharing.current = state.isScreenSharing; } - // Disconnect + // Disconnect (Self) if (prevIsConnected.current && !state.isLiveKitConnected) { audioManager.playSound('disconnect'); } + // Connect (Self) + if (!prevIsConnected.current && state.isLiveKitConnected) { + audioManager.playSound('user_join'); + } prevIsConnected.current = state.isLiveKitConnected; // Participant Joins/Leaves & Screen Sharing @@ -79,28 +83,28 @@ export function SoundController() { const currentScreenShareUserIds = new Set(state.participants.filter(p => p.isScreenSharing).map(p => p.userId)); if (state.isLiveKitConnected) { - // Someone joined voice + // Someone joined voice (Others only) state.participants.forEach(p => { if (!prevParticipantIds.current.has(p.userId) && p.userId !== currentUser?.id) { audioManager.playSound('user_join'); } }); - // Someone left voice + // Someone left voice (Others only) prevParticipantIds.current.forEach(userId => { if (!currentParticipantIds.has(userId) && userId !== currentUser?.id) { audioManager.playSound('user_leave'); } }); - // Someone started screen sharing + // Someone started screen sharing (Others only) state.participants.forEach(p => { if (p.isScreenSharing && !prevScreenShareUserIds.current.has(p.userId) && p.userId !== currentUser?.id) { audioManager.playSound('stream_user_joined'); } }); - // Someone stopped screen sharing + // Someone stopped screen sharing (Others only) prevScreenShareUserIds.current.forEach(userId => { if (!currentScreenShareUserIds.has(userId) && userId !== currentUser?.id) { audioManager.playSound('stream_user_left');