Do not force an update on unmute. (#613)

Let the subs drive subscription quality update.
This commit is contained in:
Raja Subramanian
2022-04-14 15:35:17 +05:30
committed by GitHub
parent f8ae219eab
commit 08c764c9bd

View File

@@ -89,11 +89,6 @@ func (t *MediaTrackSubscriptions) SetMuted(muted bool) {
for _, st := range t.getAllSubscribedTracks() {
st.SetPublisherMuted(muted)
}
// update quality based on subscription if unmuting
if !muted {
t.UpdateQualityChange(true)
}
}
func (t *MediaTrackSubscriptions) IsSubscriber(subID livekit.ParticipantID) bool {