Skip to content

Commit

Permalink
Update README with SRTPProtectionProfile
Browse files Browse the repository at this point in the history
  • Loading branch information
theodorsm committed Dec 15, 2024
1 parent 995fe9f commit f4791a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ import (
"github.com/pion/dtls/v2"
"github.com/theodorsm/covert-dtls/pkg/fingerprints"
"github.com/theodorsm/covert-dtls/pkg/mimicry"
"github.com/theodorsm/covert-dtls/pkg/utils"
)

// Get a specific fingerprint
Expand All @@ -55,7 +56,7 @@ clientHello.LoadFingerprint(fingerprint)

cfg := &dtls.Config{
// SRTP needs to be enabled as the fingerprints are from webrtc traffic, thus containing the use_srtp extension.
SRTPProtectionProfiles: DefaultSRTPProtectionProfiles(),
SRTPProtectionProfiles: utils.DefaultSRTPProtectionProfiles(),
ClientHelloMessageHook: clientHello.Hook,
}

Expand Down

0 comments on commit f4791a3

Please sign in to comment.