server to support mutes
This commit is contained in:
@@ -158,6 +158,8 @@ func (s *RTCService) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
// jsonError(http.StatusInternalServerError, "could not handle trickle", err.Error()))
|
||||
return
|
||||
}
|
||||
case *livekit.SignalRequest_Mute:
|
||||
participant.SetTrackMuted(msg.Mute.TrackSid, msg.Mute.Muted)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user