Update gir-files from gstreamer-sys

This commit is contained in:
Sebastian Dröge 2018-03-15 09:49:56 +02:00
parent 88a68dff3e
commit b25a071145
13 changed files with 6269 additions and 1227 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -91,13 +91,15 @@ to avoid polling.</doc>
</virtual-method>
<virtual-method name="pull_preroll" invoker="pull_preroll">
<doc xml:space="preserve">Get the last preroll sample in @appsink. This was the sample that caused the
appsink to preroll in the PAUSED state. This sample can be pulled many times
and remains available to the application even after EOS.
appsink to preroll in the PAUSED state.
This function is typically used when dealing with a pipeline in the PAUSED
state. Calling this function after doing a seek will give the sample right
after the seek position.
Calling this function will clear the internal reference to the preroll
buffer.
Note that the preroll sample will also be returned as the first sample
when calling gst_app_sink_pull_sample().
@ -146,13 +148,15 @@ If an EOS event was received before any buffers, this function returns
invoker="try_pull_preroll"
version="1.10">
<doc xml:space="preserve">Get the last preroll sample in @appsink. This was the sample that caused the
appsink to preroll in the PAUSED state. This sample can be pulled many times
and remains available to the application even after EOS.
appsink to preroll in the PAUSED state.
This function is typically used when dealing with a pipeline in the PAUSED
state. Calling this function after doing a seek will give the sample right
after the seek position.
Calling this function will clear the internal reference to the preroll
buffer.
Note that the preroll sample will also be returned as the first sample
when calling gst_app_sink_pull_sample().
@ -316,13 +320,15 @@ PLAYING state.</doc>
</method>
<method name="pull_preroll" c:identifier="gst_app_sink_pull_preroll">
<doc xml:space="preserve">Get the last preroll sample in @appsink. This was the sample that caused the
appsink to preroll in the PAUSED state. This sample can be pulled many times
and remains available to the application even after EOS.
appsink to preroll in the PAUSED state.
This function is typically used when dealing with a pipeline in the PAUSED
state. Calling this function after doing a seek will give the sample right
after the seek position.
Calling this function will clear the internal reference to the preroll
buffer.
Note that the preroll sample will also be returned as the first sample
when calling gst_app_sink_pull_sample().
@ -517,13 +523,15 @@ elements until a sample is pulled from @appsink.</doc>
c:identifier="gst_app_sink_try_pull_preroll"
version="1.10">
<doc xml:space="preserve">Get the last preroll sample in @appsink. This was the sample that caused the
appsink to preroll in the PAUSED state. This sample can be pulled many times
and remains available to the application even after EOS.
appsink to preroll in the PAUSED state.
This function is typically used when dealing with a pipeline in the PAUSED
state. Calling this function after doing a seek will give the sample right
after the seek position.
Calling this function will clear the internal reference to the preroll
buffer.
Note that the preroll sample will also be returned as the first sample
when calling gst_app_sink_pull_sample().
@ -653,13 +661,15 @@ set to %TRUE, which it is not by default for performance reasons.</doc>
</glib:signal>
<glib:signal name="pull-preroll" when="last" action="1">
<doc xml:space="preserve">Get the last preroll sample in @appsink. This was the sample that caused the
appsink to preroll in the PAUSED state. This sample can be pulled many times
and remains available to the application even after EOS.
appsink to preroll in the PAUSED state.
This function is typically used when dealing with a pipeline in the PAUSED
state. Calling this function after doing a seek will give the sample right
after the seek position.
Calling this function will clear the internal reference to the preroll
buffer.
Note that the preroll sample will also be returned as the first sample
when calling gst_app_sink_pull_sample() or the "pull-sample" action signal.
@ -698,13 +708,15 @@ If an EOS event was received before any buffers, this function returns
action="1"
version="1.10">
<doc xml:space="preserve">Get the last preroll sample in @appsink. This was the sample that caused the
appsink to preroll in the PAUSED state. This sample can be pulled many times
and remains available to the application even after EOS.
appsink to preroll in the PAUSED state.
This function is typically used when dealing with a pipeline in the PAUSED
state. Calling this function after doing a seek will give the sample right
after the seek position.
Calling this function will clear the internal reference to the preroll
buffer.
Note that the preroll sample will also be returned as the first sample
when calling gst_app_sink_pull_sample() or the "pull-sample" action signal.
@ -1075,6 +1087,32 @@ space becomes available in the queue.</doc>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="push_buffer_list"
invoker="push_buffer_list"
version="1.14">
<doc xml:space="preserve">Adds a buffer list to the queue of buffers and buffer lists that the
appsrc element will push to its source pad. This function takes ownership
of @buffer_list.
When the block property is TRUE, this function can block until free
space becomes available in the queue.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">#GST_FLOW_OK when the buffer list was successfuly queued.
#GST_FLOW_FLUSHING when @appsrc is not PAUSED or PLAYING.
#GST_FLOW_EOS when EOS occured.</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<instance-parameter name="appsrc" transfer-ownership="none">
<doc xml:space="preserve">a #GstAppSrc</doc>
<type name="AppSrc" c:type="GstAppSrc*"/>
</instance-parameter>
<parameter name="buffer_list" transfer-ownership="full">
<doc xml:space="preserve">a #GstBufferList to push</doc>
<type name="Gst.BufferList" c:type="GstBufferList*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="push_sample" invoker="push_sample" version="1.6">
<doc xml:space="preserve">Extract a buffer from the provided sample and adds it to the queue of
buffers that the appsrc element will push to its source pad. Any
@ -1209,7 +1247,7 @@ signals.</doc>
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">the min latency</doc>
<doc xml:space="preserve">the max latency</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
</parameters>
@ -1279,6 +1317,32 @@ space becomes available in the queue.</doc>
</parameter>
</parameters>
</method>
<method name="push_buffer_list"
c:identifier="gst_app_src_push_buffer_list"
version="1.14">
<doc xml:space="preserve">Adds a buffer list to the queue of buffers and buffer lists that the
appsrc element will push to its source pad. This function takes ownership
of @buffer_list.
When the block property is TRUE, this function can block until free
space becomes available in the queue.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">#GST_FLOW_OK when the buffer list was successfuly queued.
#GST_FLOW_FLUSHING when @appsrc is not PAUSED or PLAYING.
#GST_FLOW_EOS when EOS occured.</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<instance-parameter name="appsrc" transfer-ownership="none">
<doc xml:space="preserve">a #GstAppSrc</doc>
<type name="AppSrc" c:type="GstAppSrc*"/>
</instance-parameter>
<parameter name="buffer_list" transfer-ownership="full">
<doc xml:space="preserve">a #GstBufferList to push</doc>
<type name="Gst.BufferList" c:type="GstBufferList*"/>
</parameter>
</parameters>
</method>
<method name="push_sample"
c:identifier="gst_app_src_push_sample"
version="1.6">
@ -1415,7 +1479,7 @@ default latency calculations for pseudo-live sources will be used.</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="max" transfer-ownership="none">
<doc xml:space="preserve">the min latency</doc>
<doc xml:space="preserve">the max latency</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
</parameters>
@ -1575,6 +1639,27 @@ becomes available in the queue.</doc>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="push-buffer-list"
when="last"
action="1"
version="1.14">
<doc xml:space="preserve">Adds a buffer list to the queue of buffers and buffer lists that the
appsrc element will push to its source pad. This function does not take
ownership of the buffer list so the buffer list needs to be unreffed
after calling this function.
When the block property is TRUE, this function can block until free space
becomes available in the queue.</doc>
<return-value transfer-ownership="none">
<type name="Gst.FlowReturn"/>
</return-value>
<parameters>
<parameter name="buffer_list" transfer-ownership="none">
<doc xml:space="preserve">a buffer list to push</doc>
<type name="Gst.BufferList"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="push-sample" when="last" action="1" version="1.6">
<doc xml:space="preserve">Extract a buffer from the provided sample and adds the extracted buffer
to the queue of buffers that the appsrc element will
@ -1791,8 +1876,28 @@ extracted</doc>
</parameters>
</callback>
</field>
<field name="push_buffer_list">
<callback name="push_buffer_list">
<return-value transfer-ownership="none">
<doc xml:space="preserve">#GST_FLOW_OK when the buffer list was successfuly queued.
#GST_FLOW_FLUSHING when @appsrc is not PAUSED or PLAYING.
#GST_FLOW_EOS when EOS occured.</doc>
<type name="Gst.FlowReturn" c:type="GstFlowReturn"/>
</return-value>
<parameters>
<parameter name="appsrc" transfer-ownership="none">
<doc xml:space="preserve">a #GstAppSrc</doc>
<type name="AppSrc" c:type="GstAppSrc*"/>
</parameter>
<parameter name="buffer_list" transfer-ownership="full">
<doc xml:space="preserve">a #GstBufferList to push</doc>
<type name="Gst.BufferList" c:type="GstBufferList*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" c:type="gpointer" fixed-size="3">
<array zero-terminated="0" c:type="gpointer" fixed-size="2">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -72,7 +72,7 @@ statistics about clock accuracy and network traffic.</doc>
<doc xml:space="preserve">Create a new #GstNetClientInternalClock that will report the time
provided by the #GstNetTimeProvider on @remote_address and
@remote_port.</doc>
<return-value transfer-ownership="none">
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #GstClock that receives a time from the remote
clock.</doc>
<type name="Gst.Clock" c:type="GstClock*"/>
@ -125,6 +125,9 @@ clock.</doc>
transfer-ownership="none">
<type name="gint" c:type="gint"/>
</property>
<property name="qos-dscp" writable="1" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</property>
<property name="round-trip-limit" writable="1" transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</property>
@ -197,7 +200,7 @@ structures.</doc>
caller is responsible for ensuring that @buffer is at least
#GST_NET_TIME_PACKET_SIZE bytes long.
If @buffer is #NULL, the local and remote times will be set to
If @buffer is %NULL, the local and remote times will be set to
#GST_CLOCK_TIME_NONE.
MT safe. Caller owns return value (gst_net_time_packet_free to free).</doc>
@ -324,7 +327,7 @@ The #GstNetTimeProvider typically wraps the clock used by a #GstPipeline.</doc>
<implements name="Gio.Initable"/>
<constructor name="new" c:identifier="gst_net_time_provider_new">
<doc xml:space="preserve">Allows network clients to get the current time of @clock.</doc>
<return-value transfer-ownership="none">
<return-value transfer-ownership="full">
<doc xml:space="preserve">the new #GstNetTimeProvider, or NULL on error</doc>
<type name="NetTimeProvider" c:type="GstNetTimeProvider*"/>
</return-value>
@ -368,6 +371,9 @@ The #GstNetTimeProvider typically wraps the clock used by a #GstPipeline.</doc>
transfer-ownership="none">
<type name="gint" c:type="gint"/>
</property>
<property name="qos-dscp" writable="1" transfer-ownership="none">
<type name="gint" c:type="gint"/>
</property>
<field name="parent">
<type name="Gst.Object" c:type="GstObject"/>
</field>
@ -407,7 +413,7 @@ The #GstNetTimeProvider typically wraps the clock used by a #GstPipeline.</doc>
<constructor name="new" c:identifier="gst_ntp_clock_new" version="1.6">
<doc xml:space="preserve">Create a new #GstNtpClock that will report the time provided by
the NTPv4 server on @remote_address and @remote_port.</doc>
<return-value transfer-ownership="none">
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #GstClock that receives a time from the remote
clock.</doc>
<type name="Gst.Clock" c:type="GstClock*"/>
@ -522,7 +528,8 @@ times from the PTP master clock on the network. Once this happens the
GstPtpClock::internal-clock property will become non-NULL. You can
check this with gst_clock_wait_for_sync(), the GstClock::synced signal and
gst_clock_is_synced().</doc>
<return-value transfer-ownership="none">
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #GstClock</doc>
<type name="Gst.Clock" c:type="GstClock*"/>
</return-value>
<parameters>

