Do not force an update on unmute. (#613)
Let the subs drive subscription quality update.
This commit is contained in:
@@ -89,11 +89,6 @@ func (t *MediaTrackSubscriptions) SetMuted(muted bool) {
|
|||||||
for _, st := range t.getAllSubscribedTracks() {
|
for _, st := range t.getAllSubscribedTracks() {
|
||||||
st.SetPublisherMuted(muted)
|
st.SetPublisherMuted(muted)
|
||||||
}
|
}
|
||||||
|
|
||||||
// update quality based on subscription if unmuting
|
|
||||||
if !muted {
|
|
||||||
t.UpdateQualityChange(true)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *MediaTrackSubscriptions) IsSubscriber(subID livekit.ParticipantID) bool {
|
func (t *MediaTrackSubscriptions) IsSubscriber(subID livekit.ParticipantID) bool {
|
||||||
|
|||||||
Reference in New Issue
Block a user