Enable upstream nack for opus only audio track (#1343)

This commit is contained in:
cnderrauber
2023-01-28 16:02:38 +08:00
committed by GitHub
parent 5e9221dbd8
commit 3a4a294a92
3 changed files with 26 additions and 5 deletions
+3
View File
@@ -207,6 +207,9 @@ func NewWebRTCConfig(conf *config.Config, externalIP string) (*WebRTCConfig, err
},
},
RTCPFeedback: RTCPFeedbackConfig{
Audio: []webrtc.RTCPFeedback{
{Type: webrtc.TypeRTCPFBNACK},
},
Video: []webrtc.RTCPFeedback{
{Type: webrtc.TypeRTCPFBTransportCC},
{Type: webrtc.TypeRTCPFBCCM, Parameter: "fir"},