🐛(frontend) optimize mute-all to skip participants without mic tracks

Improve mute-all functionality by filtering out participants who are
already muted or lack microphone publishing permissions, and ignore
cases where microphone tracks are unavailable.

Prevents unnecessary mute operations on participants who cannot be
muted, prevent API errors.
This commit is contained in:
lebaudantoine
2025-08-28 14:57:56 +02:00
committed by aleb_the_flash
parent 00b58288cf
commit 7d1f15ef91

View File

@@ -21,7 +21,7 @@ export const useMuteParticipant = () => {
)?.trackSid
if (!trackSid) {
throw new Error('Missing audio track')
return
}
try {