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
+3
View File
@@ -171,6 +171,9 @@ func NewWebRTCConfig(conf *config.Config, externalIP string) (*WebRTCConfig, err
{Type: webrtc.TypeRTCPFBNACK},
{Type: webrtc.TypeRTCPFBNACK, Parameter: "pli"},
},
Audio: []webrtc.RTCPFeedback{
{Type: webrtc.TypeRTCPFBNACK},
},
},
}
if rtcConf.CongestionControl.UseSendSideBWE {