srtp

package
v0.0.0-...-9401d5b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSession

func NewSession(log logger.Logger, conn net.Conn, conf *Config) (rtp.Session, error)

Types

type Config

type Config = srtp.Config

type Options

type Options struct {
	Profiles []Profile
}

type Profile

type Profile struct {
	Index   int
	Profile ProtectionProfile
	Key     []byte
	Salt    []byte
}

func DefaultProfiles

func DefaultProfiles() ([]Profile, error)

type ProtectionProfile

type ProtectionProfile string

func (ProtectionProfile) Parse

type SessionKeys

type SessionKeys = srtp.SessionKeys

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL