Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConnectData ¶
ConnectData connection section of a SDP payload
type MediaDescription ¶
type MediaDescription struct { Media string Port string // keeping string for now (parse later, fmt: <port>/<number of ports>) Proto string Fmt string }
MediaDescription media description of a SDP payload
type Origin ¶
type Origin struct { Username string SessionID string SessionVersion string NetType string AddrType string UnicastAddress string }
Origin section of a SDP payload
type SessionDescription ¶
type SessionDescription struct { Version int Origin Origin SessionName string Information string ConnectData ConnectData Timing Timing MediaDescription []MediaDescription Attributes map[string]string }
SessionDescription a struct representation of a SDP payload
func NewSessionDescription ¶
func NewSessionDescription() *SessionDescription
NewSessionDescription instantiates a SessionDescription struct
Click to show internal directories.
Click to hide internal directories.