Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context represents a SRTP cryptographic context Context can only be used for one-way operations it must either used ONLY for encryption or ONLY for decryption
func CreateContext ¶
CreateContext creates a new SRTP Context
func (*Context) DecryptRTCP ¶ added in v1.1.0
DecryptRTCP decrypts a buffer that contains a RTCP packet We can't pass *rtcp.Packet as the encrypt will obscure significant fields
func (*Context) DecryptRTP ¶ added in v1.1.0
DecryptRTP decrypts a RTP packet with an encrypted payload
func (*Context) EncryptRTCP ¶ added in v1.1.0
EncryptRTCP encrypts a buffer that contains a RTCP packet
Click to show internal directories.
Click to hide internal directories.