View file

@ -523,6 +523,23 @@ thread.</doc>
</instance-parameter>
</parameters>
</method>
<method name="get_channel_mask"
c:identifier="gst_discoverer_audio_info_get_channel_mask"
version="1.14">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the channel-mask of the stream, refer to
gst_audio_channel_positions_from_mask() for more
information.</doc>
<type name="guint64" c:type="guint64"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">a #GstDiscovererAudioInfo</doc>
<type name="DiscovererAudioInfo"
c:type="const GstDiscovererAudioInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_channels"
c:identifier="gst_discoverer_audio_info_get_channels">
<return-value transfer-ownership="none">
@ -773,6 +790,20 @@ gst_discoverer_stream_info_list_free().</doc>
</instance-parameter>
</parameters>
</method>
<method name="get_live"
c:identifier="gst_discoverer_info_get_live"
version="1.14">
<return-value transfer-ownership="none">
<doc xml:space="preserve">whether the URI is live.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="info" transfer-ownership="none">
<doc xml:space="preserve">a #GstDiscovererInfo</doc>
<type name="DiscovererInfo" c:type="const GstDiscovererInfo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_misc"
c:identifier="gst_discoverer_info_get_misc"
deprecated="1">
@ -1402,7 +1433,7 @@ image based ones).</doc>
<method name="is_image"
c:identifier="gst_discoverer_video_info_is_image">
<return-value transfer-ownership="none">
<doc xml:space="preserve">#TRUE if the video stream corresponds to an image (i.e. only contains
<doc xml:space="preserve">%TRUE if the video stream corresponds to an image (i.e. only contains
one frame).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
@ -1498,7 +1529,7 @@ safely freed/unreferenced after calling this method.</doc>
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">the preset(s) to use on the encoder, can be #NULL</doc>
<doc xml:space="preserve">the preset(s) to use on the encoder, can be %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="restriction"
@ -1918,7 +1949,9 @@ during the encoding</doc>
</method>
<method name="set_enabled"
c:identifier="gst_encoding_profile_set_enabled">
<doc xml:space="preserve">Set whether the profile should be used or not.</doc>
<doc xml:space="preserve">Set whether the profile should be used or not.
Since 1.6</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@ -2312,7 +2345,7 @@ gst_encoding_video_profile_set_variableframerate() documentation.</doc>
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">the preset(s) to use on the encoder, can be #NULL</doc>
<doc xml:space="preserve">the preset(s) to use on the encoder, can be %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="restriction"
@ -2711,13 +2744,13 @@ in debugging.</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="PLUGINS_BASE_VERSION_MICRO"
value="1"
value="91"
c:type="GST_PLUGINS_BASE_VERSION_MICRO">
<doc xml:space="preserve">The micro version of GStreamer's gst-plugins-base libraries at compile time.</doc>
<type name="gint" c:type="gint"/>
</constant>
<constant name="PLUGINS_BASE_VERSION_MINOR"
value="12"
value="13"
c:type="GST_PLUGINS_BASE_VERSION_MINOR">
<doc xml:space="preserve">The minor version of GStreamer's gst-plugins-base libraries at compile time.</doc>
<type name="gint" c:type="gint"/>
@ -2746,10 +2779,12 @@ If mpegversion is 4, the "base-profile" field is also set in @caps.</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="audio_config" transfer-ownership="none">
<doc xml:space="preserve">a pointer to the AudioSpecificConfig as specified in the
Elementary Stream Descriptor (esds) in ISO/IEC 14496-1 (see
below for a more details).</doc>
<type name="guint8" c:type="const guint8*"/>
<doc xml:space="preserve">a pointer to the AudioSpecificConfig
as specified in the Elementary Stream Descriptor (esds)
in ISO/IEC 14496-1. (See below for more details)</doc>
<array length="2" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">Length of @audio_config in bytes</doc>
@ -2768,11 +2803,15 @@ Since 1.10</doc>
</return-value>
<parameters>
<parameter name="audio_config" transfer-ownership="none">
<doc xml:space="preserve">a pointer to the AudioSpecificConfig as specified in the
Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.</doc>
<type name="guint8" c:type="const guint8*"/>
<doc xml:space="preserve">a pointer to the AudioSpecificConfig
as specified in the Elementary Stream Descriptor (esds)
in ISO/IEC 14496-1.</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">Length of @audio_config in bytes</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
@ -2815,9 +2854,12 @@ determined.</doc>
</return-value>
<parameters>
<parameter name="audio_config" transfer-ownership="none">
<doc xml:space="preserve">a pointer to the AudioSpecificConfig as specified in the
Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.</doc>
<type name="guint8" c:type="const guint8*"/>
<doc xml:space="preserve">a pointer to the AudioSpecificConfig
as specified in the Elementary Stream Descriptor (esds)
in ISO/IEC 14496-1.</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">Length of @audio_config in bytes</doc>
@ -2839,10 +2881,12 @@ determined.</doc>
</return-value>
<parameters>
<parameter name="audio_config" transfer-ownership="none">
<doc xml:space="preserve">a pointer to the AudioSpecificConfig as specified in the
Elementary Stream Descriptor (esds) in ISO/IEC 14496-1 (see
gst_codec_utils_aac_get_level() for a more details).</doc>
<type name="guint8" c:type="const guint8*"/>
<doc xml:space="preserve">a pointer to the AudioSpecificConfig
as specified in the Elementary Stream Descriptor (esds)
in ISO/IEC 14496-1.</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">Length of @audio_config in bytes</doc>
@ -2862,12 +2906,15 @@ Since 1.10</doc>
</return-value>
<parameters>
<parameter name="audio_config" transfer-ownership="none">
<doc xml:space="preserve">a pointer to the AudioSpecificConfig as specified in the
Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.</doc>
<type name="guint8" c:type="const guint8*"/>
<doc xml:space="preserve">a pointer to the AudioSpecificConfig
as specified in the Elementary Stream Descriptor (esds)
in ISO/IEC 14496-1.</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">Length of @audio_config in bytes</doc>
<doc xml:space="preserve">Length of @audio_config</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
@ -2904,7 +2951,9 @@ for more details on the parameters.</doc>
</parameter>
<parameter name="sps" transfer-ownership="none">
<doc xml:space="preserve">Pointer to the sequence parameter set for the stream.</doc>
<type name="guint8" c:type="const guint8*"/>
<array length="2" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">Length of the data available in @sps.</doc>
@ -2924,7 +2973,9 @@ same format as for gst_codec_utils_h264_get_profile().</doc>
<parameters>
<parameter name="sps" transfer-ownership="none">
<doc xml:space="preserve">Pointer to the sequence parameter set for the stream.</doc>
<type name="guint8" c:type="const guint8*"/>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">Length of the data available in @sps.</doc>
@ -2969,7 +3020,9 @@ byte.
<parameters>
<parameter name="sps" transfer-ownership="none">
<doc xml:space="preserve">Pointer to the sequence parameter set for the stream.</doc>
<type name="guint8" c:type="const guint8*"/>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">Length of the data available in @sps.</doc>
@ -2995,8 +3048,11 @@ Since 1.4</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="profile_tier_level" transfer-ownership="none">
<doc xml:space="preserve">Pointer to the profile_tier_level struct</doc>
<type name="guint8" c:type="const guint8*"/>
<doc xml:space="preserve">Pointer to the profile_tier_level
struct</doc>
<array length="2" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">Length of the data available in @profile_tier_level.</doc>
@ -3017,9 +3073,11 @@ Since 1.4</doc>
</return-value>
<parameters>
<parameter name="profile_tier_level" transfer-ownership="none">
<doc xml:space="preserve">Pointer to the profile_tier_level structure
<doc xml:space="preserve">Pointer to the profile_tier_level
for the stream</doc>
<type name="guint8" c:type="const guint8*"/>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">Length of the data available in @profile_tier_level.</doc>
@ -3071,7 +3129,9 @@ Since 1.4</doc>
<parameter name="profile_tier_level" transfer-ownership="none">
<doc xml:space="preserve">Pointer to the profile_tier_level
structure for the stream.</doc>
<type name="guint8" c:type="const guint8*"/>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">Length of the data available in @profile_tier_level</doc>
@ -3092,9 +3152,11 @@ Since 1.4</doc>
</return-value>
<parameters>
<parameter name="profile_tier_level" transfer-ownership="none">
<doc xml:space="preserve">Pointer to the profile_tier_level structure
<doc xml:space="preserve">Pointer to the profile_tier_level
for the stream.</doc>
<type name="guint8" c:type="const guint8*"/>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">Length of the data available in @profile_tier_level.</doc>
@ -3118,8 +3180,11 @@ parameters.</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="vis_obj_seq" transfer-ownership="none">
<doc xml:space="preserve">Pointer to the visual object sequence for the stream.</doc>
<type name="guint8" c:type="const guint8*"/>
<doc xml:space="preserve">Pointer to the visual object
sequence for the stream.</doc>
<array length="2" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">Length of the data available in @sps.</doc>
@ -3139,8 +3204,11 @@ object sequence start code. Only the first byte
</return-value>
<parameters>
<parameter name="vis_obj_seq" transfer-ownership="none">
<doc xml:space="preserve">Pointer to the visual object sequence for the stream.</doc>
<type name="guint8" c:type="const guint8*"/>
<doc xml:space="preserve">Pointer to the visual object
sequence for the stream.</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">Length of the data available in @sps.</doc>
@ -3160,8 +3228,11 @@ object sequence start code. Only the first byte
</return-value>
<parameters>
<parameter name="vis_obj_seq" transfer-ownership="none">
<doc xml:space="preserve">Pointer to the visual object sequence for the stream.</doc>
<type name="guint8" c:type="const guint8*"/>
<doc xml:space="preserve">Pointer to the visual object
sequence for the stream.</doc>
<array length="1" zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">Length of the data available in @sps.</doc>
@ -3174,7 +3245,8 @@ object sequence start code. Only the first byte
version="1.8">
<doc xml:space="preserve">Creates Opus caps from the given parameters.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The #GstCaps.</doc>
<doc xml:space="preserve">The #GstCaps, or %NULL if the parameters would lead to
invalid Opus caps.</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</return-value>
<parameters>
@ -3203,7 +3275,9 @@ object sequence start code. Only the first byte
nullable="1"
allow-none="1">
<doc xml:space="preserve">the mapping between the streams</doc>
<type name="guint8" c:type="const guint8*"/>
<array zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
</parameters>
</function>
@ -3264,7 +3338,9 @@ object sequence start code. Only the first byte
nullable="1"
allow-none="1">
<doc xml:space="preserve">the mapping between the streams</doc>
<type name="guint8" c:type="const guint8*"/>
<array zero-terminated="0" c:type="guint8*">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="pre_skip" transfer-ownership="none">
<doc xml:space="preserve">Pre-skip in 48kHz samples or 0</doc>
@ -3286,32 +3362,52 @@ object sequence start code. Only the first byte
</return-value>
<parameters>
<parameter name="caps" transfer-ownership="none">
<doc xml:space="preserve">the #GstCaps to which the level and profile are to be added</doc>
<doc xml:space="preserve">the #GstCaps to parse the data from</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="rate" transfer-ownership="none">
<parameter name="rate"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">the sample rate</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="channels" transfer-ownership="none">
<parameter name="channels"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">the number of channels</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="channel_mapping_family" transfer-ownership="none">
<parameter name="channel_mapping_family"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">the channel mapping family</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="stream_count" transfer-ownership="none">
<parameter name="stream_count"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">the number of independent streams</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="coupled_count" transfer-ownership="none">
<parameter name="coupled_count"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">the number of stereo streams</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="channel_mapping" transfer-ownership="none">
<parameter name="channel_mapping"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">the mapping between the streams</doc>
<type name="guint8" c:type="guint8"/>
<array zero-terminated="0" c:type="guint8">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
</parameters>
</function>
@ -3328,35 +3424,61 @@ object sequence start code. Only the first byte
<doc xml:space="preserve">the OpusHead #GstBuffer</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
<parameter name="rate" transfer-ownership="none">
<parameter name="rate"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">the sample rate</doc>
<type name="guint32" c:type="guint32*"/>
</parameter>
<parameter name="channels" transfer-ownership="none">
<parameter name="channels"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">the number of channels</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="channel_mapping_family" transfer-ownership="none">
<parameter name="channel_mapping_family"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">the channel mapping family</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="stream_count" transfer-ownership="none">
<parameter name="stream_count"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">the number of independent streams</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="coupled_count" transfer-ownership="none">
<parameter name="coupled_count"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">the number of stereo streams</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
<parameter name="channel_mapping" transfer-ownership="none">
<parameter name="channel_mapping"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">the mapping between the streams</doc>
<type name="guint8" c:type="guint8"/>
<array zero-terminated="0" c:type="guint8">
<type name="guint8" c:type="guint8"/>
</array>
</parameter>
<parameter name="pre_skip" transfer-ownership="none">
<parameter name="pre_skip"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">Pre-skip in 48kHz samples or 0</doc>
<type name="guint16" c:type="guint16*"/>
</parameter>
<parameter name="output_gain" transfer-ownership="none">
<parameter name="output_gain"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">Output gain or 0</doc>
<type name="gint16" c:type="gint16*"/>
</parameter>

