Update to official single port in WebRTC

This commit is contained in:
David Zhao
2021-04-21 21:30:16 -07:00
parent 99e6cae8dd
commit 07e4ab0c2a
4 changed files with 34 additions and 33 deletions
+1 -2
View File
@@ -98,8 +98,7 @@ func (t *MediaTrack) SetMuted(muted bool) {
// mute all of the subscribedtracks
t.lock.RLock()
for id, st := range t.subscribedTracks {
logger.Debugw("setting muted", "dstParticipant", id, "muted", muted, "track", t.ID())
for _, st := range t.subscribedTracks {
st.SetPublisherMuted(muted)
}
t.lock.RUnlock()