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 which is a tuple of <SSRC, destination network address, destination transport port number>
func CreateContext ¶
func CreateContext(masterKey, masterSalt []byte, profile string, ssrc uint32) (c *Context, err error)
CreateContext creates a new SRTP Context
func (*Context) DecryptPacket ¶
DecryptPacket decrypts a RTP packet with an encrypted payload
Click to show internal directories.
Click to hide internal directories.