Documentation ¶
Overview ¶
gstsdp contains bindings for the gstreamer sdp library. See also https://gstreamer.freedesktop.org/documentation/sdp/index.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSDPInvalid = errors.New("invalid SDP")
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
func NewMessageFromUnsafe ¶
NewMessageFromUnsafe creates a new SDP message from a pointer and does not finalize it
func ParseSDPMessage ¶
func (*Message) Free ¶
func (msg *Message) Free()
Free frees the SDP message.
This is called automatically when the object is garbage collected.
func (*Message) UnownedCopy ¶
UnownedCopy creates a new copy of the SDP message that will not be finalized
this is needed to pass the message back to C where C takes ownership of the message
the returned SDP message will leak memory if not freed manually
type SDPResult ¶
type SDPResult C.GstSDPResult
const ( SDPResultOk SDPResult = C.GST_SDP_OK SDPEinval SDPResult = C.GST_SDP_EINVAL )
Click to show internal directories.
Click to hide internal directories.