The contents of the SDP "a=" field which contains a key/value pair. The contents of the SDP "b=" field which specifies the proposed bandwidth to be used by the session or media. The contents of the SDP "c=" field which contains connection data. The contents of the SDP "k=" field which is used to convey encryption keys. The contents of the SDP "m=" field with all related fields. Add the attribute with @key and @value to @media. #GST_SDP_OK. a key a value Add the bandwidth information with @bwtype and @bandwidth to @media. #GST_SDP_OK. the bandwidth modifier type the bandwidth in kilobits per second Add the given connection parameters to @media. a #GstSDPResult. 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. #GST_SDP_OK. the format 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. 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(). a #GstSDPResult. Get the attribute at position @idx in @media. the #GstSDPAttribute at position @idx. an index Get the first attribute value for @key in @media. the first attribute value for @key. a key Get the @nth attribute value for @key in @media. the @nth attribute value. a key an index Get the bandwidth at position @idx in @media. the #GstSDPBandwidth at position @idx. an index Get the connection at position @idx in @media. the #GstSDPConnection at position @idx. an index Get the format information at position @idx in @media. the format at position @idx. an index Get the information of @media the information of @media. Get the encryption information from @media. a #GstSDPKey. 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. 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. a #GstSDPResult. Set the media information of @media to @information. #GST_SDP_OK. the media information Adds the encryption information to @media. a #GstSDPResult. the encryption type the encryption data Set the media description of @media to @med. #GST_SDP_OK. the media description Set the port information in @media. #GST_SDP_OK. the port number the number of ports Set the media transport protocol of @media to @proto. #GST_SDP_OK. 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(). a #GstSDPResult. The contents of the SDP message. Add the attribute with @key and @value to @msg. @GST_SDP_OK. the key the value Add the specified bandwidth information to @msg. a #GstSDPResult. the bandwidth modifier type the bandwidth in kilobits per second Add @email to the list of emails in @msg. a #GstSDPResult. an email Adds @media to the array of medias in @msg. This function takes ownership of the contents of @media so that @media will have to be reinitialized with gst_media_init() before it can be used again. a #GstSDPResult. a #GstSDPMedia to add Add @phone to the list of phones in @msg. a #GstSDPResult. a phone Add time information @start and @stop to @msg. a #GstSDPResult. the start time the stop time the repeat times Add time zone information to @msg. a #GstSDPResult. the NTP time that a time zone adjustment happens the offset from the time when the session was first scheduled Convert the contents of @msg to a text string. A dynamically allocated string representing the SDP description. Get the number of attributes in @msg. the number of attributes in @msg. Get the number of bandwidth information in @msg. the number of bandwidth information in @msg. Dump the parsed contents of @msg to stdout. a #GstSDPResult. Get the number of emails in @msg. the number of emails in @msg. Free all resources allocated by @msg. @msg should not be used anymore after this function. This function should be used when @msg was dynamically allocated with gst_sdp_message_new(). a #GstSDPResult. Get the attribute at position @idx in @msg. the #GstSDPAttribute at position @idx. the index Get the first attribute with key @key in @msg. the attribute value of the first attribute with @key. the key Get the @nth attribute with key @key in @msg. the attribute value of the @nth attribute with @key. the key the index Get the bandwidth at index @idx from @msg. a #GstSDPBandwidth. the bandwidth index Get the connection of @msg. a #GstSDPConnection. The result remains valid as long as @msg is valid. Get the email with number @idx from @msg. the email at position @idx. an email index Get the information in @msg. a #GstSDPResult. Get the encryption information from @msg. a #GstSDPKey. Get the media description at index @idx in @msg. a #GstSDPMedia. the index Get the origin of @msg. a #GstSDPOrigin. The result remains valid as long as @msg is valid. Get the phone with number @idx from @msg. the phone at position @idx. a phone index Get the session name in @msg. a #GstSDPResult. Get time information with index @idx from @msg. a #GstSDPTime. the time index Get the URI in @msg. a #GstSDPResult. Get the version in @msg. a #GstSDPResult. Get time zone information with index @idx from @msg. a #GstSDPZone. the zone index Initialize @msg so that its contents are as if it was freshly allocated with gst_sdp_message_new(). This function is mostly used to initialize a message allocated on the stack. gst_sdp_message_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. a #GstSDPResult. Get the number of media descriptions in @msg. the number of media descriptions in @msg. Get the number of phones in @msg. the number of phones in @msg. Configure the SDP connection in @msg with the given parameters. a #GstSDPResult. 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 Set the information in @msg. a #GstSDPResult. the information Adds the encryption information to @msg. a #GstSDPResult. the encryption type the encryption data Configure the SDP origin in @msg with the given parameters. #GST_SDP_OK. the user name a session id a session version a network type an address type an address Set the session name in @msg. a #GstSDPResult. the session name Set the URI in @msg. a #GstSDPResult. the URI Set the version in @msg. a #GstSDPResult. the version Get the number of time information entries in @msg. the number of time information entries in @msg. Free all resources allocated in @msg. @msg should not be used anymore after this function. This function should be used when @msg was allocated on the stack and initialized with gst_sdp_message_init(). a #GstSDPResult. Get the number of time zone information entries in @msg. the number of time zone information entries in @msg. The contents of the SDP "o=" field which gives the originator of the session (their username and the address of the user's host) plus a session id and session version number. Return values for the SDP functions. The contents of the SDP "t=" field which specify the start and stop times for a conference session. The contents of the SDP "z=" field which allows the sender to specify a list of time zone adjustments and offsets from the base time. Check if the given @addr is a multicast address. TRUE when @addr is multicast. a network type an address type an address Allocate a new GstSDPMedia and store the result in @media. a #GstSDPResult. pointer to new #GstSDPMedia Creates a uri from @msg with the given @scheme. The uri has the format: Where each value is url encoded. a uri for @msg. the uri scheme the #GstSDPMessage Allocate a new GstSDPMessage and store the result in @msg. a #GstSDPResult. pointer to new #GstSDPMessage Parse the contents of @size bytes pointed to by @data and store the result in #GST_SDP_OK on success. the start of the buffer the size of the buffer the result #GstSDPMessage Parse the null-terminated @uri and store the result in @msg. The uri should be of the form: scheme://[address[:ttl=ttl][:noa=noa]]/[sessionname] [#type=value *[&type=value]] where value is url encoded. This looslely resembles http://tools.ietf.org/html/draft-fujikawa-sdp-url-01 #GST_SDP_OK on success. the start of the uri the result #GstSDPMessage