Skip to content

Commit 2072c4e

Browse files
committed
fix(livekit): incorrect mute state with muteOnStart=false + eventSource=agent
The rtc-event-receiver bus incorrectly parses the TrackPublication `muted` property as `isMuted`. This causes the initial mute state for a published track to always be nullish/false-y - and it causes a BBB state inconsistency when muteOnStart=false.
1 parent 8d7dd49 commit 2072c4e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Final releases will consolidate all intermediate changes in chronological order.
66

77
For previous changes, see the [release notes](https://github.com/bigbluebutton/bbb-webrtc-sfu/releases).
88

9+
### UNRELEASED
10+
11+
* fix(livekit): incorrect mute state with muteOnStart=false + eventSource=agent
12+
913
### v2.21.0
1014

1115
* feat(livekit): add agent conn state and event metrics

lib/livekit/livekit-rtc-event-receiver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class LiveKitRtcEventReceiver {
9696
width: publication.dimensions?.width,
9797
height: publication.dimensions?.height,
9898
mimeType: publication.mimeType,
99-
muted: publication.isMuted,
99+
muted: publication.muted,
100100
}
101101
}
102102

0 commit comments

Comments
 (0)