Import line: | GstSdp = imports.gi.GstSdp; |
GIR File: | GstSdp-0.10.gir |
C documentation: | GstSDPMedia |
Struct : | SDPMedia |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
attributes : GLib.Array
|
GstSdp.SDPMedia | |
bandwidths : GLib.Array
|
GstSdp.SDPMedia | |
connections : GLib.Array
|
GstSdp.SDPMedia | |
fmts : GLib.Array
|
GstSdp.SDPMedia | |
information : String
|
GstSdp.SDPMedia | |
key : GstSdp.SDPKey
|
GstSdp.SDPMedia | |
media : String
|
GstSdp.SDPMedia | |
num_ports : Number
|
GstSdp.SDPMedia | |
port : Number
|
GstSdp.SDPMedia | |
proto : String
|
GstSdp.SDPMedia |
Method / Constructor | Defined By | |
---|---|---|
new GstSdp.SDPMedia
()
Create a new GstSdp.SDPMedia
Create a new GstSdp.SDPMedia
|
||
Create a new GstSdp.SDPMedia
Create a new GstSdp.SDPMedia
|
||
Add the attribute with key and value to media.
Add the attribute with key and value to media.
|
GstSdp.SDPMedia | |
Add the bandwidth information with bwtype and bandwidth to media.
Add the bandwidth information with bwtype and bandwidth to media.
|
GstSdp.SDPMedia | |
GstSdp.SDPMedia | ||
add_format
(String format)
:
GstSdp.SDPResult
Add the format information to media.
Add the format information to media.
|
GstSdp.SDPMedia | |
as_text
()
:
String
Convert the contents of media to a text string.
Convert the contents of media to a text string.
|
GstSdp.SDPMedia | |
attributes_len
()
:
Number
Get the number of attribute fields in media.
Get the number of attribute fields in media.
|
GstSdp.SDPMedia | |
bandwidths_len
()
:
Number
Get the number of bandwidth fields in media.
Get the number of bandwidth fields in media.
|
GstSdp.SDPMedia | |
connections_len
()
:
Number
Get the number of connection fields in media.
Get the number of connection fields in media.
|
GstSdp.SDPMedia | |
formats_len
()
:
Number
Get the number of formats in media.
Get the number of formats in media.
|
GstSdp.SDPMedia | |
free
()
:
GstSdp.SDPResult
Free all resources allocated by 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().
|
GstSdp.SDPMedia | |
get_attribute
(Number idx)
:
GstSdp.SDPAttribute
Get the attribute at position idx in media.
Get the attribute at position idx in media.
|
GstSdp.SDPMedia | |
GstSdp.SDPMedia | ||
GstSdp.SDPMedia | ||
get_bandwidth
(Number idx)
:
GstSdp.SDPBandwidth
Get the bandwidth at position idx in media.
Get the bandwidth at position idx in media.
|
GstSdp.SDPMedia | |
get_connection
(Number idx)
:
GstSdp.SDPConnection
Get the connection at position idx in media.
Get the connection at position idx in media.
|
GstSdp.SDPMedia | |
GstSdp.SDPMedia | ||
get_information
()
:
String
Get the information of media
Get the information of media
|
GstSdp.SDPMedia | |
get_key
()
:
GstSdp.SDPKey
Get the encryption information from media.
Get the encryption information from media.
|
GstSdp.SDPMedia | |
get_media
()
:
String
Get the media description of media.
Get the media description of media.
|
GstSdp.SDPMedia | |
get_num_ports
()
:
Number
Get the number of ports for media.
Get the number of ports for media.
|
GstSdp.SDPMedia | |
get_port
()
:
Number
Get the port number for media.
Get the port number for media.
|
GstSdp.SDPMedia | |
get_proto
()
:
String
Get the transport protocol of media
Get the transport protocol of media
|
GstSdp.SDPMedia | |
init
()
:
GstSdp.SDPResult
Initialize media so that its contents are as if it was freshly allocated with gst_sdp_media_new().
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.
|
GstSdp.SDPMedia | |
set_information
(String information)
:
GstSdp.SDPResult
Set the media information of media to information.
Set the media information of media to information.
|
GstSdp.SDPMedia | |
Adds the encryption information to media.
Adds the encryption information to media.
|
GstSdp.SDPMedia | |
set_media
(String med)
:
GstSdp.SDPResult
Set the media description of media to med.
Set the media description of media to med.
|
GstSdp.SDPMedia | |
Set the port information in media.
Set the port information in media.
|
GstSdp.SDPMedia | |
set_proto
(String proto)
:
GstSdp.SDPResult
Set the media transport protocol of media to proto.
Set the media transport protocol of media to proto.
|
GstSdp.SDPMedia | |
uninit
()
:
GstSdp.SDPResult
Free all resources allocated in media.
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().
|
GstSdp.SDPMedia |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
GstRtsp.RTSPExtension
Method |
setup_media
(SDPMedia media)
:
GstRtsp.RTSPResult
|
GstSdp.SDPMessage
Method |
get_media
(Number idx)
:
GstSdp.SDPMedia
Get the media description at index idx in msg.
|
GstSdp.SDPMessage
Method |
add_media
(SDPMedia media)
:
GstSdp.SDPResult
Adds media to the array of medias in msg.
|