Use PPS mode rather than max to adjust packet loss weight. (#3095)
This commit is contained in:
@@ -383,7 +383,7 @@ func NewDownTrack(params DowntrackParams) (*DownTrack, error) {
|
||||
|
||||
d.connectionStats = connectionquality.NewConnectionStats(connectionquality.ConnectionStatsParams{
|
||||
MimeType: codecs[0].MimeType, // LK-TODO have to notify on codec change
|
||||
IsFECEnabled: strings.EqualFold(codecs[0].MimeType, webrtc.MimeTypeOpus) && strings.Contains(strings.ToLower(codecs[0].SDPFmtpLine), "fec"),
|
||||
IsFECEnabled: strings.Contains(strings.ToLower(codecs[0].SDPFmtpLine), "fec"),
|
||||
SenderProvider: d,
|
||||
Logger: d.params.Logger.WithValues("direction", "down"),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user