enable nack for audio track (#829)

This commit is contained in:
cnderrauber
2022-07-13 16:05:57 +08:00
committed by GitHub
parent 677b7c16d1
commit fcdff4f97a
4 changed files with 16 additions and 15 deletions
+1 -3
View File
@@ -292,9 +292,7 @@ func (d *DownTrack) Bind(t webrtc.TrackLocalContext) (webrtc.RTPCodecParameters,
d.handleRTCP(pkt)
})
}
if strings.HasPrefix(codec.MimeType, "video/") {
d.sequencer = newSequencer(d.maxTrack, d.logger)
}
d.sequencer = newSequencer(d.maxTrack, d.logger)
d.codec = codec.RTPCodecCapability
d.forwarder.DetermineCodec(d.codec)
if d.onBind != nil {