File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -39,5 +39,5 @@ const (
3939)
4040
4141func defaultSrtpProtectionProfiles () []dtls.SRTPProtectionProfile {
42- return []dtls.SRTPProtectionProfile {dtls .SRTP_AEAD_AES_128_GCM , dtls .SRTP_AES128_CM_HMAC_SHA1_80 }
42+ return []dtls.SRTPProtectionProfile {dtls .SRTP_AEAD_AES_256_GCM , dtls . SRTP_AEAD_AES_128_GCM , dtls .SRTP_AES128_CM_HMAC_SHA1_80 }
4343}
Original file line number Diff line number Diff line change @@ -361,6 +361,8 @@ func (t *DTLSTransport) Start(remoteParameters DTLSParameters) error {
361361 switch srtpProfile {
362362 case dtls .SRTP_AEAD_AES_128_GCM :
363363 t .srtpProtectionProfile = srtp .ProtectionProfileAeadAes128Gcm
364+ case dtls .SRTP_AEAD_AES_256_GCM :
365+ t .srtpProtectionProfile = srtp .ProtectionProfileAeadAes256Gcm
364366 case dtls .SRTP_AES128_CM_HMAC_SHA1_80 :
365367 t .srtpProtectionProfile = srtp .ProtectionProfileAes128CmHmacSha1_80
366368 default :
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ require (
1515 github.com/pion/rtp v1.7.13
1616 github.com/pion/sctp v1.8.7
1717 github.com/pion/sdp/v3 v3.0.6
18- github.com/pion/srtp/v2 v2.0.13
18+ github.com/pion/srtp/v2 v2.0.14
1919 github.com/pion/stun v0.5.2
2020 github.com/pion/transport/v2 v2.2.0
2121 github.com/sclevine/agouti v3.0.0+incompatible
Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ github.com/pion/sctp v1.8.7 h1:JnABvFakZueGAn4KU/4PSKg+GWbF6QWbKTWZOSGJjXw=
6363github.com/pion/sctp v1.8.7 /go.mod h1:g1Ul+ARqZq5JEmoFy87Q/4CePtKnTJ1QCL9dBBdN6AU =
6464github.com/pion/sdp/v3 v3.0.6 h1:WuDLhtuFUUVpTfus9ILC4HRyHsW6TdugjEX/QY9OiUw =
6565github.com/pion/sdp/v3 v3.0.6 /go.mod h1:iiFWFpQO8Fy3S5ldclBkpXqmWy02ns78NOKoLLL0YQw =
66- github.com/pion/srtp/v2 v2.0.13 h1:GJQNMCqbYrNIBt1f3maX+E+woREVh2ilhAafBh0vqmk =
67- github.com/pion/srtp/v2 v2.0.13 /go.mod h1:FA7u5fWpVITMYNL70TA3csQuMQJA5/+6ZMajGxveHgM =
66+ github.com/pion/srtp/v2 v2.0.14 h1:Glt0MqEvINrDxL+aanmK4DiFjvs+uN2iYc6XD/iKpoY =
67+ github.com/pion/srtp/v2 v2.0.14 /go.mod h1:b/pQOlDrbB0HEH5EUAQXzSYxikFbNcNuKmF8tM0hCtw =
6868github.com/pion/stun v0.4.0 /go.mod h1:QPsh1/SbXASntw3zkkrIk3ZJVKz4saBY2G7S10P3wCw =
6969github.com/pion/stun v0.5.2 h1:J/8glQnDV91dfk2+ZnGN0o9bUJgABhTNljwfQWByoXE =
7070github.com/pion/stun v0.5.2 /go.mod h1:TNo1HjyjaFVpMZsvowqPeV8TfwRytympQC0//neaksA =
You can’t perform that action at this time.
0 commit comments