Fix backchannel reconnection issue

This commit is contained in:
Alexey Khit
2022-10-29 11:33:01 +03:00
parent 7964b1743b
commit 24082b1616
3 changed files with 17 additions and 10 deletions
+3
View File
@@ -64,6 +64,9 @@ func (p *Producer) GetTrack(media *streamer.Media, codec *streamer.Codec) *strea
}
track := p.element.GetTrack(media, codec)
if track == nil {
return nil
}
for _, t := range p.tracks {
if track == t {