Documentation ¶
Overview ¶
Package sdp contains a SDP encoder/decoder compatible with most RTSP implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionDescription ¶
type SessionDescription psdp.SessionDescription
SessionDescription is a SDP session description.
func (*SessionDescription) Attribute ¶
func (s *SessionDescription) Attribute(key string) (string, bool)
Attribute returns the value of an attribute and if it exists
func (*SessionDescription) Marshal ¶
func (s *SessionDescription) Marshal() ([]byte, error)
Marshal encodes a SessionDescription.
func (*SessionDescription) Unmarshal ¶
func (s *SessionDescription) Unmarshal(byts []byte) error
Unmarshal decodes a SessionDescription. This is rewritten from scratch to guarantee compatibility with most RTSP implementations.
Click to show internal directories.
Click to hide internal directories.