fix panic on close channel (#495)
This commit is contained in:
@@ -1518,7 +1518,7 @@ func (p *ParticipantImpl) hasPendingMigratedTrack() bool {
|
||||
}
|
||||
|
||||
func (p *ParticipantImpl) onUpTrackManagerClose() {
|
||||
close(p.rtcpCh)
|
||||
p.rtcpCh <- nil
|
||||
}
|
||||
|
||||
func (p *ParticipantImpl) getPendingTrack(clientId string, kind livekit.TrackType) (string, *livekit.TrackInfo) {
|
||||
|
||||
Reference in New Issue
Block a user