Static$gtypeAdd the attribute with key and value to media.
a key
Optionalvalue: stringa value
#GST_SDP_OK.
Add the bandwidth information with bwtype and bandwidth to media.
the bandwidth modifier type
the bandwidth in kilobits per second
#GST_SDP_OK.
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
#GST_SDP_OK.
Convert the contents of media to a text string.
A dynamically allocated string representing the media.
Get the number of attribute fields in media.
the number of attributes in media.
Mapping of attributes of GstSdp.SDPMedia to Gst.Caps
Get the number of bandwidth fields in media.
the number of bandwidths in media.
Get the number of connection fields in media.
the number of connections in media.
Get the number of formats in media.
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
the GstSdp.SDPAttribute at position idx.
Get the first attribute value for key in media.
a key
the first attribute value for key.
Get the nth attribute value for key in media.
a key
an index
the nth attribute value.
Get the bandwidth at position idx in media.
an index
the GstSdp.SDPBandwidth at position idx.
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, ssrc and rid attributes are set only by gst_sdp_media_attributes_to_caps().
a payload type
a Gst.Caps, or null if an error happened
Get the connection at position idx in media.
an index
the GstSdp.SDPConnection at position idx.
Get the format information at position idx in media.
an index
the format at position idx.
Get the information of media
the information of media.
Get the media description of media.
the media description.
Get the number of ports for media.
the number of ports for media.
Get the port number for media.
the port number of media.
Get the transport protocol of media
the transport protocol of media.
Insert the attribute to media at idx. When idx is -1,
the attribute is appended.
an index
#GST_SDP_OK.
Insert the bandwidth information to media at idx. When idx is -1,
the bandwidth is appended.
an index
#GST_SDP_OK.
Insert the connection information to media at idx. When idx is -1,
the connection is appended.
an index
#GST_SDP_OK.
Insert the format information to media at idx. When idx is -1,
the format is appended.
an index
the format
#GST_SDP_OK.
Creates a new GstSdp.MIKEYMessage after parsing the key-mgmt attribute from a GstSdp.SDPMedia.
Remove the bandwidth information in media at idx.
an index
#GST_SDP_OK.
Remove the connection information in media at idx.
an index
#GST_SDP_OK.
Remove the format information in media at idx.
an index
#GST_SDP_OK.
Replace the attribute in media at idx with attr.
an index
#GST_SDP_OK.
Replace the bandwidth information in media at idx with bw.
an index
#GST_SDP_OK.
Replace the connection information in media at idx with conn.
an index
#GST_SDP_OK.
Replace the format information in media at idx with format.
an index
the format
#GST_SDP_OK.
Set the media information of media to information.
the media information
#GST_SDP_OK.
Adds the encryption information to media.
the encryption type
the encryption data
Set the media description of media to med.
the media description
#GST_SDP_OK.
Set the port information in media.
the port number
the number of ports
#GST_SDP_OK.
Set the media transport protocol of media to proto.
the media transport protocol
#GST_SDP_OK.
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().
StaticinitInitialize 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.
StaticnewStaticset_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.