mirror of
https://github.com/livekit/livekit.git
synced 2026-06-03 13:14:13 +00:00
Include self in speaker updates (#301)
This commit is contained in:
@@ -510,7 +510,7 @@ func (p *ParticipantImpl) SendSpeakerUpdate(speakers []*livekit.SpeakerInfo) err
|
||||
|
||||
var scopedSpeakers []*livekit.SpeakerInfo
|
||||
for _, s := range speakers {
|
||||
if p.IsSubscribedTo(s.Sid) {
|
||||
if p.IsSubscribedTo(s.Sid) || s.Sid == p.ID() {
|
||||
scopedSpeakers = append(scopedSpeakers, s)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user