Remove stubs (#331)

* WIP commit

* Use LocalParticipant interface

* Remove no-op local participant

* Remove localparticipant

* Remove no-op stubs

* Consolidate PublishedTrack into MediaTrack
This commit is contained in:
Raja Subramanian
2022-01-12 00:11:48 +05:30
committed by GitHub
parent c2ba26eee6
commit e67db84b3b
24 changed files with 3304 additions and 5790 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ func (t *MediaTrackReceiver) AddOnClose(f func()) {
}
// AddSubscriber subscribes sub to current mediaTrack
func (t *MediaTrackReceiver) AddSubscriber(sub types.Participant) error {
func (t *MediaTrackReceiver) AddSubscriber(sub types.LocalParticipant) error {
t.lock.Lock()
defer t.lock.Unlock()