Versions in this module Expand all Collapse all v0 v0.0.12345 Aug 19, 2025 v0.0.211 Aug 19, 2025 v0.0.21 Aug 19, 2025 v0.0.2 Aug 19, 2025 Changes in this version + const FORMAT_TYPE_ALAW + const FORMAT_TYPE_TELEPHONE_EVENT + const FORMAT_TYPE_ULAW + func FormatNumeric(f string) uint8 + func GenerateForAudio(originIP net.IP, connectionIP net.IP, rtpPort int, mode Mode, fmts Formats) []byte + func GetCurrentNTPTimestamp() uint64 + func NTPTimestamp(now time.Time) uint64 + func Unmarshal(data []byte, sdptr *SessionDescription) error + type ConnectionInformation struct + AddressType string + IP net.IP + NetworkType string + Range int + TTL int + type Formats []string + func NewFormats(fmts ...string) Formats + func (fmts Formats) ToNumeric() (nfmts []int, err error) + type MediaDescription struct + Formats []string + MediaType string + Port int + PortNumbers int + Proto string + func (m *MediaDescription) String() string + type Mode string + const ModeRecvonly + const ModeSendonly + const ModeSendrecv + type SessionDescription map[string][]string + func (sd SessionDescription) ConnectionInformation() (ci ConnectionInformation, err error) + func (sd SessionDescription) MediaDescription(mediaType string) (MediaDescription, error) + func (sd SessionDescription) Value(key string) string + func (sd SessionDescription) Values(key string) []string