Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContextOption ¶
type ContextOption = srtp.ContextOption
func MasterKeyIndicator ¶
func MasterKeyIndicator(mki []byte) ContextOption
Expects a byte slice containing MKI value encoded in big-endian. Will be appended to packets we send.
type Profile ¶
type Profile struct {
Index int
Profile ProtectionProfile
Key []byte
Salt []byte
MKI []byte // Master Key Identifier, nil if not present
Lifetime uint64 // TODO: This is just a placeholder for future use
}
func DefaultProfiles ¶
type ProtectionProfile ¶
type ProtectionProfile string
func (ProtectionProfile) Parse ¶
func (p ProtectionProfile) Parse() (srtp.ProtectionProfile, error)
type SessionKeys ¶
type SessionKeys = srtp.SessionKeys
Click to show internal directories.
Click to hide internal directories.