updated tests for participant update

This commit is contained in:
David Zhao
2021-03-16 22:31:09 -07:00
parent f7ed2cee60
commit 0de53f9a33
3 changed files with 85 additions and 1 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ func (r *Room) onTrackAdded(participant types.Participant, track types.Published
func (r *Room) onTrackUpdated(p types.Participant, track types.PublishedTrack) {
// send track updates to everyone, especially if track was updated by admin
r.broadcastParticipantState(p, false)
r.broadcastParticipantState(p, true)
if r.onParticipantChanged != nil {
r.onParticipantChanged(p)
}