View file

@ -117,6 +117,32 @@ Since 1.10</doc>
</parameter>
</parameters>
</function>
<function name="config_set_seek_accurate"
c:identifier="gst_player_config_set_seek_accurate"
version="1.12">
<doc xml:space="preserve">Enable or disable accurate seeking. When enabled, elements will try harder
to seek as accurately as possible to the requested seek position. Generally
it will be slower especially for formats that don't have any indexes or
timestamp markers in the stream.
If accurate seeking is disabled, elements will seek as close as the request
position without slowing down seeking too much.
Accurate seeking is disabled by default.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="config" transfer-ownership="none">
<doc xml:space="preserve">a #GstPlayer configuration</doc>
<type name="Gst.Structure" c:type="GstStructure*"/>
</parameter>
<parameter name="accurate" transfer-ownership="none">
<doc xml:space="preserve">accurate seek or not</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</function>
<function name="config_set_user_agent"
c:identifier="gst_player_config_set_user_agent">
<doc xml:space="preserve">Set the user agent to pass to the server if @player needs to connect
@ -212,32 +238,6 @@ matching #GstPlayerVideoInfo.</doc>
</array>
</return-value>
</function>
<method name="config_set_seek_accurate"
c:identifier="gst_player_config_set_seek_accurate"
version="1.12">
<doc xml:space="preserve">Enable or disable accurate seeking. When enabled, elements will try harder
to seek as accurately as possible to the requested seek position. Generally
it will be slower especially for formats that don't have any indexes or
timestamp markers in the stream.
If accurate seeking is disabled, elements will seek as close as the request
position without slowing down seeking too much.
Accurate seeking is disabled by default.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="player" transfer-ownership="none">
<doc xml:space="preserve">#GstPlayer instance</doc>
<type name="Player" c:type="GstPlayer*"/>
</instance-parameter>
<parameter name="accurate" transfer-ownership="none">
<doc xml:space="preserve">accurate seek or not</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="get_audio_video_offset"
c:identifier="gst_player_get_audio_video_offset">
<doc xml:space="preserve">Retrieve the current value of audio-video-offset property</doc>
@ -808,7 +808,9 @@ Sets the subtitle strack @stream_index.</doc>
</method>
<method name="set_subtitle_uri"
c:identifier="gst_player_set_subtitle_uri">
<doc xml:space="preserve">Sets the external subtitle URI.</doc>
<doc xml:space="preserve">Sets the external subtitle URI. This should be combined with a call to
gst_player_set_subtitle_track_enabled(@player, TRUE) so the subtitles are actually
rendered.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>

View file

