Do not need to just clean up receivers. Remove that interface. (#3760)

The tracks are always closed.
This commit is contained in:
Raja Subramanian
2025-06-24 12:54:34 -07:00
committed by GitHub
parent ef6c38cee5
commit 1216113b35
10 changed files with 25 additions and 110 deletions
+1 -1
View File
@@ -2000,7 +2000,7 @@ func (p *ParticipantImpl) onSubscriberOffer(offer webrtc.SessionDescription, off
}
func (p *ParticipantImpl) removePublishedTrack(track types.MediaTrack) {
p.RemovePublishedTrack(track, false, true)
p.RemovePublishedTrack(track, false)
if p.ProtocolVersion().SupportsUnpublish() {
p.sendTrackUnpublished(track.ID())
} else {