The different cache types
The envelope key MUST NOT be cached
The envelope key MUST be cached
The envelope key MUST be cached, but only
to be used for the specific CSB.
The encryption algorithm used to encrypt the Encr data field
no encryption
AES-CM using a 128-bit key
AES Key Wrap using a 128-bit key
AES-GCM using a 128-bit key (Since: 1.16)
The key validity type
No specific usage rule
The key is associated with the SPI/MKI
The key has a start and expiration time
The type of key.
a TEK Generation Key
Traffic-Encrypting Key
Specifies the authentication algorithm used
no authentication
HMAC-SHA-1-160
The Security policy Map item for SRTP
The security policy applied for the stream with @ssrc
the SSRC that must be used for the stream
current rollover counter
Specifies the method of uniquely mapping Crypto Sessions to the security
protocol sessions.
SRTP
Structure holding the information of the MIKEY message
the version
the #GstMIKEYType message type
verify flag
a #GstMIKEYPRFFunc
Identifies the Crypto Session Bundle
a #GstMIKEYMapType
map info array of type depending on @map_type
the payload array of #GstMIKEYPayload
Make a new MIKEY message.
a new #GstMIKEYMessage on success
Make a new #GstMIKEYMessage from @bytes.
a new #GstMIKEYMessage
a #GBytes
a #GstMIKEYDecryptInfo
Makes mikey message including:
- Security Policy Payload
- Key Data Transport Payload
- Key Data Sub-Payload
a #GstMIKEYMessage,
or %NULL if there is no srtp information in the caps.
a #GstCaps, including SRTP parameters (srtp/srtcp cipher, authorization, key data)
Parse @size bytes from @data into a #GstMIKEYMessage. @info contains the
parameters to decrypt and verify the data.
a #GstMIKEYMessage on success or %NULL when parsing failed and
@error will be set.
bytes to read
length of @data
#GstMIKEYDecryptInfo
Add a Crypto policy for SRTP to @msg.
%TRUE on success
a #GstMIKEYMessage
The security policy applied for the stream with @ssrc
the SSRC that must be used for the stream
current rollover counter
Add a new payload to @msg.
%TRUE on success
a #GstMIKEYMessage
a #GstMIKEYPayload
Add a new PKE payload to @msg with the given parameters.
%TRUE on success
a #GstMIKEYMessage
envelope key cache indicator
the length of @data
the encrypted envelope key
Add a new RAND payload to @msg with the given parameters.
%TRUE on success
a #GstMIKEYMessage
the length of @rand
random data
Add a new RAND payload to @msg with @len random bytes.
%TRUE on success
a #GstMIKEYMessage
length
Add a new T payload to @msg with the given parameters.
%TRUE on success
a #GstMIKEYMessage
specifies the timestamp type used
The timestamp value of the specified @type
Add a new T payload to @msg that contains the current time
in NTP-UTC format.
%TRUE on success
a #GstMIKEYMessage
a #gchar, base64-encoded data
a #GstMIKEYMessage
Find the @nth occurrence of the payload with @type in @msg.
the @nth #GstMIKEYPayload of @type.
a #GstMIKEYMessage
a #GstMIKEYPayloadType
payload to find
Get the policy information of @msg at @idx.
a #GstMIKEYMapSRTP
a #GstMIKEYMessage
an index
Get the number of crypto sessions in @msg.
the number of crypto sessions
a #GstMIKEYMessage
Get the number of payloads in @msg.
the number of payloads in @msg
a #GstMIKEYMessage
Get the #GstMIKEYPayload at @idx in @msg
the #GstMIKEYPayload at @idx. The payload
remains valid for as long as it is part of @msg.
a #GstMIKEYMessage
an index
Insert a Crypto Session map for SRTP in @msg at @idx
When @idx is -1, the policy will be appended.
%TRUE on success
a #GstMIKEYMessage
the index to insert at
the map info
Insert the @payload at index @idx in @msg. If @idx is -1, the payload
will be appended to @msg.
%TRUE on success
a #GstMIKEYMessage
an index
a #GstMIKEYPayload
Remove the SRTP policy at @idx.
%TRUE on success
a #GstMIKEYMessage
the index to remove
Remove the payload in @msg at @idx
%TRUE on success
a #GstMIKEYMessage
an index
Replace a Crypto Session map for SRTP in @msg at @idx with @map.
%TRUE on success
a #GstMIKEYMessage
the index to insert at
the map info
Replace the payload at @idx in @msg with @payload.
%TRUE on success
a #GstMIKEYMessage
an index
a #GstMIKEYPayload
Set the information in @msg.
%TRUE on success
a #GstMIKEYMessage
a version
a #GstMIKEYType
verify flag
the #GstMIKEYPRFFunc function to use
the Crypto Session Bundle id
the #GstMIKEYMapType
Convert @msg to a #GBytes.
a new #GBytes for @msg.
a #GstMIKEYMessage
a #GstMIKEYEncryptInfo
%TRUE on success
a #GstMIKEYMessage
a #GstCaps to be filled with SRTP parameters (srtp/srtcp cipher, authorization, key data)
The PRF function that has been/will be used for key derivation
MIKEY-1 PRF function
Hold the common fields for all payloads
the payload type
length of the payload
Make a new #GstMIKEYPayload with @type.
a new #GstMIKEYPayload or %NULL on failure.
a #GstMIKEYPayloadType
Add a new sub payload to @payload.
%TRUE on success.
a #GstMIKEYPayload
a #GstMIKEYPayload to add
Get the number of sub payloads of @payload. @payload should be of type
%GST_MIKEY_PT_KEMAC.
the number of sub payloads in @payload
a #GstMIKEYPayload
Get the sub payload of @payload at @idx. @payload should be of type
%GST_MIKEY_PT_KEMAC.
the #GstMIKEYPayload at @idx.
a #GstMIKEYPayload
an index
Remove the sub payload at @idx in @payload.
%TRUE on success.
a #GstMIKEYPayload
the index to remove
Set the KEMAC parameters. @payload should point to a %GST_MIKEY_PT_KEMAC
payload.
%TRUE on success
a #GstMIKEYPayload
the #GstMIKEYEncAlg
a #GstMIKEYMacAlg
Set the key validity period in the %GST_MIKEY_PT_KEY_DATA @payload.
%TRUE on success
a #GstMIKEYPayload
the length of @vf_data
the Valid From data
the length of @vt_data
the Valid To data
Set @key_len bytes of @key_data of type @key_type as the key for the
%GST_MIKEY_PT_KEY_DATA @payload.
%TRUE on success
a #GstMIKEYPayload
a #GstMIKEYKeyDataType
the length of @key_data
the key of type @key_type
Set the salt key data. If @salt_len is 0 and @salt_data is %NULL, the
salt data will be removed.
%TRUE on success
a #GstMIKEYPayload
the length of @salt_data
the salt
Set the SPI/MKI validity in the %GST_MIKEY_PT_KEY_DATA @payload.
%TRUE on success
a #GstMIKEYPayload
the length of @spi_data
the SPI/MKI data
Set the PKE values in @payload. @payload must be of type
%GST_MIKEY_PT_PKE.
%TRUE on success
a #GstMIKEYPayload
envelope key cache indicator
the length of @data
the encrypted envelope key
Set the random values in a %GST_MIKEY_PT_RAND @payload.
%TRUE on success
a #GstMIKEYPayload
the length of @rand
random values
Add a new parameter to the %GST_MIKEY_PT_SP @payload with @type, @len
and @val.
%TRUE on success
a #GstMIKEYPayload
a type
a length
@len bytes of data
Get the number of security policy parameters in a %GST_MIKEY_PT_SP
@payload.
the number of parameters in @payload
a #GstMIKEYPayload
Get the Security Policy parameter in a %GST_MIKEY_PT_SP @payload
at @idx.
the #GstMIKEYPayloadSPParam at @idx in @payload
a #GstMIKEYPayload
an index
Remove the Security Policy parameters from a %GST_MIKEY_PT_SP
@payload at @idx.
%TRUE on success
a #GstMIKEYPayload
an index
Set the Security Policy parameters for @payload.
%TRUE on success
a #GstMIKEYPayload
the policy number
a #GstMIKEYSecProto
Set the timestamp in a %GST_MIKEY_PT_T @payload.
%TRUE on success
a #GstMIKEYPayload
the #GstMIKEYTSType
the timestamp value
A structure holding the KEMAC payload
the common #GstMIKEYPayload
the #GstMIKEYEncAlg
the #GstMIKEYMacAlg
the subpayloads
The Key data payload contains key material. It should be added as sub
payload to the KEMAC.
the payload header
the #GstMIKEYKeyDataType of @key_data
length of @key_data
the key data
the length of @salt_data, can be 0
salt data
the Key Validity type
length of @kv_data
key validity data
The Envelope data payload contains the encrypted envelope key that is
used in the public-key transport to protect the data in the Key data
transport payload. The encryption algorithm used is implicit from
the certificate/public key used.
the common #GstMIKEYPayload
envelope key cache indicator
length of @data
the encrypted envelope key
The RAND payload consists of a (pseudo-)random bit-string
the payload header
the length of @rand
random values
The Security Policy payload defines a set of policies that apply to a
specific security protocol
the payload header
the policy number
the security protocol
array of #GstMIKEYPayloadSPParam
A Type/Length/Value field for security parameters
specifies the type of the parameter
specifies the length of @val
specifies the value of the parameter
The timestamp payload carries the timestamp information
the payload header
a #GstMIKEYTSType
the timestamp value
Different MIKEY Payload types.
Last payload
Key data transport payload
Envelope data payload
DH data payload
Signature payload
Timestamp payload
ID payload
Certificate Payload
Cert hash payload
Verification message payload
Security Policy payload
RAND payload
Error payload
Key data sub-payload
General Extension Payload
Specifies the security protocol
SRTP
This policy specifies the parameters for SRTP and SRTCP
Encryption algorithm
Session Encr. key length
Authentication algorithm
Session Auth. key length
Session Salt key length
SRTP Pseudo Random Function
Key derivation rate
SRTP encryption off/on, 0 if off, 1 if on
SRTCP encryption off/on, 0 if off, 1 if on
sender's FEC order
SRTP authentication off/on, 0 if off, 1 if on
Authentication tag length
SRTP prefix length
AEAD authentication tag length (Since: 1.16)
Specifies the timestamp type.
an NTP time in UTC timezone
an NTP time
a counter
Different MIKEY data types.
Invalid type
Initiator's pre-shared key message
Verification message of a Pre-shared key message
Initiator's public-key transport message
Verification message of a public-key message
Initiator's DH exchange message
Responder's DH exchange message
Error message
The supported MIKEY version 1.
The contents of the SDP "a=" field which contains a key/value pair.
the attribute key
the attribute value or NULL when it was a property attribute
Clear the attribute.
@GST_SDP_OK.
a #GstSDPAttribute
Set the attribute with @key and @value.
@GST_SDP_OK.
a #GstSDPAttribute
the key
the value
The contents of the SDP "b=" field which specifies the proposed bandwidth to
be used by the session or media.
the bandwidth modifier type
the bandwidth in kilobits per second
Reset the bandwidth information in @bw.
a #GstSDPResult.
a #GstSDPBandwidth
Set bandwidth information in @bw.
a #GstSDPResult.
a #GstSDPBandwidth
the bandwidth modifier type
the bandwidth in kilobits per second
The contents of the SDP "c=" field which contains connection data.
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
Clear the connection.
@GST_SDP_OK.
a #GstSDPConnection
Set the connection with the given parameters.
@GST_SDP_OK.
a #GstSDPConnection
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
The contents of the SDP "k=" field which is used to convey encryption
keys.
the encryption type
the encryption data
The contents of the SDP "m=" field with all related fields.
the media type
the transport port to which the media stream will be sent
the number of ports or -1 if only one port was specified
the transport protocol
an array of #gchar formats
the media title
array of #GstSDPConnection with media connection information
array of #GstSDPBandwidth with media bandwidth information
the encryption key
array of #GstSDPAttribute with the additional media attributes
Add the attribute with @key and @value to @media.
#GST_SDP_OK.
a #GstSDPMedia
a key
a value
Add the bandwidth information with @bwtype and @bandwidth to @media.
#GST_SDP_OK.
a #GstSDPMedia
the bandwidth modifier type
the bandwidth in kilobits per second
Add the given connection parameters to @media.
a #GstSDPResult.
a #GstSDPMedia
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.
a #GstSDPMedia
the format
Convert the contents of @media to a text string.
A dynamically allocated string representing the media.
a #GstSDPMedia
Get the number of attribute fields in @media.
the number of attributes in @media.
a #GstSDPMedia
Mapping of attributes of #GstSDPMedia to #GstCaps
a #GstSDPResult.
a #GstSDPMedia
a #GstCaps
Get the number of bandwidth fields in @media.
the number of bandwidths in @media.
a #GstSDPMedia
Get the number of connection fields in @media.
the number of connections in @media.
a #GstSDPMedia
Allocate a new copy of @media and store the result in @copy. The value in
@copy should be release with gst_sdp_media_free function.
a #GstSDPResult
a #GstSDPMedia
pointer to new #GstSDPMedia
Get the number of formats in @media.
the number of formats in @media.
a #GstSDPMedia
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.
a #GstSDPMedia
Get the attribute at position @idx in @media.
the #GstSDPAttribute at position @idx.
a #GstSDPMedia
an index
Get the first attribute value for @key in @media.
the first attribute value for @key.
a #GstSDPMedia
a key
Get the @nth attribute value for @key in @media.
the @nth attribute value.
a #GstSDPMedia
a key
an index
Get the bandwidth at position @idx in @media.
the #GstSDPBandwidth at position @idx.
a #GstSDPMedia
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, ssrc and rid attributes are set only by gst_sdp_media_attributes_to_caps().
a #GstCaps, or %NULL if an error happened
a #GstSDPMedia
a payload type
Get the connection at position @idx in @media.
the #GstSDPConnection at position @idx.
a #GstSDPMedia
an index
Get the format information at position @idx in @media.
the format at position @idx.
a #GstSDPMedia
an index
Get the information of @media
the information of @media.
a #GstSDPMedia
Get the encryption information from @media.
a #GstSDPKey.
a #GstSDPMedia
Get the media description of @media.
the media description.
a #GstSDPMedia
Get the number of ports for @media.
the number of ports for @media.
a #GstSDPMedia
Get the port number for @media.
the port number of @media.
a #GstSDPMedia
Get the transport protocol of @media
the transport protocol of @media.
a #GstSDPMedia
Insert the attribute to @media at @idx. When @idx is -1,
the attribute is appended.
#GST_SDP_OK.
a #GstSDPMedia
an index
a #GstSDPAttribute
Insert the bandwidth information to @media at @idx. When @idx is -1,
the bandwidth is appended.
#GST_SDP_OK.
a #GstSDPMedia
an index
a #GstSDPBandwidth
Insert the connection information to @media at @idx. When @idx is -1,
the connection is appended.
#GST_SDP_OK.
a #GstSDPMedia
an index
a #GstSDPConnection
Insert the format information to @media at @idx. When @idx is -1,
the format is appended.
#GST_SDP_OK.
a #GstSDPMedia
an index
the format
Creates a new #GstMIKEYMessage after parsing the key-mgmt attribute
from a #GstSDPMedia.
a #GstSDPResult.
a #GstSDPMedia
pointer to new #GstMIKEYMessage
Remove the attribute in @media at @idx.
#GST_SDP_OK.
a #GstSDPMedia
an index
Remove the bandwidth information in @media at @idx.
#GST_SDP_OK.
a #GstSDPMedia
an index
Remove the connection information in @media at @idx.
#GST_SDP_OK.
a #GstSDPMedia
an index
Remove the format information in @media at @idx.
#GST_SDP_OK.
a #GstSDPMedia
an index
Replace the attribute in @media at @idx with @attr.
#GST_SDP_OK.
a #GstSDPMedia
an index
a #GstSDPAttribute
Replace the bandwidth information in @media at @idx with @bw.
#GST_SDP_OK.
a #GstSDPMedia
an index
a #GstSDPBandwidth
Replace the connection information in @media at @idx with @conn.
#GST_SDP_OK.
a #GstSDPMedia
an index
a #GstSDPConnection
Replace the format information in @media at @idx with @format.
#GST_SDP_OK.
a #GstSDPMedia
an index
the format
Set the media information of @media to @information.
#GST_SDP_OK.
a #GstSDPMedia
the media information
Adds the encryption information to @media.
a #GstSDPResult.
a #GstSDPMedia
the encryption type
the encryption data
Set the media description of @media to @med.
#GST_SDP_OK.
a #GstSDPMedia
the media description
Set the port information in @media.
#GST_SDP_OK.
a #GstSDPMedia
the port number
the number of ports
Set the media transport protocol of @media to @proto.
#GST_SDP_OK.
a #GstSDPMedia
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.
a #GstSDPMedia
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.
a #GstSDPMedia
Allocate a new GstSDPMedia and store the result in @media.
a #GstSDPResult.
pointer to new #GstSDPMedia
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)
a #GstSDPResult.
a #GstCaps
a #GstSDPMedia
The GstSDPMessage helper functions makes it easy to parse and create SDP
messages.
the protocol version
owner/creator and session identifier
session name
session information
URI of description
array of #gchar with email addresses
array of #gchar with phone numbers
connection information for the session
array of #GstSDPBandwidth with bandwidth information
array of #GstSDPTime with time descriptions
array of #GstSDPZone with time zone adjustments
encryption key
array of #GstSDPAttribute with session attributes
array of #GstSDPMedia with media descriptions
Add the attribute with @key and @value to @msg.
@GST_SDP_OK.
a #GstSDPMessage
the key
the value
Add the specified bandwidth information to @msg.
a #GstSDPResult.
a #GstSDPMessage
the bandwidth modifier type
the bandwidth in kilobits per second
Add @email to the list of emails in @msg.
a #GstSDPResult.
a #GstSDPMessage
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_sdp_media_init() before it can be used again.
a #GstSDPResult.
a #GstSDPMessage
a #GstSDPMedia to add
Add @phone to the list of phones in @msg.
a #GstSDPResult.
a #GstSDPMessage
a phone
Add time information @start and @stop to @msg.
a #GstSDPResult.
a #GstSDPMessage
the start time
the stop time
the repeat times
Add time zone information to @msg.
a #GstSDPResult.
a #GstSDPMessage
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.
a #GstSDPMessage
Get the number of attributes in @msg.
the number of attributes in @msg.
a #GstSDPMessage
Mapping of attributes of #GstSDPMessage to #GstCaps
a #GstSDPResult.
a #GstSDPMessage
a #GstCaps
Get the number of bandwidth information in @msg.
the number of bandwidth information in @msg.
a #GstSDPMessage
Allocate a new copy of @msg and store the result in @copy. The value in
@copy should be release with gst_sdp_message_free function.
a #GstSDPResult
a #GstSDPMessage
pointer to new #GstSDPMessage
Dump the parsed contents of @msg to stdout.
a #GstSDPResult.
a #GstSDPMessage
Get the number of emails in @msg.
the number of emails in @msg.
a #GstSDPMessage
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.
a #GstSDPMessage
Get the attribute at position @idx in @msg.
the #GstSDPAttribute at position @idx.
a #GstSDPMessage
the index
Get the first attribute with key @key in @msg.
the attribute value of the first attribute with @key.
a #GstSDPMessage
the key
Get the @nth attribute with key @key in @msg.
the attribute value of the @nth attribute with @key.
a #GstSDPMessage
the key
the index
Get the bandwidth at index @idx from @msg.
a #GstSDPBandwidth.
a #GstSDPMessage
the bandwidth index
Get the connection of @msg.
a #GstSDPConnection. The result remains valid as long as @msg is valid.
a #GstSDPMessage
Get the email with number @idx from @msg.
the email at position @idx.
a #GstSDPMessage
an email index
Get the information in @msg.
a #GstSDPResult.
a #GstSDPMessage
Get the encryption information from @msg.
a #GstSDPKey.
a #GstSDPMessage
Get the media description at index @idx in @msg.
a #GstSDPMedia.
a #GstSDPMessage
the index
Get the origin of @msg.
a #GstSDPOrigin. The result remains valid as long as @msg is valid.
a #GstSDPMessage
Get the phone with number @idx from @msg.
the phone at position @idx.
a #GstSDPMessage
a phone index
Get the session name in @msg.
a #GstSDPResult.
a #GstSDPMessage
Get time information with index @idx from @msg.
a #GstSDPTime.
a #GstSDPMessage
the time index
Get the URI in @msg.
a #GstSDPResult.
a #GstSDPMessage
Get the version in @msg.
a #GstSDPResult.
a #GstSDPMessage
Get time zone information with index @idx from @msg.
a #GstSDPZone.
a #GstSDPMessage
the zone index
Insert attribute into the array of attributes in @msg
at index @idx.
When -1 is given as @idx, the attribute is inserted at the end.
a #GstSDPResult.
a #GstSDPMessage
an index
a #GstSDPAttribute
Insert bandwidth parameters into the array of bandwidths in @msg
at index @idx.
When -1 is given as @idx, the bandwidth is inserted at the end.
a #GstSDPResult.
a #GstSDPMessage
an index
the bandwidth
Insert @email into the array of emails in @msg at index @idx.
When -1 is given as @idx, the email is inserted at the end.
a #GstSDPResult.
a #GstSDPMessage
an index
an email
Insert @phone into the array of phone numbers in @msg at index @idx.
When -1 is given as @idx, the phone is inserted at the end.
a #GstSDPResult.
a #GstSDPMessage
a phone index
a phone
Insert time parameters into the array of times in @msg
at index @idx.
When -1 is given as @idx, the times are inserted at the end.
a #GstSDPResult.
a #GstSDPMessage
an index
a #GstSDPTime
Insert zone parameters into the array of zones in @msg
at index @idx.
When -1 is given as @idx, the zone is inserted at the end.
a #GstSDPResult.
a #GstSDPMessage
an index
a #GstSDPZone
Get the number of media descriptions in @msg.
the number of media descriptions in @msg.
a #GstSDPMessage
Creates a new #GstMIKEYMessage after parsing the key-mgmt attribute
from a #GstSDPMessage.
a #GstSDPResult.
a #GstSDPMessage
pointer to new #GstMIKEYMessage
Get the number of phones in @msg.
the number of phones in @msg.
a #GstSDPMessage
Remove the attribute in @msg at index @idx.
a #GstSDPResult.
a #GstSDPMessage
the index
Remove the bandwidth information in @msg at index @idx.
a #GstSDPResult.
a #GstSDPMessage
the bandwidth index
Remove the email in @msg at index @idx.
a #GstSDPResult.
a #GstSDPMessage
an email index
Remove the media at @idx from the array of medias in @msg if found.
#GST_SDP_OK when the specified media is found at @idx and removed,
#GST_SDP_EINVAL otherwise.
a #GstSDPMessage
the media index
Remove the phone number in @msg at index @idx.
a #GstSDPResult.
a #GstSDPMessage
a phone index
Remove the time information in @msg at index @idx.
a #GstSDPResult.
a #GstSDPMessage
the index
Remove the zone information in @msg at index @idx.
a #GstSDPResult.
a #GstSDPMessage
the index
Replace the attribute in @msg at index @idx with @attr.
a #GstSDPResult.
a #GstSDPMessage
the index
a #GstSDPAttribute
Replace the bandwidth information in @msg at index @idx with @bw.
a #GstSDPResult.
a #GstSDPMessage
the bandwidth index
the bandwidth
Replace the email in @msg at index @idx with @email.
a #GstSDPResult.
a #GstSDPMessage
an email index
an email
Replace the phone number in @msg at index @idx with @phone.
a #GstSDPResult.
a #GstSDPMessage
a phone index
a phone
Replace the time information in @msg at index @idx with @t.
a #GstSDPResult.
a #GstSDPMessage
the index
a #GstSDPTime
Replace the zone information in @msg at index @idx with @zone.
a #GstSDPResult.
a #GstSDPMessage
the index
a #GstSDPZone
Configure the SDP connection in @msg with the given parameters.
a #GstSDPResult.
a #GstSDPMessage
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.
a #GstSDPMessage
the information
Adds the encryption information to @msg.
a #GstSDPResult.
a #GstSDPMessage
the encryption type
the encryption data
Configure the SDP origin in @msg with the given parameters.
#GST_SDP_OK.
a #GstSDPMessage
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.
a #GstSDPMessage
the session name
Set the URI in @msg.
a #GstSDPResult.
a #GstSDPMessage
the URI
Set the version in @msg.
a #GstSDPResult.
a #GstSDPMessage
the version
Get the number of time information entries in @msg.
the number of time information entries in @msg.
a #GstSDPMessage
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.
a #GstSDPMessage
Get the number of time zone information entries in @msg.
the number of time zone information entries in @msg.
a #GstSDPMessage
Creates a uri from @msg with the given @scheme. The uri has the format:
\@scheme:///[#type=value *[&type=value]]
Where each value is url encoded.
a uri for @msg.
the uri scheme
the #GstSDPMessage
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.
a #GstSDPMessage
Allocate a new GstSDPMessage and store the result in @msg.
a #GstSDPResult.
pointer to new #GstSDPMessage
Parse @text and create a new SDPMessage from these.
a #GstSDPResult.
A dynamically allocated string representing the SDP description
pointer to new #GstSDPMessage
Parse the contents of @size bytes pointed to by @data and store the result in
@msg.
#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
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.
the user's login on the originating host, or it is "-"
if the originating host does not support the concept of user ids.
is a numeric string such that the tuple of @username, @sess_id,
@nettype, @addrtype and @addr form a globally unique identifier for the
session.
a version number for this announcement
the type of network. "IN" is defined to have the meaning
"Internet".
the type of @addr.
the globally unique address of the machine from which the session was
created.
Return values for the SDP functions.
A successful return value
a function was given invalid parameters
The contents of the SDP "t=" field which specify the start and stop times for
a conference session.
start time for the conference. The value is the decimal
representation of Network Time Protocol (NTP) time values in seconds
stop time for the conference. The value is the decimal
representation of Network Time Protocol (NTP) time values in seconds
repeat times for a session
Reset the time information in @t.
a #GstSDPResult.
a #GstSDPTime
Set time information @start, @stop and @repeat in @t.
a #GstSDPResult.
a #GstSDPTime
the start time
the stop time
the repeat times
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.
the NTP time that a time zone adjustment happens
the offset from the time when the session was first scheduled
Reset the zone information in @zone.
a #GstSDPResult.
a #GstSDPZone
Set zone information in @zone.
a #GstSDPResult.
a #GstSDPZone
the NTP time that a time zone adjustment happens
the offset from the time when the session was first scheduled
The Application-Specific Maximum bandwidth modifier.
The Conference Total bandwidth modifier.
The extension prefix bandwidth modifier.
RTCP bandwidth allocated to data receivers (RFC 3556).
RTCP bandwidth allocated to active data senders (RFC 3556).
Transport Independent Application Specific Maximum bandwidth (RFC 3890).
Check if the given @addr is a multicast address.
TRUE when @addr is multicast.
a network type
an address type
an address
Makes key management data
a #gchar key-mgmt data,
a #gchar URI
a #gchar base64-encoded key data
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.
a #GstSDPMedia
Allocate a new GstSDPMedia and store the result in @media.
a #GstSDPResult.
pointer to new #GstSDPMedia
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)
a #GstSDPResult.
a #GstCaps
a #GstSDPMedia
Creates a uri from @msg with the given @scheme. The uri has the format:
\@scheme:///[#type=value *[&type=value]]
Where each value is url encoded.
a uri for @msg.
the uri scheme
the #GstSDPMessage
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.
a #GstSDPMessage
Allocate a new GstSDPMessage and store the result in @msg.
a #GstSDPResult.
pointer to new #GstSDPMessage
Parse @text and create a new SDPMessage from these.
a #GstSDPResult.
A dynamically allocated string representing the SDP description
pointer to new #GstSDPMessage
Parse the contents of @size bytes pointed to by @data and store the result in
@msg.
#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