diff --git a/public/call.html b/public/call.html
index ad85979..8372da2 100644
--- a/public/call.html
+++ b/public/call.html
@@ -454,11 +454,6 @@
// update stats
this.rxBytes += payload.length;
- // do nothing if muted
- if(this.isSoundMuted){
- return;
- }
-
// decode audio call payload
const audioCallPayload = AudioCallPayload.decode(payload);
@@ -477,6 +472,11 @@
// update ui
this.remoteAudioCodec = "Codec2 Mode " + mode;
+ // do nothing if muted
+ if(this.isSoundMuted){
+ return;
+ }
+
// decode codec2 audio
const decoded = await Codec2Lib.runDecode(mode, encoded);