Skip to content

Commit

Permalink
Disable SRTP/SRTCP Relay Protection
Browse files Browse the repository at this point in the history
Needed for WHIP clients that don't support distinct SSRCes yes (OBS)
  • Loading branch information
Sean-Der committed May 16, 2024
1 parent 8d4390d commit 659fffd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/webrtc/webrtc.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ func createSettingEngine(isWHIP bool, udpMuxCache map[int]*ice.MultiUDPMuxDefaul

settingEngine.SetDTLSEllipticCurves(elliptic.X25519, elliptic.P384, elliptic.P256)
settingEngine.SetNetworkTypes(networkTypes)
settingEngine.DisableSRTCPReplayProtection(true)
settingEngine.DisableSRTPReplayProtection(true)

return
}
Expand Down

0 comments on commit 659fffd

Please sign in to comment.