diff --git a/go.mod b/go.mod index b67b9662db8..74ef81c74fa 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,7 @@ require ( github.com/pion/rtcp v1.2.14 github.com/pion/rtp v1.8.4 github.com/pion/sctp v1.8.13 - github.com/pion/sdp/v3 v3.0.8 + github.com/pion/sdp/v3 v3.0.9 github.com/pion/srtp/v3 v3.0.1 github.com/pion/stun/v2 v2.0.0 github.com/pion/transport/v3 v3.0.2 diff --git a/go.sum b/go.sum index fcfc974dba6..05d194e6e0a 100644 --- a/go.sum +++ b/go.sum @@ -63,8 +63,8 @@ github.com/pion/rtp v1.8.4 h1:VqNGMNjMDMy9y0d+h+0dfjiWVKUEDQvA963jhJwu200= github.com/pion/rtp v1.8.4/go.mod h1:pBGHaFt/yW7bf1jjWAoUjpSNoDnw98KTMg+jWWvziqU= github.com/pion/sctp v1.8.13 h1:YUJR44pWM2FPUhkl8l+vDyF2EDE3aTWtr3c+LDhCRcQ= github.com/pion/sctp v1.8.13/go.mod h1:YKSgO/bO/6aOMP9LCie1DuD7m+GamiK2yIiPM6vH+GA= -github.com/pion/sdp/v3 v3.0.8 h1:yd/wkrS0nzXEAb+uwv1TL3SG/gzsTiXHVOtXtD7EKl0= -github.com/pion/sdp/v3 v3.0.8/go.mod h1:B5xmvENq5IXJimIO4zfp6LAe1fD9N+kFv+V/1lOdz8M= +github.com/pion/sdp/v3 v3.0.9 h1:pX++dCHoHUwq43kuwf3PyJfHlwIj4hXA7Vrifiq0IJY= +github.com/pion/sdp/v3 v3.0.9/go.mod h1:B5xmvENq5IXJimIO4zfp6LAe1fD9N+kFv+V/1lOdz8M= github.com/pion/srtp/v3 v3.0.1 h1:AkIQRIZ+3tAOJMQ7G301xtrD1vekQbNeRO7eY1K8ZHk= github.com/pion/srtp/v3 v3.0.1/go.mod h1:3R3a1qIOIxBkVTLGFjafKK6/fJoTdQDhcC67HOyMbJ8= github.com/pion/stun/v2 v2.0.0 h1:A5+wXKLAypxQri59+tmQKVs7+l6mMM+3d+eER9ifRU0= diff --git a/sdp_test.go b/sdp_test.go index 4696ce87279..d3f86307193 100644 --- a/sdp_test.go +++ b/sdp_test.go @@ -668,12 +668,14 @@ func TestCodecsFromMediaDescription(t *testing.T) { {Key: "fmtp", Value: "111 minptime=10;useinbandfec=1"}, {Key: "rtcp-fb", Value: "111 goog-remb"}, {Key: "rtcp-fb", Value: "111 ccm fir"}, + {Key: "rtcp-fb", Value: "* ccm fir"}, + {Key: "rtcp-fb", Value: "* nack"}, }, }) assert.Equal(t, codecs, []RTPCodecParameters{ { - RTPCodecCapability: RTPCodecCapability{MimeTypeOpus, 48000, 2, "minptime=10;useinbandfec=1", []RTCPFeedback{{"goog-remb", ""}, {"ccm", "fir"}}}, + RTPCodecCapability: RTPCodecCapability{MimeTypeOpus, 48000, 2, "minptime=10;useinbandfec=1", []RTCPFeedback{{"goog-remb", ""}, {"ccm", "fir"}, {"nack", ""}}}, PayloadType: 111, }, })