Scoped speaker update (#280)
* Scoped speaker update Include only participants a participant is subscribed to. NOTE: Not doing this for active speaker changes for Protocol < 3. * correct comment spelling
This commit is contained in:
@@ -226,6 +226,7 @@ func (t *MediaTrack) AddSubscriber(sub types.Participant) error {
|
||||
return err
|
||||
}
|
||||
subTrack := NewSubscribedTrack(SubscribedTrackParams{
|
||||
PublisherID: t.params.ParticipantID,
|
||||
PublisherIdentity: t.params.ParticipantIdentity,
|
||||
SubscriberID: sub.ID(),
|
||||
MediaTrack: t,
|
||||
|
||||
Reference in New Issue
Block a user