![]() |
![]() |
![]() |
Farsight2 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <gst/farsight/fs-utils.h> GList * fs_utils_get_default_codec_preferences (GstElement *element
); GKeyFile * fs_utils_get_default_element_properties (GstElement *element
); void fs_utils_set_bitrate (GstElement *element
,glong bitrate
);
GList * fs_utils_get_default_codec_preferences
(GstElement *element
);
These default codec preferences should work with the elements that are available in the main GStreamer element repositories. They should be suitable for standards based protocols like SIP or XMPP.
|
Element for which to fetch default codec preferences |
Returns : |
The default codec preferences for this plugin,
this GList should be freed with fs_codec_list_destroy()
|
GKeyFile * fs_utils_get_default_element_properties
(GstElement *element
);
This function produces a GKeyFile that can be fed to
fs_element_added_notifier_set_properties_from_keyfile()
. If no
default properties have been found, it will return NULL
.
void fs_utils_set_bitrate (GstElement *element
,glong bitrate
);
This allows setting the bitrate on all elements that have a "bitrate" property without having to know the type or of the unit used by that element.
This will be obsolete in 0.11 (when all elements use bit/sec for the "bitrate" property.
|
The GstElement |
|
The bitrate in bits/sec |