mirror of
https://github.com/pion/webrtc.git
synced 2025-10-07 08:01:27 +08:00
Add SRTP Resumption
This commit is contained in:
@@ -78,6 +78,7 @@ type SettingEngine struct {
|
||||
iceProxyDialer proxy.Dialer
|
||||
disableMediaEngineCopy bool
|
||||
srtpProtectionProfiles []dtls.SRTPProtectionProfile
|
||||
srtpState map[uint32]uint32
|
||||
receiveMTU uint
|
||||
}
|
||||
|
||||
@@ -375,3 +376,7 @@ func (e *SettingEngine) SetSCTPMaxReceiveBufferSize(maxReceiveBufferSize uint32)
|
||||
func (e *SettingEngine) SetDTLSConnectionState(connectionState *dtls.State) {
|
||||
e.dtls.connectionState = connectionState
|
||||
}
|
||||
|
||||
func (e *SettingEngine) SetSRTPState(state map[uint32]uint32) {
|
||||
e.srtpState = state
|
||||
}
|
||||
|
Reference in New Issue
Block a user