header

package
v0.0.0-...-505e429 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Public      = "Public"
	ContentType = "Content-Type"
	Session     = "Session"
	Transport   = "Transport"
)
View Source
const ContentTypeSDP = "application/sdp"
View Source
const LoweTransUDP = "RTP/AVP/UDP"
View Source
const LowerTransTCP = "RTP/AVP/TCP"
View Source
const ParamMulticast = "multicast"
View Source
const ParamUnicast = "unicast"

Variables

This section is empty.

Functions

func NewClientPort

func NewClientPort(p1 int, p2 int) string

func NewInterleavedParam

func NewInterleavedParam(ch1 int, ch2 int) string

func NewServerPort

func NewServerPort(p1 int, p2 int) string

func NewTransportHeader

func NewTransportHeader(lt string, param ...string) string

Types

type TransportHeader

type TransportHeader map[string]struct{}

func (TransportHeader) ClientPort

func (t TransportHeader) ClientPort() (int, int, bool)

func (TransportHeader) Has

func (t TransportHeader) Has(key string) bool

func (TransportHeader) Interleaved

func (t TransportHeader) Interleaved() (int, int, bool)

func (TransportHeader) LowerTransportTCP

func (t TransportHeader) LowerTransportTCP() bool

func (TransportHeader) Multicast

func (t TransportHeader) Multicast() bool

func (TransportHeader) Record

func (t TransportHeader) Record() bool

func (TransportHeader) Validate

func (t TransportHeader) Validate() bool

func (TransportHeader) Value

func (t TransportHeader) Value(k string) string

Jump to

Keyboard shortcuts

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