array of #GstSDPAttribute with the additional media attributes
array of #GstSDPBandwidth with media bandwidth information
array of #GstSDPConnection with media connection information
an array of #gchar formats
the media title
the encryption key
the media type
the number of ports or -1 if only one port was specified
the transport port to which the media stream will be sent
the transport protocol
Add the attribute with key
and value
to media
.
a key
a value
Add the bandwidth information with bwtype
and bandwidth
to media
.
the bandwidth modifier type
the bandwidth in kilobits per second
Add the given connection parameters to media
.
the type of network. "IN" is defined to have the meaning "Internet".
the type of address.
the address
the time to live of the address
the number of layers
Add the format information to media
.
the format
Convert the contents of media
to a text string.
Get the number of attribute fields in media
.
Get the number of bandwidth fields in media
.
Get the number of connection fields in media
.
Get the number of formats in media
.
Free all resources allocated by media
. media
should not be used anymore after
this function. This function should be used when media
was dynamically
allocated with gst_sdp_media_new().
Get the attribute at position idx
in media
.
an index
Get the first attribute value for key
in media
.
a key
Get the nth
attribute value for key
in media
.
a key
an index
Get the bandwidth at position idx
in media
.
an index
Mapping of caps from SDP fields:
a=rtpmap:(payload) (encoding_name)/(clock_rate)[/(encoding_params)]
a=framesize:(payload) (width)-(height)
a=fmtp:(payload) (param)[=(value)];...
Note that the extmap attribute is set only by gst_sdp_media_attributes_to_caps().
a payload type
Get the connection at position idx
in media
.
an index
Get the format information at position idx
in media
.
an index
Get the information of media
Get the encryption information from media
.
Get the media description of media
.
Get the number of ports for media
.
Get the port number for media
.
Get the transport protocol of media
Initialize media
so that its contents are as if it was freshly allocated
with gst_sdp_media_new(). This function is mostly used to initialize a media
allocated on the stack. gst_sdp_media_uninit() undoes this operation.
When this function is invoked on newly allocated data (with malloc or on the stack), its contents should be set to 0 before calling this function.
Insert the attribute to media
at idx
. When idx
is -1,
the attribute is appended.
an index
a #GstSDPAttribute
Insert the bandwidth information to media
at idx
. When idx
is -1,
the bandwidth is appended.
an index
a #GstSDPBandwidth
Insert the connection information to media
at idx
. When idx
is -1,
the connection is appended.
an index
a #GstSDPConnection
Insert the format information to media
at idx
. When idx
is -1,
the format is appended.
an index
the format
Creates a new #GstMIKEYMessage after parsing the key-mgmt attribute from a #GstSDPMedia.
Remove the attribute in media
at idx
.
an index
Remove the bandwidth information in media
at idx
.
an index
Remove the connection information in media
at idx
.
an index
Remove the format information in media
at idx
.
an index
Replace the attribute in media
at idx
with attr
.
an index
a #GstSDPAttribute
Replace the bandwidth information in media
at idx
with bw
.
an index
a #GstSDPBandwidth
Replace the connection information in media
at idx
with conn
.
an index
a #GstSDPConnection
Replace the format information in media
at idx
with format
.
an index
the format
Set the media information of media
to information
.
the media information
Adds the encryption information to media
.
the encryption type
the encryption data
Set the media description of media
to med
.
the media description
Set the port information in media
.
the port number
the number of ports
Set the media transport protocol of media
to proto
.
the media transport protocol
Free all resources allocated in media
. media
should not be used anymore after
this function. This function should be used when media
was allocated on the
stack and initialized with gst_sdp_media_init().
Mapping of caps to SDP fields:
a=rtpmap:(payload) (encoding_name) or (clock_rate)[or (encoding_params)]
a=framesize:(payload) (width)-(height)
a=fmtp:(payload) (param)[=(value)];...
a=rtcp-fb:(payload) (param1) [param2]...
a=extmap:(id)[/direction] (extensionname) (extensionattributes)
The contents of the SDP "m=" field with all related fields.