No op implementation to remove stubs in remote (#327)

* No op implementation to remove stubs in remote

* Place interface first
This commit is contained in:
Raja Subramanian
2022-01-10 19:17:58 +05:30
committed by GitHub
parent d6deb6cfa4
commit e82b8ea0a0
11 changed files with 3467 additions and 139 deletions
+3 -3
View File
@@ -63,7 +63,7 @@ func (u *UptrackManager) Close() {
}
}
func (u *UptrackManager) OnClose(f func()) {
func (u *UptrackManager) OnUptrackManagerClose(f func()) {
u.onClose = f
}
@@ -79,7 +79,7 @@ func (u *UptrackManager) ToProto() []*livekit.TrackInfo {
return trackInfos
}
func (u *UptrackManager) OnTrackUpdated(f func(track types.PublishedTrack, onlyIfReady bool)) {
func (u *UptrackManager) OnPublishedTrackUpdated(f func(track types.PublishedTrack, onlyIfReady bool)) {
u.onTrackUpdated = f
}
@@ -143,7 +143,7 @@ func (u *UptrackManager) RemoveSubscriber(sub types.Participant, trackID livekit
u.lock.Unlock()
}
func (u *UptrackManager) SetTrackMuted(trackID livekit.TrackID, muted bool) types.PublishedTrack {
func (u *UptrackManager) SetPublishedTrackMuted(trackID livekit.TrackID, muted bool) types.PublishedTrack {
u.lock.RLock()
track := u.publishedTracks[trackID]
u.lock.RUnlock()