BaseDepayload
Object Hierarchy:
Description:
[ CCode ( type_id = "gst_rtp_base_depayload_get_type ()" ) ]
[ GIR ( name = "RTPBaseDepayload" ) ]
public abstract class BaseDepayload : Element
[ GIR ( name = "RTPBaseDepayload" ) ]
public abstract class BaseDepayload : Element
Provides a base class for RTP depayloaders
Namespace: Gst.RTP
Package: gstreamer-rtp-1.0
Content:
Properties:
- public bool auto_header_extension { get; set; }
If enabled, the depayloader will automatically try to enable all the RTP header extensions provided in the sink caps, saving the application the need to handle these extensions manually using the GstRTPBaseDepayload::request-extension: signal.
- public int max_reorder { get; set; }
Max seqnum reorder before the sender is assumed to have restarted.
- public bool source_info { get; set; }
Add RTP source information found in RTP header as meta to output buffer.
- public Structure stats { owned get; }
Various depayloader statistics retrieved atomically (and are therefore synchroized with each other).
Creation methods:
- protected BaseDepayload ()
Methods:
- public virtual bool handle_event (Event event)
- public bool is_source_info_enabled ()
Queries whether SourceMeta will be added to depayloaded buffers.
- public virtual bool packet_lost (Event event)
- public virtual Buffer process (Buffer @in)
- public virtual Buffer process_rtp_packet (Buffer rtp_buffer)
- public FlowReturn push (owned Buffer out_buf)
Push
out_buf
to the peer of this . - public FlowReturn push_list (owned BufferList out_list)
Push
out_list
to the peer of this . - public virtual bool set_caps (Caps caps)
- public void set_source_info_enabled (bool enable)
Enable or disable adding SourceMeta to depayloaded buffers.
Signals:
- public signal void add_extension (owned HeaderExtension ext)
Add
ext
as an extension for reading part of an RTP header extension from incoming RTP packets. - public signal void clear_extensions ()
Clear all RTP header extensions used by this depayloader.
- public signal HeaderExtension? request_extension (uint ext_id, string? ext_uri)
The returned
ext
must be configured with the correctext_id
and with the necessary attributes as required by the extension implementation.
Fields:
- public uint clock_rate
- public bool need_newsegment
- public unowned Segment segment
- public unowned Pad sinkpad
- public unowned Pad srcpad
Inherited Members:
All known members inherited from class Gst.Element
- abort_state
- add_metadata
- add_pad
- add_pad_template
- add_property_deep_notify_watch
- add_property_notify_watch
- add_static_metadata
- add_static_pad_template
- add_static_pad_template_with_gtype
- base_time
- bus
- call_async
- change_state
- class_get_metadata
- class_get_pad_template
- class_get_pad_template_list
- clock
- contexts
- continue_state
- create_all_pads
- current_state
- decorate_stream_id
- decorate_stream_id_printf_valist
- foreach_pad
- foreach_sink_pad
- foreach_src_pad
- get_base_time
- get_bus
- get_clock
- get_compatible_pad
- get_compatible_pad_template
- get_context
- get_context_unlocked
- get_contexts
- get_current_clock_time
- get_current_running_time
- get_factory
- get_metadata
- get_pad_template
- get_pad_template_list
- get_request_pad
- get_start_time
- get_state
- get_static_pad
- is_locked_state
- iterate_pads
- iterate_sink_pads
- iterate_src_pads
- last_return
- link
- link_filtered
- link_many
- link_pads
- link_pads_filtered
- lost_state
- make_from_uri
- message_full
- message_full_with_details
- next_state
- no_more_pads
- numpads
- numsinkpads
- numsrcpads
- pad_added
- pad_removed
- pads
- pads_cookie
- pending_state
- post_message
- provide_clock
- query
- query_convert
- query_duration
- query_position
- register
- release_pad
- release_request_pad
- remove_pad
- remove_property_notify_watch
- request_pad
- request_pad_simple
- seek
- seek_simple
- send_event
- set_base_time
- set_bus
- set_clock
- set_context
- set_locked_state
- set_metadata
- set_start_time
- set_state
- set_static_metadata
- sinkpads
- srcpads
- start_time
- state_change_return_get_name
- state_changed
- state_cond
- state_cookie
- state_get_name
- state_lock
- sync_state_with_parent
- target_state
- type_set_skip_documentation
- unlink
- unlink_many
- unlink_pads
All known members inherited from class Gst.Object
All known members inherited from class GLib.Object