subscriber control of tracks (unsubscribe/mute/quality), support simulcast (#23)

* subscription control & simulcast RTC APIs

* don't remove tracks for simulcast
This commit is contained in:
David Zhao
2021-02-16 13:52:50 -08:00
committed by GitHub
parent cd5cac6c5e
commit e402d0d0af
11 changed files with 745 additions and 164 deletions
-3
View File
@@ -117,9 +117,6 @@ func (t *MediaTrack) AddSubscriber(sub types.Participant) error {
// don't subscribe to the same track multiple times
if existingSt != nil {
logger.Warnw("participant already subscribed to track",
"sub", sub.Identity(),
"track", t.ID())
return nil
}