Documentation ¶
Index ¶
- Constants
- func NewClientPort(p1 int, p2 int) string
- func NewInterleavedParam(ch1 int, ch2 int) string
- func NewServerPort(p1 int, p2 int) string
- func NewTransportHeader(lt string, param ...string) string
- type TransportHeader
- func (t TransportHeader) ClientPort() (int, int, bool)
- func (t TransportHeader) Has(key string) bool
- func (t TransportHeader) Interleaved() (int, int, bool)
- func (t TransportHeader) LowerTransportTCP() bool
- func (t TransportHeader) Multicast() bool
- func (t TransportHeader) Record() bool
- func (t TransportHeader) Validate() bool
- func (t TransportHeader) Value(k string) string
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 NewInterleavedParam ¶
func NewServerPort ¶
func NewTransportHeader ¶
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
Click to show internal directories.
Click to hide internal directories.