Style voice widget icons to be less red

This commit is contained in:
mplorentz
2026-04-03 09:58:00 -04:00
committed by hodlbod
parent 2661f449dd
commit 1ccd6070df
2 changed files with 39 additions and 12 deletions
+10
View File
@@ -135,6 +135,16 @@ export const isParticipantSpeaking = derived(
$participants.some(sp => participantKey(sp) === participantKey(p)),
)
/** True when the local user is in LiveKits active-speakers list (currently talking). */
export const isLocalSpeaking = derived(
[currentVoiceSession, speakingParticipants],
([$session, $speaking]) => {
if (!$session?.room) return false
const local = participantFromLiveKitIdentity($session.room.localParticipant.identity)
return $speaking.some(sp => participantKey(sp) === participantKey(local))
},
)
const fetchLivekitToken = async (
url: string,
groupId: string,