@ -119,7 +119,7 @@ state as when it was first created.</doc>
</method>
<method name="connect" c:identifier="gst_rtsp_connection_connect">
<doc xml:space="preserve">Attempt to connect to the url of @conn made with
gst_rtsp_connection_create(). If @timeout is #NULL this function can block
gst_rtsp_connection_create(). If @timeout is %NULL this function can block
forever. If @timeout contains a valid timeout, this function will return
#GST_RTSP_ETIMEOUT after the timeout expired.
@ -142,7 +142,7 @@ This function can be cancelled with gst_rtsp_connection_flush().</doc>
<method name="connect_with_response"
c:identifier="gst_rtsp_connection_connect_with_response">
<doc xml:space="preserve">Attempt to connect to the url of @conn made with
gst_rtsp_connection_create(). If @timeout is #NULL this function can block
gst_rtsp_connection_create(). If @timeout is %NULL this function can block
forever. If @timeout contains a valid timeout, this function will return
#GST_RTSP_ETIMEOUT after the timeout expired. If @conn is set to tunneled,
@response will contain a response to the tunneling request messages.
@ -426,7 +426,7 @@ at least one of the operations specified in @events. When the function returns
with #GST_RTSP_OK, @revents will contain a bitmask of available operations on
@conn.
@timeout can be #NULL, in which case this function might block forever.
@timeout can be %NULL, in which case this function might block forever.
This function can be cancelled with gst_rtsp_connection_flush().</doc>
<return-value transfer-ownership="none">
@ -454,7 +454,7 @@ This function can be cancelled with gst_rtsp_connection_flush().</doc>
</method>
<method name="read" c:identifier="gst_rtsp_connection_read">
<doc xml:space="preserve">Attempt to read @size bytes into @data from the connected @conn, blocking up to
the specified @timeout. @timeout can be #NULL, in which case this function
the specified @timeout. @timeout can be %NULL, in which case this function
might block forever.
This function can be cancelled with gst_rtsp_connection_flush().</doc>
@ -476,14 +476,14 @@ This function can be cancelled with gst_rtsp_connection_flush().</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="timeout" transfer-ownership="none">
<doc xml:space="preserve">a timeout value or #NULL</doc>
<doc xml:space="preserve">a timeout value or %NULL</doc>
<type name="GLib.TimeVal" c:type="GTimeVal*"/>
</parameter>
</parameters>
</method>
<method name="receive" c:identifier="gst_rtsp_connection_receive">
<doc xml:space="preserve">Attempt to read into @message from the connected @conn, blocking up to
the specified @timeout. @timeout can be #NULL, in which case this function
the specified @timeout. @timeout can be %NULL, in which case this function
might block forever.
This function can be cancelled with gst_rtsp_connection_flush().</doc>
@ -501,7 +501,7 @@ This function can be cancelled with gst_rtsp_connection_flush().</doc>
<type name="RTSPMessage" c:type="GstRTSPMessage*"/>
</parameter>
<parameter name="timeout" transfer-ownership="none">
<doc xml:space="preserve">a timeout value or #NULL</doc>
<doc xml:space="preserve">a timeout value or %NULL</doc>
<type name="GLib.TimeVal" c:type="GTimeVal*"/>
</parameter>
</parameters>
@ -522,7 +522,7 @@ This function can be cancelled with gst_rtsp_connection_flush().</doc>
</method>
<method name="send" c:identifier="gst_rtsp_connection_send">
<doc xml:space="preserve">Attempt to send @message to the connected @conn, blocking up to
the specified @timeout. @timeout can be #NULL, in which case this function
the specified @timeout. @timeout can be %NULL, in which case this function
might block forever.
This function can be cancelled with gst_rtsp_connection_flush().</doc>
@ -540,11 +540,52 @@ This function can be cancelled with gst_rtsp_connection_flush().</doc>
<type name="RTSPMessage" c:type="GstRTSPMessage*"/>
</parameter>
<parameter name="timeout" transfer-ownership="none">
<doc xml:space="preserve">a timeout value or #NULL</doc>
<doc xml:space="preserve">a timeout value or %NULL</doc>
<type name="GLib.TimeVal" c:type="GTimeVal*"/>
</parameter>
</parameters>
</method>
<method name="set_accept_certificate_func"
c:identifier="gst_rtsp_connection_set_accept_certificate_func"
version="1.14">
<doc xml:space="preserve">Sets a custom accept-certificate function for checking certificates for
validity. This will directly map to #GTlsConnection 's "accept-certificate"
signal and be performed after the default checks of #GstRTSPConnection
(checking against the #GTlsDatabase with the given #GTlsCertificateFlags)
have failed. If no #GTlsDatabase is set on this connection, only @func will
be called.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="conn" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPConnection</doc>
<type name="RTSPConnection" c:type="GstRTSPConnection*"/>
</instance-parameter>
<parameter name="func"
transfer-ownership="none"
scope="notified"
closure="1"
destroy="2">
<doc xml:space="preserve">a #GstRTSPConnectionAcceptCertificateFunc to check certificates</doc>
<type name="RTSPConnectionAcceptCertificateFunc"
c:type="GstRTSPConnectionAcceptCertificateFunc"/>
</parameter>
<parameter name="user_data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">User data passed to @func</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="destroy_notify"
transfer-ownership="none"
scope="async">
<doc xml:space="preserve">#GDestroyNotify for @user_data</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</method>
<method name="set_auth" c:identifier="gst_rtsp_connection_set_auth">
<doc xml:space="preserve">Configure @conn for authentication mode @method with @user and @pass as the
user and password respectively.</doc>
@ -772,7 +813,7 @@ the @conn is connected.</doc>
</method>
<method name="write" c:identifier="gst_rtsp_connection_write">
<doc xml:space="preserve">Attempt to write @size bytes of @data to the connected @conn, blocking up to
the specified @timeout. @timeout can be #NULL, in which case this function
the specified @timeout. @timeout can be %NULL, in which case this function
might block forever.
This function can be cancelled with gst_rtsp_connection_flush().</doc>
@ -794,7 +835,7 @@ This function can be cancelled with gst_rtsp_connection_flush().</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="timeout" transfer-ownership="none">
<doc xml:space="preserve">a timeout value or #NULL</doc>
<doc xml:space="preserve">a timeout value or %NULL</doc>
<type name="GLib.TimeVal" c:type="GTimeVal*"/>
</parameter>
</parameters>
@ -887,6 +928,30 @@ read from @socket which should be used before starting to read new data.</doc>
</parameters>
</function>
</record>
<callback name="RTSPConnectionAcceptCertificateFunc"
c:type="GstRTSPConnectionAcceptCertificateFunc">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="conn" transfer-ownership="none">
<type name="Gio.TlsConnection" c:type="GTlsConnection*"/>
</parameter>
<parameter name="peer_cert" transfer-ownership="none">
<type name="Gio.TlsCertificate" c:type="GTlsCertificate*"/>
</parameter>
<parameter name="errors" transfer-ownership="none">
<type name="Gio.TlsCertificateFlags" c:type="GTlsCertificateFlags"/>
</parameter>
<parameter name="user_data"
transfer-ownership="none"
nullable="1"
allow-none="1"
closure="3">
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<bitfield name="RTSPEvent"
glib:type-name="GstRTSPEvent"
glib:get-type="gst_rtsp_event_get_type"
@ -1840,8 +1905,28 @@ read from @socket which should be used before starting to read new data.</doc>
c:identifier="GST_RTSP_HDR_KEYMGMT"
glib:nick="keymgmt">
</member>
<member name="last"
<member name="pipelined_requests"
value="83"
c:identifier="GST_RTSP_HDR_PIPELINED_REQUESTS"
glib:nick="pipelined-requests">
</member>
<member name="media_properties"
value="84"
c:identifier="GST_RTSP_HDR_MEDIA_PROPERTIES"
glib:nick="media-properties">
</member>
<member name="seek_style"
value="85"
c:identifier="GST_RTSP_HDR_SEEK_STYLE"
glib:nick="seek-style">
</member>
<member name="accept_ranges"
value="86"
c:identifier="GST_RTSP_HDR_ACCEPT_RANGES"
glib:nick="accept-ranges">
</member>
<member name="last"
value="87"
c:identifier="GST_RTSP_HDR_LAST"
glib:nick="last">
</member>
@ -1888,7 +1973,11 @@ read from @socket which should be used before starting to read new data.</doc>
<doc xml:space="preserve">encrypt TCP and HTTP with TLS</doc>
</member>
</bitfield>
<record name="RTSPMessage" c:type="GstRTSPMessage">
<record name="RTSPMessage"
c:type="GstRTSPMessage"
glib:type-name="GstRTSPMessage"
glib:get-type="gst_rtsp_msg_get_type"
c:symbol-prefix="rtsp_msg">
<doc xml:space="preserve">Provides methods for creating and parsing request, response and data messages.</doc>
<field name="type" writable="1">
<doc xml:space="preserve">the message type</doc>
@ -2004,6 +2093,27 @@ for transmission.</doc>
</parameter>
</parameters>
</method>
<method name="copy" c:identifier="gst_rtsp_message_copy" version="1.14">
<doc xml:space="preserve">Allocate a new copy of @msg and store the result in @copy. The value in
@copy should be release with gst_rtsp_message_free function.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPResult</doc>
<type name="RTSPResult" c:type="GstRTSPResult"/>
</return-value>
<parameters>
<instance-parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPMessage</doc>
<type name="RTSPMessage" c:type="const GstRTSPMessage*"/>
</instance-parameter>
<parameter name="copy"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">pointer to new #GstRTSPMessage</doc>
<type name="RTSPMessage" c:type="GstRTSPMessage**"/>
</parameter>
</parameters>
</method>
<method name="dump" c:identifier="gst_rtsp_message_dump">
<doc xml:space="preserve">Dump the contents of @msg to stdout.</doc>
<return-value transfer-ownership="none">
@ -2192,9 +2302,9 @@ again, use gst_rtsp_message_unset().</doc>
c:identifier="gst_rtsp_message_init_response">
<doc xml:space="preserve">Initialize @msg with @code and @reason.
When @reason is #NULL, the default reason for @code will be used.
When @reason is %NULL, the default reason for @code will be used.
When @request is not #NULL, the relevant headers will be copied to the new
When @request is not %NULL, the relevant headers will be copied to the new
response message.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPResult.</doc>
@ -2267,7 +2377,7 @@ response message.</doc>
<method name="parse_request"
c:identifier="gst_rtsp_message_parse_request">
<doc xml:space="preserve">Parse the request message @msg and store the values @method, @uri and
@version. The result locations can be #NULL if one is not interested in its
@version. The result locations can be %NULL if one is not interested in its
value.
@uri remains valid for as long as @msg is valid and unchanged.</doc>
@ -2312,7 +2422,7 @@ value.
<method name="parse_response"
c:identifier="gst_rtsp_message_parse_response">
<doc xml:space="preserve">Parse the response message @msg and store the values @code, @reason and
@version. The result locations can be #NULL if one is not interested in its
@version. The result locations can be %NULL if one is not interested in its
value.
@reason remains valid for as long as @msg is valid and unchanged.</doc>
@ -2426,7 +2536,7 @@ all matching headers will be removed.</doc>
</method>
<method name="steal_body" c:identifier="gst_rtsp_message_steal_body">
<doc xml:space="preserve">Take the body of @msg and store it in @data and @size. After this method,
the body and size of @msg will be set to #NULL and 0 respectively.</doc>
the body and size of @msg will be set to %NULL and 0 respectively.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">#GST_RTSP_OK.</doc>
<type name="RTSPResult" c:type="GstRTSPResult"/>
@ -2540,109 +2650,6 @@ gst_rtsp_message_init_data() on stack allocated #GstRTSPMessage structures.</doc
</instance-parameter>
</parameters>
</method>
<function name="new" c:identifier="gst_rtsp_message_new">
<doc xml:space="preserve">Create a new initialized #GstRTSPMessage. Free with gst_rtsp_message_free().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPResult.</doc>
<type name="RTSPResult" c:type="GstRTSPResult"/>
</return-value>
<parameters>
<parameter name="msg"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">a location for the new #GstRTSPMessage</doc>
<type name="RTSPMessage" c:type="GstRTSPMessage**"/>
</parameter>
</parameters>
</function>
<function name="new_data" c:identifier="gst_rtsp_message_new_data">
<doc xml:space="preserve">Create a new data #GstRTSPMessage with @channel and store the
result message in @msg. Free with gst_rtsp_message_free().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPResult.</doc>
<type name="RTSPResult" c:type="GstRTSPResult"/>
</return-value>
<parameters>
<parameter name="msg"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">a location for the new #GstRTSPMessage</doc>
<type name="RTSPMessage" c:type="GstRTSPMessage**"/>
</parameter>
<parameter name="channel" transfer-ownership="none">
<doc xml:space="preserve">the channel</doc>
<type name="guint8" c:type="guint8"/>
</parameter>
</parameters>
</function>
<function name="new_request" c:identifier="gst_rtsp_message_new_request">
<doc xml:space="preserve">Create a new #GstRTSPMessage with @method and @uri and store the result
request message in @msg. Free with gst_rtsp_message_free().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPResult.</doc>
<type name="RTSPResult" c:type="GstRTSPResult"/>
</return-value>
<parameters>
<parameter name="msg"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">a location for the new #GstRTSPMessage</doc>
<type name="RTSPMessage" c:type="GstRTSPMessage**"/>
</parameter>
<parameter name="method" transfer-ownership="none">
<doc xml:space="preserve">the request method to use</doc>
<type name="RTSPMethod" c:type="GstRTSPMethod"/>
</parameter>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve">the uri of the request</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="new_response"
c:identifier="gst_rtsp_message_new_response">
<doc xml:space="preserve">Create a new response #GstRTSPMessage with @code and @reason and store the
result message in @msg. Free with gst_rtsp_message_free().
When @reason is #NULL, the default reason for @code will be used.
When @request is not #NULL, the relevant headers will be copied to the new
response message.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPResult.</doc>
<type name="RTSPResult" c:type="GstRTSPResult"/>
</return-value>
<parameters>
<parameter name="msg"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">a location for the new #GstRTSPMessage</doc>
<type name="RTSPMessage" c:type="GstRTSPMessage**"/>
</parameter>
<parameter name="code" transfer-ownership="none">
<doc xml:space="preserve">the status code</doc>
<type name="RTSPStatusCode" c:type="GstRTSPStatusCode"/>
</parameter>
<parameter name="reason"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">the status reason or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="request"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">the request that triggered the response or %NULL</doc>
<type name="RTSPMessage" c:type="const GstRTSPMessage*"/>
</parameter>
</parameters>
</function>
</record>
<bitfield name="RTSPMethod"
glib:type-name="GstRTSPMethod"
@ -3017,7 +3024,7 @@ UTC times will be converted to nanoseconds since 1900.</doc>
value="-8"
c:identifier="GST_RTSP_EPARSE"
glib:nick="eparse">
<doc xml:space="preserve">a persing error occured</doc>
<doc xml:space="preserve">a parsing error occured</doc>
</member>
<member name="ewsastart"
value="-9"
@ -3542,7 +3549,7 @@ UTC times will be converted to nanoseconds since 1900.</doc>
<doc xml:space="preserve">Convert @transport into a string that can be used to signal the transport in
an RTSP SETUP response.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a string describing the RTSP transport or #NULL when the transport
<doc xml:space="preserve">a string describing the RTSP transport or %NULL when the transport
is invalid.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
@ -3609,7 +3616,7 @@ used to generate #GstCaps events.</doc>
It is possible that there are several managers available, use @option to
selected one.
@manager will contain an element name or #NULL when no manager is
@manager will contain an element name or %NULL when no manager is
needed/available for @trans.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">#GST_RTSP_OK.</doc>
@ -3868,6 +3875,12 @@ with gst_rtsp_url_free().</doc>
glib:nick="1-1">
<doc xml:space="preserve">version 1.1.</doc>
</member>
<member name="2_0"
value="32"
c:identifier="GST_RTSP_VERSION_2_0"
glib:nick="2-0">
<doc xml:space="preserve">version 2.0.</doc>
</member>
<function name="as_text" c:identifier="gst_rtsp_version_as_text">
<doc xml:space="preserve">Convert @version to a string.</doc>
<return-value transfer-ownership="none">
@ -4569,9 +4582,7 @@ Currently only supported algorithm "md5".</doc>
</parameter>
</parameters>
</function>
<function name="rtsp_message_new"
c:identifier="gst_rtsp_message_new"
moved-to="RTSPMessage.new">
<function name="rtsp_message_new" c:identifier="gst_rtsp_message_new">
<doc xml:space="preserve">Create a new initialized #GstRTSPMessage. Free with gst_rtsp_message_free().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPResult.</doc>
@ -4588,8 +4599,7 @@ Currently only supported algorithm "md5".</doc>
</parameters>
</function>
<function name="rtsp_message_new_data"
c:identifier="gst_rtsp_message_new_data"
moved-to="RTSPMessage.new_data">
c:identifier="gst_rtsp_message_new_data">
<doc xml:space="preserve">Create a new data #GstRTSPMessage with @channel and store the
result message in @msg. Free with gst_rtsp_message_free().</doc>
<return-value transfer-ownership="none">
@ -4611,8 +4621,7 @@ result message in @msg. Free with gst_rtsp_message_free().</doc>
</parameters>
</function>
<function name="rtsp_message_new_request"
c:identifier="gst_rtsp_message_new_request"
moved-to="RTSPMessage.new_request">
c:identifier="gst_rtsp_message_new_request">
<doc xml:space="preserve">Create a new #GstRTSPMessage with @method and @uri and store the result
request message in @msg. Free with gst_rtsp_message_free().</doc>
<return-value transfer-ownership="none">
@ -4638,14 +4647,13 @@ request message in @msg. Free with gst_rtsp_message_free().</doc>
</parameters>
</function>
<function name="rtsp_message_new_response"
c:identifier="gst_rtsp_message_new_response"
moved-to="RTSPMessage.new_response">
c:identifier="gst_rtsp_message_new_response">
<doc xml:space="preserve">Create a new response #GstRTSPMessage with @code and @reason and store the
result message in @msg. Free with gst_rtsp_message_free().
When @reason is #NULL, the default reason for @code will be used.
When @reason is %NULL, the default reason for @code will be used.
When @request is not #NULL, the relevant headers will be copied to the new
When @request is not %NULL, the relevant headers will be copied to the new
response message.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPResult.</doc>
@ -4858,7 +4866,7 @@ UTC times will be converted to nanoseconds since 1900.</doc>
It is possible that there are several managers available, use @option to
selected one.
@manager will contain an element name or #NULL when no manager is
@manager will contain an element name or %NULL when no manager is
needed/available for @trans.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">#GST_RTSP_OK.</doc>

View file

@ -2990,6 +2990,27 @@ element of @media, and create #GstRTSPStreams for them.</doc>
</instance-parameter>
</parameters>
</method>
<method name="complete_pipeline"
c:identifier="gst_rtsp_media_complete_pipeline">
<doc xml:space="preserve">Add a receiver and sender parts to the pipeline based on the transport from
SETUP.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the media pipeline has been sucessfully updated.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPMedia</doc>
<type name="RTSPMedia" c:type="GstRTSPMedia*"/>
</instance-parameter>
<parameter name="transports" transfer-ownership="none">
<doc xml:space="preserve">a list of #GstRTSPTransport</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="GstRtsp.RTSPTransport"/>
</array>
</parameter>
</parameters>
</method>
<method name="create_stream" c:identifier="gst_rtsp_media_create_stream">
<doc xml:space="preserve">Create a new stream in @media that provides RTP data on @pad.
@pad should be a pad of an element inside @media-&gt;element.</doc>
@ -3457,6 +3478,38 @@ gst_rtsp_media_prepare().</doc>
</parameter>
</parameters>
</method>
<method name="seek_full" c:identifier="gst_rtsp_media_seek_full">
<doc xml:space="preserve">Seek the pipeline of @media to @range. @media must be prepared with
gst_rtsp_media_prepare().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE on success.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPMedia</doc>
<type name="RTSPMedia" c:type="GstRTSPMedia*"/>
</instance-parameter>
<parameter name="range" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPTimeRange</doc>
<type name="GstRtsp.RTSPTimeRange" c:type="GstRTSPTimeRange*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve">The minimal set of #GstSeekFlags to use</doc>
<type name="Gst.SeekFlags" c:type="GstSeekFlags"/>
</parameter>
</parameters>
</method>
<method name="seekable" c:identifier="gst_rtsp_media_seekable">
<return-value transfer-ownership="none">
<type name="Gst.ClockTimeDiff" c:type="GstClockTimeDiff"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<type name="RTSPMedia" c:type="GstRTSPMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_address_pool"
c:identifier="gst_rtsp_media_set_address_pool">
<doc xml:space="preserve">configure @pool to be used as the address pool of @media.</doc>
@ -4443,6 +4496,24 @@ will be created and the role will be added to it.</doc>
</parameter>
</parameters>
</method>
<method name="add_role_from_structure"
c:identifier="gst_rtsp_media_factory_add_role_from_structure"
version="1.14">
<doc xml:space="preserve">A convenience wrapper around gst_rtsp_permissions_add_role_from_structure().
If @factory had no permissions, new permissions will be created and the
role will be added to it.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="factory" transfer-ownership="none">
<type name="RTSPMediaFactory" c:type="GstRTSPMediaFactory*"/>
</instance-parameter>
<parameter name="structure" transfer-ownership="none">
<type name="Gst.Structure" c:type="GstStructure*"/>
</parameter>
</parameters>
</method>
<method name="construct" c:identifier="gst_rtsp_media_factory_construct">
<doc xml:space="preserve">Construct the media object and create its streams. Implementations
should create the needed gstreamer elements and add them to the result
@ -4686,7 +4757,7 @@ usage.</doc>
<doc xml:space="preserve">Get if media created from this factory can be used for PLAY or RECORD
methods.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The supported transport modes.</doc>
<doc xml:space="preserve">The transport mode.</doc>
<type name="RTSPTransportMode" c:type="GstRTSPTransportMode"/>
</return-value>
<parameters>
@ -5535,6 +5606,356 @@ g_object_unref() after usage.</doc>
c:type="GstRTSPMountPointsPrivate"
disguised="1">
</record>
<class name="RTSPOnvifClient"
c:symbol-prefix="rtsp_onvif_client"
c:type="GstRTSPOnvifClient"
parent="RTSPClient"
glib:type-name="GstRTSPOnvifClient"
glib:get-type="gst_rtsp_onvif_client_get_type"
glib:type-struct="RTSPOnvifClientClass">
<field name="parent">
<type name="RTSPClient" c:type="GstRTSPClient"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<record name="RTSPOnvifClientClass"
c:type="GstRTSPOnvifClientClass"
glib:is-gtype-struct-for="RTSPOnvifClient">
<field name="parent">
<type name="RTSPClientClass" c:type="GstRTSPClientClass"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" c:type="gpointer" fixed-size="20">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<class name="RTSPOnvifMedia"
c:symbol-prefix="rtsp_onvif_media"
c:type="GstRTSPOnvifMedia"
parent="RTSPMedia"
glib:type-name="GstRTSPOnvifMedia"
glib:get-type="gst_rtsp_onvif_media_get_type"
glib:type-struct="RTSPOnvifMediaClass">
<method name="collect_backchannel"
c:identifier="gst_rtsp_onvif_media_collect_backchannel"
version="1.14">
<doc xml:space="preserve">Find the ONVIF backchannel depayloader element. It should be named
'depay_backchannel', be placed in a bin called 'onvif-backchannel'
and return all supported RTP caps on a caps query. Complete RTP caps with
at least the payload type, clock-rate and encoding-name are required.
A new #GstRTSPStream is created for the backchannel if found.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if a backchannel stream could be found and created</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPOnvifMedia</doc>
<type name="RTSPOnvifMedia" c:type="GstRTSPOnvifMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_backchannel_bandwidth"
c:identifier="gst_rtsp_onvif_media_get_backchannel_bandwidth"
version="1.14">
<doc xml:space="preserve">Get the configured/supported bandwidth of the ONVIF backchannel pipeline in
bits per second.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the configured/supported backchannel bandwidth.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<type name="RTSPOnvifMedia" c:type="GstRTSPOnvifMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_backchannel_bandwidth"
c:identifier="gst_rtsp_onvif_media_set_backchannel_bandwidth"
version="1.14">
<doc xml:space="preserve">Set the configured/supported bandwidth of the ONVIF backchannel pipeline in
bits per second.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<type name="RTSPOnvifMedia" c:type="GstRTSPOnvifMedia*"/>
</instance-parameter>
<parameter name="bandwidth" transfer-ownership="none">
<doc xml:space="preserve">the bandwidth in bits per second</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<field name="parent">
<type name="RTSPMedia" c:type="GstRTSPMedia"/>
</field>
<field name="priv">
<type name="RTSPOnvifMediaPrivate" c:type="GstRTSPOnvifMediaPrivate*"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<record name="RTSPOnvifMediaClass"
c:type="GstRTSPOnvifMediaClass"
glib:is-gtype-struct-for="RTSPOnvifMedia">
<field name="parent">
<type name="RTSPMediaClass" c:type="GstRTSPMediaClass"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" c:type="gpointer" fixed-size="20">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<class name="RTSPOnvifMediaFactory"
c:symbol-prefix="rtsp_onvif_media_factory"
c:type="GstRTSPOnvifMediaFactory"
parent="RTSPMediaFactory"
glib:type-name="GstRTSPOnvifMediaFactory"
glib:get-type="gst_rtsp_onvif_media_factory_get_type"
glib:type-struct="RTSPOnvifMediaFactoryClass">
<constructor name="new"
c:identifier="gst_rtsp_onvif_media_factory_new"
version="1.14">
<doc xml:space="preserve">Create a new #GstRTSPOnvifMediaFactory</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #GstRTSPOnvifMediaFactory</doc>
<type name="RTSPMediaFactory" c:type="GstRTSPMediaFactory*"/>
</return-value>
</constructor>
<function name="requires_backchannel"
c:identifier="gst_rtsp_onvif_media_factory_requires_backchannel"
version="1.14">
<doc xml:space="preserve">Checks whether the client request requires backchannel.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the client request requires backchannel.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="factory" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPMediaFactory</doc>
<type name="RTSPMediaFactory" c:type="GstRTSPMediaFactory*"/>
</parameter>
<parameter name="ctx" transfer-ownership="none">
<type name="RTSPContext" c:type="GstRTSPContext*"/>
</parameter>
</parameters>
</function>
<virtual-method name="has_backchannel_support"
invoker="has_backchannel_support"
version="1.14">
<doc xml:space="preserve">Returns %TRUE if an ONVIF backchannel is supported by the media factory.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if an ONVIF backchannel is supported by the media factory.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="factory" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPMediaFactory</doc>
<type name="RTSPOnvifMediaFactory"
c:type="GstRTSPOnvifMediaFactory*"/>
</instance-parameter>
</parameters>
</virtual-method>
<method name="get_backchannel_bandwidth"
c:identifier="gst_rtsp_onvif_media_factory_get_backchannel_bandwidth"
version="1.14">
<doc xml:space="preserve">Get the configured/supported bandwidth of the ONVIF backchannel pipeline in
bits per second.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the configured/supported backchannel bandwidth.</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="factory" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPMediaFactory</doc>
<type name="RTSPOnvifMediaFactory"
c:type="GstRTSPOnvifMediaFactory*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_backchannel_launch"
c:identifier="gst_rtsp_onvif_media_factory_get_backchannel_launch"
version="1.14">
<doc xml:space="preserve">Get the gst_parse_launch() pipeline description that will be used in the
default prepare vmethod for generating the ONVIF backchannel pipeline.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the configured backchannel launch description. g_free() after
usage.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="factory" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPMediaFactory</doc>
<type name="RTSPOnvifMediaFactory"
c:type="GstRTSPOnvifMediaFactory*"/>
</instance-parameter>
</parameters>
</method>
<method name="has_backchannel_support"
c:identifier="gst_rtsp_onvif_media_factory_has_backchannel_support"
version="1.14">
<doc xml:space="preserve">Returns %TRUE if an ONVIF backchannel is supported by the media factory.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if an ONVIF backchannel is supported by the media factory.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="factory" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPMediaFactory</doc>
<type name="RTSPOnvifMediaFactory"
c:type="GstRTSPOnvifMediaFactory*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_backchannel_bandwidth"
c:identifier="gst_rtsp_onvif_media_factory_set_backchannel_bandwidth"
version="1.14">
<doc xml:space="preserve">Set the configured/supported bandwidth of the ONVIF backchannel pipeline in
bits per second.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="factory" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPMediaFactory</doc>
<type name="RTSPOnvifMediaFactory"
c:type="GstRTSPOnvifMediaFactory*"/>
</instance-parameter>
<parameter name="bandwidth" transfer-ownership="none">
<doc xml:space="preserve">the bandwidth in bits per second</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<method name="set_backchannel_launch"
c:identifier="gst_rtsp_onvif_media_factory_set_backchannel_launch"
version="1.14">
<doc xml:space="preserve">The gst_parse_launch() line to use for constructing the ONVIF backchannel
pipeline in the default prepare vmethod if requested by the client.
The pipeline description should return a GstBin as the toplevel element
which can be accomplished by enclosing the description with brackets '('
')'.
The description should return a pipeline with a single depayloader named
depay_backchannel. A caps query on the depayloader's sinkpad should return
all possible, complete RTP caps that are going to be supported. At least
the payload type, clock-rate and encoding-name need to be specified.
Note: The pipeline part passed here must end in sinks that are not waiting
until pre-rolling before reaching the PAUSED state, i.e. setting
async=false on #GstBaseSink. Otherwise the whole media will not be able to
prepare.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="factory" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPMediaFactory</doc>
<type name="RTSPOnvifMediaFactory"
c:type="GstRTSPOnvifMediaFactory*"/>
</instance-parameter>
<parameter name="launch" transfer-ownership="none">
<doc xml:space="preserve">the launch description</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<field name="parent">
<type name="RTSPMediaFactory" c:type="GstRTSPMediaFactory"/>
</field>
<field name="priv">
<type name="RTSPOnvifMediaFactoryPrivate"
c:type="GstRTSPOnvifMediaFactoryPrivate*"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<record name="RTSPOnvifMediaFactoryClass"
c:type="GstRTSPOnvifMediaFactoryClass"
glib:is-gtype-struct-for="RTSPOnvifMediaFactory">
<field name="parent">
<type name="RTSPMediaFactoryClass" c:type="GstRTSPMediaFactoryClass"/>
</field>
<field name="has_backchannel_support">
<callback name="has_backchannel_support">
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if an ONVIF backchannel is supported by the media factory.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="factory" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPMediaFactory</doc>
<type name="RTSPOnvifMediaFactory"
c:type="GstRTSPOnvifMediaFactory*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" c:type="gpointer" fixed-size="20">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<record name="RTSPOnvifMediaFactoryPrivate"
c:type="GstRTSPOnvifMediaFactoryPrivate"
disguised="1">
</record>
<record name="RTSPOnvifMediaPrivate"
c:type="GstRTSPOnvifMediaPrivate"
disguised="1">
</record>
<class name="RTSPOnvifServer"
c:symbol-prefix="rtsp_onvif_server"
c:type="GstRTSPOnvifServer"
parent="RTSPServer"
glib:type-name="GstRTSPOnvifServer"
glib:get-type="gst_rtsp_onvif_server_get_type"
glib:type-struct="RTSPOnvifServerClass">
<constructor name="new" c:identifier="gst_rtsp_onvif_server_new">
<doc xml:space="preserve">Create a new #GstRTSPOnvifServer instance.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #GstRTSPOnvifServer</doc>
<type name="RTSPServer" c:type="GstRTSPServer*"/>
</return-value>
</constructor>
<field name="parent">
<type name="RTSPServer" c:type="GstRTSPServer"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</class>
<record name="RTSPOnvifServerClass"
c:type="GstRTSPOnvifServerClass"
glib:is-gtype-struct-for="RTSPOnvifServer">
<field name="parent">
<type name="RTSPServerClass" c:type="GstRTSPServerClass"/>
</field>
<field name="_gst_reserved" readable="0" private="1">
<array zero-terminated="0" c:type="gpointer" fixed-size="20">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<record name="RTSPPermissions"
c:type="GstRTSPPermissions"
glib:type-name="GstRTSPPermissions"
@ -5552,8 +5973,35 @@ of objects in different roles.</doc>
<type name="RTSPPermissions" c:type="GstRTSPPermissions*"/>
</return-value>
</constructor>
<method name="add_permission_for_role"
c:identifier="gst_rtsp_permissions_add_permission_for_role"
version="1.14">
<doc xml:space="preserve">Add a new @permission for @role to @permissions with the access in @allowed.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="permissions" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPPermissions</doc>
<type name="RTSPPermissions" c:type="GstRTSPPermissions*"/>
</instance-parameter>
<parameter name="role" transfer-ownership="none">
<doc xml:space="preserve">a role</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="permission" transfer-ownership="none">
<doc xml:space="preserve">the permission</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="allowed" transfer-ownership="none">
<doc xml:space="preserve">whether the role has this permission or not</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="add_role"
c:identifier="gst_rtsp_permissions_add_role"
shadowed-by="add_role_empty"
introspectable="0">
<doc xml:space="preserve">Add a new @role to @permissions with the given variables. The fields
are the same layout as gst_structure_new().</doc>
@ -5579,6 +6027,48 @@ are the same layout as gst_structure_new().</doc>
</parameter>
</parameters>
</method>
<method name="add_role_empty"
c:identifier="gst_rtsp_permissions_add_role_empty"
shadows="add_role"
version="1.14">
<doc xml:space="preserve">Add a new @role to @permissions without any permissions. You can add
permissions for the role with gst_rtsp_permissions_add_permission_for_role().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="permissions" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPPermissions</doc>
<type name="RTSPPermissions" c:type="GstRTSPPermissions*"/>
</instance-parameter>
<parameter name="role" transfer-ownership="none">
<doc xml:space="preserve">a role</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="add_role_from_structure"
c:identifier="gst_rtsp_permissions_add_role_from_structure"
version="1.14">
<doc xml:space="preserve">Add a new role to @permissions based on @structure, for example
given a role named `tester`, which should be granted a permission named
`permission1`, the structure could be created with:
```
gst_structure_new ("tester", "permission1", G_TYPE_BOOLEAN, TRUE, NULL);
```</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="permissions" transfer-ownership="none">
<type name="RTSPPermissions" c:type="GstRTSPPermissions*"/>
</instance-parameter>
<parameter name="structure" transfer-ownership="none">
<type name="Gst.Structure" c:type="GstStructure*"/>
</parameter>
</parameters>
</method>
<method name="add_role_valist"
c:identifier="gst_rtsp_permissions_add_role_valist"
introspectable="0">
@ -6826,6 +7316,23 @@ valid until the session of @media is unreffed.</doc>
</parameter>
</parameters>
</method>
<method name="get_transports"
c:identifier="gst_rtsp_session_media_get_transports">
<doc xml:space="preserve">Get a list of all available #GstRTSPStreamTransport in this session.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a
list of #GstRTSPStreamTransport, g_ptr_array_unref () after usage.</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="RTSPStreamTransport"/>
</array>
</return-value>
<parameters>
<instance-parameter name="media" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPSessionMedia</doc>
<type name="RTSPSessionMedia" c:type="GstRTSPSessionMedia*"/>
</instance-parameter>
</parameters>
</method>
<method name="matches" c:identifier="gst_rtsp_session_media_matches">
<doc xml:space="preserve">Check if the path of @media matches @path. It @path matches, the amount of
matched characters is returned in @matched.</doc>
@ -7365,10 +7872,8 @@ then also be send to the values configured in @trans.
</parameters>
</method>
<method name="allocate_udp_sockets"
c:identifier="gst_rtsp_stream_allocate_udp_sockets"
deprecated="1">
c:identifier="gst_rtsp_stream_allocate_udp_sockets">
<doc xml:space="preserve">Allocates RTP and RTCP ports.</doc>
<doc-deprecated xml:space="preserve">This function shouldn't have been made public</doc-deprecated>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the RTP and RTCP sockets have been succeccully allocated.</doc>
<type name="gboolean" c:type="gboolean"/>
@ -7386,12 +7891,32 @@ then also be send to the values configured in @trans.
<doc xml:space="preserve">transport method</doc>
<type name="GstRtsp.RTSPTransport" c:type="GstRTSPTransport*"/>
</parameter>
<parameter name="use_client_setttings" transfer-ownership="none">
<parameter name="use_client_settings" transfer-ownership="none">
<doc xml:space="preserve">Whether to use client settings or not</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="complete_stream"
c:identifier="gst_rtsp_stream_complete_stream">
<doc xml:space="preserve">Add a receiver and sender part to the pipeline based on the transport from
SETUP.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the stream has been sucessfully updated.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="stream" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPStream</doc>
<type name="RTSPStream" c:type="GstRTSPStream*"/>
</instance-parameter>
<parameter name="transport" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPTransport</doc>
<type name="GstRtsp.RTSPTransport"
c:type="const GstRTSPTransport*"/>
</parameter>
</parameters>
</method>
<method name="get_address_pool"
c:identifier="gst_rtsp_stream_get_address_pool">
<doc xml:space="preserve">Get the #GstRTSPAddressPool used as the address pool of @stream.</doc>
@ -7633,6 +8158,25 @@ g_free() after usage.</doc>
</instance-parameter>
</parameters>
</method>
<method name="get_rtcp_multicast_socket"
c:identifier="gst_rtsp_stream_get_rtcp_multicast_socket">
<doc xml:space="preserve">Get the multicast RTCP socket from @stream for a @family.</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">the multicast RTCP socket or %NULL if no
socket could be allocated for @family. Unref after usage</doc>
<type name="Gio.Socket" c:type="GSocket*"/>
</return-value>
<parameters>
<instance-parameter name="stream" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPStream</doc>
<type name="RTSPStream" c:type="GstRTSPStream*"/>
</instance-parameter>
<parameter name="family" transfer-ownership="none">
<doc xml:space="preserve">the socket family</doc>
<type name="Gio.SocketFamily" c:type="GSocketFamily"/>
</parameter>
</parameters>
</method>
<method name="get_rtcp_socket"
c:identifier="gst_rtsp_stream_get_rtcp_socket">
<doc xml:space="preserve">Get the RTCP socket from @stream for a @family.
@ -7640,6 +8184,25 @@ g_free() after usage.</doc>
@stream must be joined to a bin.</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">the RTCP socket or %NULL if no
socket could be allocated for @family. Unref after usage</doc>
<type name="Gio.Socket" c:type="GSocket*"/>
</return-value>
<parameters>
<instance-parameter name="stream" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPStream</doc>
<type name="RTSPStream" c:type="GstRTSPStream*"/>
</instance-parameter>
<parameter name="family" transfer-ownership="none">
<doc xml:space="preserve">the socket family</doc>
<type name="Gio.SocketFamily" c:type="GSocketFamily"/>
</parameter>
</parameters>
</method>
<method name="get_rtp_multicast_socket"
c:identifier="gst_rtsp_stream_get_rtp_multicast_socket">
<doc xml:space="preserve">Get the multicast RTP socket from @stream for a @family.</doc>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve">the multicast RTP socket or %NULL if no
socket could be allocated for @family. Unref after usage</doc>
<type name="Gio.Socket" c:type="GSocket*"/>
</return-value>
@ -7869,6 +8432,47 @@ be called when @stream has been joined.</doc>
</instance-parameter>
</parameters>
</method>
<method name="is_complete" c:identifier="gst_rtsp_stream_is_complete">
<doc xml:space="preserve">Checks whether the stream is complete, contains the receiver and the sender
parts. As the stream contains sink(s) element(s), it's possible to perform
seek operations on it.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the stream contains at least one sink element.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="stream" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPStream</doc>
<type name="RTSPStream" c:type="GstRTSPStream*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_receiver" c:identifier="gst_rtsp_stream_is_receiver">
<doc xml:space="preserve">Checks whether the stream is a receiver.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the stream is a receiver and %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="stream" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPStream</doc>
<type name="RTSPStream" c:type="GstRTSPStream*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_sender" c:identifier="gst_rtsp_stream_is_sender">
<doc xml:space="preserve">Checks whether the stream is a sender.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the stream is a sender and %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="stream" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPStream</doc>
<type name="RTSPStream" c:type="GstRTSPStream*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_transport_supported"
c:identifier="gst_rtsp_stream_is_transport_supported">
<doc xml:space="preserve">Check if @transport can be handled by stream</doc>
@ -8094,6 +8698,19 @@ the address could be reserved. gst_rtsp_address_free() after usage.</doc>
</parameter>
</parameters>
</method>
<method name="seekable" c:identifier="gst_rtsp_stream_seekable">
<doc xml:space="preserve">Checks whether the individual @stream is seekable.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if @stream is seekable, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="stream" transfer-ownership="none">
<doc xml:space="preserve">a #GstRTSPStream</doc>
<type name="RTSPStream" c:type="GstRTSPStream*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_address_pool"
c:identifier="gst_rtsp_stream_set_address_pool">
<doc xml:space="preserve">configure @pool to be used as the address pool of @stream.</doc>
@ -8411,6 +9028,17 @@ element in the #GList should be unreffed before the list is freed.</doc>
</parameter>
</parameters>
</method>
<method name="unblock_linked"
c:identifier="gst_rtsp_stream_unblock_linked">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="stream" transfer-ownership="none">
<type name="RTSPStream" c:type="GstRTSPStream*"/>
</instance-parameter>
</parameters>
</method>
<method name="update_crypto"
c:identifier="gst_rtsp_stream_update_crypto">
<doc xml:space="preserve">Update the new crypto information for @ssrc in @stream. If information
@ -9249,6 +9877,7 @@ It is generated after successful authentication.</doc>
</field>
<constructor name="new"
c:identifier="gst_rtsp_token_new"
shadowed-by="new_empty"
introspectable="0">
<doc xml:space="preserve">Create a new Authorization token with the given fieldnames and values.
Arguments are given similar to gst_structure_new().</doc>
@ -9267,7 +9896,9 @@ Arguments are given similar to gst_structure_new().</doc>
</parameter>
</parameters>
</constructor>
<constructor name="new_empty" c:identifier="gst_rtsp_token_new_empty">
<constructor name="new_empty"
c:identifier="gst_rtsp_token_new_empty"
shadows="new">
<doc xml:space="preserve">Create a new empty Authorization token.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new empty authorization token.</doc>
@ -9347,6 +9978,50 @@ MT safe.</doc>
</parameter>
</parameters>
</method>
<method name="set_bool"
c:identifier="gst_rtsp_token_set_bool"
version="1.14">
<doc xml:space="preserve">Sets a boolean value on @token.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="token" transfer-ownership="none">
<doc xml:space="preserve">The #GstRTSPToken.</doc>
<type name="RTSPToken" c:type="GstRTSPToken*"/>
</instance-parameter>
<parameter name="field" transfer-ownership="none">
<doc xml:space="preserve">field to set</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="bool_value" transfer-ownership="none">
<doc xml:space="preserve">boolean value to set</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="set_string"
c:identifier="gst_rtsp_token_set_string"
version="1.14">
<doc xml:space="preserve">Sets a string value on @token.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="token" transfer-ownership="none">
<doc xml:space="preserve">The #GstRTSPToken.</doc>
<type name="RTSPToken" c:type="GstRTSPToken*"/>
</instance-parameter>
<parameter name="field" transfer-ownership="none">
<doc xml:space="preserve">field to set</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="string_value" transfer-ownership="none">
<doc xml:space="preserve">string value to set</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="writable_structure"
c:identifier="gst_rtsp_token_writable_structure">
<doc xml:space="preserve">Get a writable version of the structure.</doc>
@ -9433,6 +10108,11 @@ port pair in multicast. No response is sent when the check returns
<doc xml:space="preserve">Check the URL and methods</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTSP_ONVIF_BACKCHANNEL_REQUIREMENT"
value="www.onvif.org/ver20/backchannel"
c:type="GST_RTSP_ONVIF_BACKCHANNEL_REQUIREMENT">
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="RTSP_PERM_MEDIA_FACTORY_ACCESS"
value="media.factory.access"
c:type="GST_RTSP_PERM_MEDIA_FACTORY_ACCESS">
@ -9568,5 +10248,28 @@ information in the SDP.</doc>
</parameter>
</parameters>
</function>
<function name="rtsp_sdp_make_media"
c:identifier="gst_rtsp_sdp_make_media">
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="sdp" transfer-ownership="none">
<type name="GstSdp.SDPMessage" c:type="GstSDPMessage*"/>
</parameter>
<parameter name="info" transfer-ownership="none">
<type name="SDPInfo" c:type="GstSDPInfo*"/>
</parameter>
<parameter name="stream" transfer-ownership="none">
<type name="RTSPStream" c:type="GstRTSPStream*"/>
</parameter>
<parameter name="caps" transfer-ownership="none">
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="profile" transfer-ownership="none">
<type name="GstRtsp.RTSPProfile" c:type="GstRTSPProfile"/>
</parameter>
</parameters>
</function>
</namespace>
</repository>

View file

@ -1512,7 +1512,10 @@ specific security protocol</doc>
<doc xml:space="preserve">the key</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<parameter name="value"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">the value</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
@ -1717,7 +1720,10 @@ keys.</doc>
<doc xml:space="preserve">a key</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<parameter name="value"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a value</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
@ -2683,7 +2689,10 @@ messages.</doc>
<doc xml:space="preserve">the key</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<parameter name="value"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">the value</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>

View file

@ -1708,7 +1708,7 @@ of cores.</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="VIDEO_FORMATS_ALL"
value="{ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE }"
value="{ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32 }"
c:type="GST_VIDEO_FORMATS_ALL">
<type name="utf8" c:type="gchar*"/>
</constant>
@ -1842,11 +1842,24 @@ quatization errors.</doc>
</parameters>
</callback>
<record name="VideoAffineTransformationMeta"
c:type="GstVideoAffineTransformationMeta">
c:type="GstVideoAffineTransformationMeta"
version="1.8">
<doc xml:space="preserve">Extra buffer metadata for performing an affine transformation using a 4x4
matrix. The transformation matrix can be composed with
gst_video_affine_transformation_meta_apply_matrix().
The vertices operated on are all in the range 0 to 1, not in
Normalized Device Coordinates (-1 to +1). Transforming points in this space
are assumed to have an origin at (0.5, 0.5, 0.5) in a left-handed coordinate
system with the x-axis moving horizontally (positive values to the right),
the y-axis moving vertically (positive values up the screen) and the z-axis
perpendicular to the screen (positive values into the screen).</doc>
<field name="meta" writable="1">
<doc xml:space="preserve">parent #GstMeta</doc>
<type name="Gst.Meta" c:type="GstMeta"/>
</field>
<field name="matrix" writable="1">
<doc xml:space="preserve">the column-major 4x4 transformation matrix</doc>
<array zero-terminated="0" c:type="gfloat" fixed-size="16">
<type name="gfloat" c:type="gfloat"/>
</array>
@ -1854,7 +1867,8 @@ quatization errors.</doc>
<method name="apply_matrix"
c:identifier="gst_video_affine_transformation_meta_apply_matrix"
version="1.8">
<doc xml:space="preserve">Apply a transformation using the given 4x4 transformation matrix</doc>
<doc xml:space="preserve">Apply a transformation using the given 4x4 transformation matrix.
Performs the multiplication, meta-&gt;matrix X matrix.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
@ -2024,7 +2038,7 @@ They can conflict with other extended buffer flags.</doc>
<constructor name="new" c:identifier="gst_video_buffer_pool_new">
<doc xml:space="preserve">Create a new bufferpool that can allocate video frames. This bufferpool
supports all the video bufferpool options.</doc>
<return-value transfer-ownership="none">
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #GstBufferPool to allocate video frames</doc>
<type name="Gst.BufferPool" c:type="GstBufferPool*"/>
</return-value>
@ -2574,7 +2588,7 @@ non-linear RGB (R'G'B')</doc>
value="6"
c:identifier="GST_VIDEO_COLOR_MATRIX_BT2020"
glib:nick="bt2020">
<doc xml:space="preserve">ITU-R BT.2020 color matrix. Since: 1.6.</doc>
<doc xml:space="preserve">ITU-R BT.2020 color matrix. Since: 1.6</doc>
</member>
<function name="get_Kr_Kb"
c:identifier="gst_video_color_matrix_get_Kr_Kb"
@ -2676,7 +2690,7 @@ the CIE XYZ colorspace.</doc>
value="7"
c:identifier="GST_VIDEO_COLOR_PRIMARIES_BT2020"
glib:nick="bt2020">
<doc xml:space="preserve">BT2020 primaries. Since: 1.6.</doc>
<doc xml:space="preserve">BT2020 primaries. Since: 1.6</doc>
</member>
<member name="adobergb"
value="8"
@ -2831,7 +2845,7 @@ the component values in range [0.0 .. 1.0] back to their representation in
<doc xml:space="preserve">Parse the colorimetry string and update @cinfo with the parsed
values.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">#TRUE if @color points to valid colorimetry info.</doc>
<doc xml:space="preserve">%TRUE if @color points to valid colorimetry info.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
@ -2850,7 +2864,7 @@ values.</doc>
version="1.6">
<doc xml:space="preserve">Compare the 2 colorimetry sets for equality</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">#TRUE if @cinfo and @other are equal.</doc>
<doc xml:space="preserve">%TRUE if @cinfo and @other are equal.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
@ -2868,7 +2882,7 @@ values.</doc>
<doc xml:space="preserve">Check if the colorimetry information in @info matches that of the
string @color.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">#TRUE if @color conveys the same colorimetry info as the color
<doc xml:space="preserve">%TRUE if @color conveys the same colorimetry info as the color
information in @info.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
@ -3244,7 +3258,7 @@ The bare minimum that a functional subclass needs to implement is:
Unmark GST_PAD_FLAG_NEED_RECONFIGURE in any case. But mark it again if
negotiate fails.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">#TRUE if the negotiation succeeded, else #FALSE.</doc>
<doc xml:space="preserve">%TRUE if the negotiation succeeded, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
@ -3839,7 +3853,7 @@ MT safe.</doc>
Unmark GST_PAD_FLAG_NEED_RECONFIGURE in any case. But mark it again if
negotiate fails.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">#TRUE if the negotiation succeeded, else #FALSE.</doc>
<doc xml:space="preserve">%TRUE if the negotiation succeeded, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
@ -4267,7 +4281,7 @@ and likely as well. If non-packetized input is supported or expected,
<field name="negotiate">
<callback name="negotiate">
<return-value transfer-ownership="none">
<doc xml:space="preserve">#TRUE if the negotiation succeeded, else #FALSE.</doc>
<doc xml:space="preserve">%TRUE if the negotiation succeeded, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
@ -4634,7 +4648,15 @@ Things that subclass need to take care of:
* Provide pad templates
* Provide source pad caps before pushing the first buffer
* Accept data in @handle_frame and provide encoded results to
@gst_video_encoder_finish_frame.</doc>
@gst_video_encoder_finish_frame.
The #GstVideoEncoder:qos property will enable the Quality-of-Service
features of the encoder which gather statistics about the real-time
performance of the downstream elements. If enabled, subclasses can
use gst_video_encoder_get_max_encode_time() to check if input frames
are already late and drop them right away to give a chance to the
pipeline to catch up.</doc>
<implements name="Gst.Preset"/>
<virtual-method name="close">
<return-value transfer-ownership="none">
@ -4710,7 +4732,7 @@ Things that subclass need to take care of:
Unmark GST_PAD_FLAG_NEED_RECONFIGURE in any case. But mark it again if
negotiate fails.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">#TRUE if the negotiation succeeded, else #FALSE.</doc>
<doc xml:space="preserve">%TRUE if the negotiation succeeded, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
@ -5043,6 +5065,31 @@ used</doc>
</parameter>
</parameters>
</method>
<method name="get_max_encode_time"
c:identifier="gst_video_encoder_get_max_encode_time"
version="1.14">
<doc xml:space="preserve">Determines maximum possible encoding time for @frame that will
allow it to encode and arrive in time (as determined by QoS events).
In particular, a negative result means encoding in time is no longer possible
and should therefore occur as soon/skippy as possible.
If no QoS events have been received from downstream, or if
#GstVideoEncoder:qos is disabled this function returns #G_MAXINT64.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">max decoding time.</doc>
<type name="Gst.ClockTimeDiff" c:type="GstClockTimeDiff"/>
</return-value>
<parameters>
<instance-parameter name="encoder" transfer-ownership="none">
<doc xml:space="preserve">a #GstVideoEncoder</doc>
<type name="VideoEncoder" c:type="GstVideoEncoder*"/>
</instance-parameter>
<parameter name="frame" transfer-ownership="none">
<doc xml:space="preserve">a #GstVideoCodecFrame</doc>
<type name="VideoCodecFrame" c:type="GstVideoCodecFrame*"/>
</parameter>
</parameters>
</method>
<method name="get_oldest_frame"
c:identifier="gst_video_encoder_get_oldest_frame">
<doc xml:space="preserve">Get the oldest unfinished pending #GstVideoCodecFrame</doc>
@ -5071,6 +5118,22 @@ used</doc>
</instance-parameter>
</parameters>
</method>
<method name="is_qos_enabled"
c:identifier="gst_video_encoder_is_qos_enabled"
version="1.14">
<doc xml:space="preserve">Checks if @encoder is currently configured to handle Quality-of-Service
events from downstream.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the encoder is configured to perform Quality-of-Service.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="encoder" transfer-ownership="none">
<doc xml:space="preserve">the encoder</doc>
<type name="VideoEncoder" c:type="GstVideoEncoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="merge_tags" c:identifier="gst_video_encoder_merge_tags">
<doc xml:space="preserve">Sets the video encoder tags and how they should be merged with any
upstream stream tags. This will override any tags previously-set
@ -5107,7 +5170,7 @@ MT safe.</doc>
Unmark GST_PAD_FLAG_NEED_RECONFIGURE in any case. But mark it again if
negotiate fails.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">#TRUE if the negotiation succeeded, else #FALSE.</doc>
<doc xml:space="preserve">%TRUE if the negotiation succeeded, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
@ -5248,6 +5311,27 @@ from the next call to #gst_video_encoder_finish_frame().</doc>
</parameter>
</parameters>
</method>
<method name="set_qos_enabled"
c:identifier="gst_video_encoder_set_qos_enabled"
version="1.14">
<doc xml:space="preserve">Configures @encoder to handle Quality-of-Service events from downstream.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="encoder" transfer-ownership="none">
<doc xml:space="preserve">the encoder</doc>
<type name="VideoEncoder" c:type="GstVideoEncoder*"/>
</instance-parameter>
<parameter name="enabled" transfer-ownership="none">
<doc xml:space="preserve">the new qos value.</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<property name="qos" writable="1" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<field name="element" readable="0" private="1">
<type name="Gst.Element" c:type="GstElement"/>
</field>
@ -5452,7 +5536,7 @@ and @get_caps are likely needed as well.</doc>
<field name="negotiate">
<callback name="negotiate">
<return-value transfer-ownership="none">
<doc xml:space="preserve">#TRUE if the negotiation succeeded, else #FALSE.</doc>
<doc xml:space="preserve">%TRUE if the negotiation succeeded, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
@ -6279,6 +6363,24 @@ to implement frame dropping.</doc>
glib:nick="y444-12le">
<doc xml:space="preserve">planar 4:4:4 YUV, 12 bits per channel (Since: 1.12)</doc>
</member>
<member name="gray10_le32"
value="78"
c:identifier="GST_VIDEO_FORMAT_GRAY10_LE32"
glib:nick="gray10-le32">
<doc xml:space="preserve">10-bit grayscale, packed into 32bit words (2 bits padding) (Since: 1.14)</doc>
</member>
<member name="nv12_10le32"
value="79"
c:identifier="GST_VIDEO_FORMAT_NV12_10LE32"
glib:nick="nv12-10le32">
<doc xml:space="preserve">10-bit variant of @GST_VIDEO_FORMAT_NV12, packed into 32bit words (MSB 2 bits padding) (Since: 1.14)</doc>
</member>
<member name="nv16_10le32"
value="80"
c:identifier="GST_VIDEO_FORMAT_NV16_10LE32"
glib:nick="nv16-10le32">
<doc xml:space="preserve">10-bit variant of @GST_VIDEO_FORMAT_NV16, packed into 32bit words (MSB 2 bits padding) (Since: 1.14)</doc>
</member>
<function name="from_fourcc" c:identifier="gst_video_format_from_fourcc">
<doc xml:space="preserve">Converts a FOURCC value into the corresponding #GstVideoFormat.
If the FOURCC cannot be represented by #GstVideoFormat,
@ -8792,6 +8894,59 @@ int main(int argc, char *argv[])
return ret;
}
]|</doc>
<function name="install_properties"
c:identifier="gst_video_overlay_install_properties">
<doc xml:space="preserve">This helper shall be used by classes implementing the #GstVideoOverlay
interface that want the render rectangle to be controllable using
properties. This helper will install "render-rectangle" property into the
class.
Since 1.14</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="oclass" transfer-ownership="none">
<doc xml:space="preserve">The class on which the properties will be installed</doc>
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
</parameter>
<parameter name="last_prop_id" transfer-ownership="none">
<doc xml:space="preserve">The first free property ID to use</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</function>
<function name="set_property"
c:identifier="gst_video_overlay_set_property">
<doc xml:space="preserve">This helper shall be used by classes implementing the #GstVideoOverlay
interface that want the render rectangle to be controllable using
properties. This helper will parse and set the render rectangle calling
gst_video_overlay_set_render_rectangle().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the @property_id matches the GstVideoOverlay property
Since 1.14</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="object" transfer-ownership="none">
<doc xml:space="preserve">The instance on which the property is set</doc>
<type name="GObject.Object" c:type="GObject*"/>
</parameter>
<parameter name="last_prop_id" transfer-ownership="none">
<doc xml:space="preserve">The highest property ID.</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="property_id" transfer-ownership="none">
<doc xml:space="preserve">The property ID</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">The #GValue to be set</doc>
<type name="GObject.Value" c:type="const GValue*"/>
</parameter>
</parameters>
</function>
<virtual-method name="expose" invoker="expose">
<doc xml:space="preserve">Tell an overlay that it has been exposed. This will redraw the current frame
in the drawable even if the pipeline is PAUSED.</doc>
@ -9302,6 +9457,10 @@ contained in the rectangles are not copied.</doc>
</callback>
</field>
</record>
<record name="VideoOverlayProperties"
c:type="GstVideoOverlayProperties"
disguised="1">
</record>
<record name="VideoOverlayRectangle"
c:type="GstVideoOverlayRectangle"
glib:type-name="GstVideoOverlayRectangle"
@ -9835,6 +9994,61 @@ gst_video_overlay_composition_copy().</doc>
<doc xml:space="preserve">bounding box height</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="params" writable="1">
<doc xml:space="preserve">list of #GstStructure containing element-specific params for downstream, see gst_video_region_of_interest_meta_add_params(). (Since: 1.14)</doc>
<type name="GLib.List" c:type="GList*">
<type name="gpointer" c:type="gpointer"/>
</type>
</field>
<method name="add_param"
c:identifier="gst_video_region_of_interest_meta_add_param"
version="1.14">
<doc xml:space="preserve">Attach element-specific parameters to @meta meant to be used by downstream
elements which may handle this ROI.
The name of @s is used to identify the element these parameters are meant for.
This is typically used to tell encoders how they should encode this specific region.
For example, a structure named "roi/x264enc" could be used to give the
QP offsets this encoder should use when encoding the region described in @meta.
Multiple parameters can be defined for the same meta so different encoders
can be supported by cross platform applications).</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="meta" transfer-ownership="none">
<doc xml:space="preserve">a #GstVideoRegionOfInterestMeta</doc>
<type name="VideoRegionOfInterestMeta"
c:type="GstVideoRegionOfInterestMeta*"/>
</instance-parameter>
<parameter name="s" transfer-ownership="full">
<doc xml:space="preserve">a #GstStructure</doc>
<type name="Gst.Structure" c:type="GstStructure*"/>
</parameter>
</parameters>
</method>
<method name="get_param"
c:identifier="gst_video_region_of_interest_meta_get_param"
version="1.14">
<doc xml:space="preserve">Retrieve the parameter for @meta having @name as structure name,
or %NULL if there is none.</doc>
<doc-version xml:space="preserve">
See also: gst_video_region_of_interest_meta_add_param()</doc-version>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">a #GstStructure</doc>
<type name="Gst.Structure" c:type="GstStructure*"/>
</return-value>
<parameters>
<instance-parameter name="meta" transfer-ownership="none">
<doc xml:space="preserve">a #GstVideoRegionOfInterestMeta</doc>
<type name="VideoRegionOfInterestMeta"
c:type="GstVideoRegionOfInterestMeta*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<function name="get_info"
c:identifier="gst_video_region_of_interest_meta_get_info">
<return-value transfer-ownership="none">
@ -10340,7 +10554,7 @@ the @dst one and @scaling is set to FALSE.</doc>
writable="1"
construct="1"
transfer-ownership="none">
<doc xml:space="preserve">Whether to show video frames during preroll. If set to #FALSE, video
<doc xml:space="preserve">Whether to show video frames during preroll. If set to %FALSE, video
frames will only be rendered in PLAYING state.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
@ -11166,7 +11380,7 @@ non-linear RGB (R'G'B') and linear RGB</doc>
glib:nick="bt2020-12">
<doc xml:space="preserve">Gamma 2.2 curve with a linear segment in the lower
range. Used for BT.2020 with 12 bits per
component. Since: 1.6.</doc>
component. Since: 1.6</doc>
</member>
<member name="adobergb"
value="12"
@ -11560,7 +11774,7 @@ no such metadata on @buffer.</doc>
<doc xml:space="preserve">Get the video alignment from the bufferpool configuration @config in
in @align</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">#TRUE if @config could be parsed correctly.</doc>
<doc xml:space="preserve">%TRUE if @config could be parsed correctly.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
@ -13362,6 +13576,61 @@ the requested mode.</doc>
<type name="Gst.MetaInfo" c:type="const GstMetaInfo*"/>
</return-value>
</function>
<function name="video_overlay_install_properties"
c:identifier="gst_video_overlay_install_properties"
moved-to="VideoOverlay.install_properties">
<doc xml:space="preserve">This helper shall be used by classes implementing the #GstVideoOverlay
interface that want the render rectangle to be controllable using
properties. This helper will install "render-rectangle" property into the
class.
Since 1.14</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="oclass" transfer-ownership="none">
<doc xml:space="preserve">The class on which the properties will be installed</doc>
<type name="GObject.ObjectClass" c:type="GObjectClass*"/>
</parameter>
<parameter name="last_prop_id" transfer-ownership="none">
<doc xml:space="preserve">The first free property ID to use</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</function>
<function name="video_overlay_set_property"
c:identifier="gst_video_overlay_set_property"
moved-to="VideoOverlay.set_property">
<doc xml:space="preserve">This helper shall be used by classes implementing the #GstVideoOverlay
interface that want the render rectangle to be controllable using
properties. This helper will parse and set the render rectangle calling
gst_video_overlay_set_render_rectangle().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the @property_id matches the GstVideoOverlay property
Since 1.14</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="object" transfer-ownership="none">
<doc xml:space="preserve">The instance on which the property is set</doc>
<type name="GObject.Object" c:type="GObject*"/>
</parameter>
<parameter name="last_prop_id" transfer-ownership="none">
<doc xml:space="preserve">The highest property ID.</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="property_id" transfer-ownership="none">
<doc xml:space="preserve">The property ID</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">The #GValue to be set</doc>
<type name="GObject.Value" c:type="const GValue*"/>
</parameter>
</parameters>
</function>
<function name="video_region_of_interest_meta_api_get_type"
c:identifier="gst_video_region_of_interest_meta_api_get_type">
<return-value transfer-ownership="none">