mirror of
https://github.com/pion/webrtc.git
synced 2025-09-27 11:32:19 +08:00
Move defaultSrtpProtectionProfiles to constants.go
If a user is curious about the default value when configuring SetSRTPProtectionProfiles this makes it easier to find.
This commit is contained in:
@@ -72,7 +72,8 @@ func (e *SettingEngine) DetachDataChannels() {
|
||||
e.detach.DataChannels = true
|
||||
}
|
||||
|
||||
// SetSRTPProtectionProfiles overrides default srtp protection profiles
|
||||
// SetSRTPProtectionProfiles allows the user to override the default SRTP Protection Profiles
|
||||
// The default srtp protection profiles are provided by the function `defaultSrtpProtectionProfiles`
|
||||
func (e *SettingEngine) SetSRTPProtectionProfiles(profiles ...dtls.SRTPProtectionProfile) {
|
||||
e.srtpProtectionProfiles = profiles
|
||||
}
|
||||
|
Reference in New Issue
Block a user