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:
@@ -18,6 +18,7 @@ const (
|
||||
)
|
||||
|
||||
type SubscribedTrackParams struct {
|
||||
PublisherID string
|
||||
PublisherIdentity string
|
||||
SubscriberID string
|
||||
MediaTrack types.MediaTrack
|
||||
@@ -55,6 +56,10 @@ func (t *SubscribedTrack) ID() string {
|
||||
return t.params.DownTrack.ID()
|
||||
}
|
||||
|
||||
func (t *SubscribedTrack) PublisherID() string {
|
||||
return t.params.PublisherID
|
||||
}
|
||||
|
||||
func (t *SubscribedTrack) PublisherIdentity() string {
|
||||
return t.params.PublisherIdentity
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user