HeaderExtension
Object Hierarchy:
Description:
[ CCode ( type_id = "gst_rtp_header_extension_get_type ()" ) ]
[ GIR ( name = "RTPHeaderExtension" ) ]
[ Version ( since = "1.20" ) ]
public abstract class HeaderExtension : Element
[ GIR ( name = "RTPHeaderExtension" ) ]
[ Version ( since = "1.20" ) ]
public abstract class HeaderExtension : Element
Instance struct for a RTP Audio/Video header extension.
Namespace: Gst.RTP
Package: gstreamer-rtp-1.0
Content:
Static methods:
- public static HeaderExtension? create_from_uri (string uri)
Creation methods:
- protected HeaderExtension ()
Methods:
- public HeaderExtensionDirection get_direction ()
Retrieve the direction
- public uint get_id ()
- public virtual size_t get_max_size (Buffer input_meta)
This is used to know how much data a certain header extension will need for both allocating the resulting data, and deciding how much payload data can be generated.
- public string get_sdp_caps_field_name ()
- public virtual HeaderExtensionFlags get_supported_flags ()
- public unowned string? get_uri ()
- public virtual bool read (HeaderExtensionFlags read_flags, uint8[] data, Buffer buffer)
Read the RTP header extension from
data
. - public virtual bool set_attributes (HeaderExtensionDirection direction, string attributes)
- public bool set_attributes_from_caps (Caps caps)
set_id must have been called with a valid extension id that is contained in these caps.
- public virtual bool set_caps_from_attributes (Caps caps)
set_id must have been called with a valid extension id that is contained in these caps.
- public bool set_caps_from_attributes_helper (Caps caps, string attributes)
Helper implementation for GstRTPExtensionClass::set_caps_from_attributes that sets the this uri on caps with the specified extension id as required for sdp Caps.
- public void set_direction (HeaderExtensionDirection direction)
Set the direction that this header extension should be used in.
- public void set_id (uint ext_id)
sets the RTP extension id on this
- public virtual bool set_non_rtp_sink_caps (Caps caps)
Passes RTP payloader's sink (i.e. not payloaded)
caps
to the header extension. - public class void set_uri (string uri)
Set the URI for this RTP header extension implementation.
- public void set_wants_update_non_rtp_src_caps (bool state)
Call this function in a subclass from
GstRTPHeaderExtensionClass::read
to tell the depayloader whether the data just parsed from RTP packet require updating its src (non-RTP) caps. - public virtual bool update_non_rtp_src_caps (Caps caps)
Updates depayloader src caps based on the information received in RTP header.
- public bool wants_update_non_rtp_src_caps ()
Call this function after read to check if the depayloader's src caps need updating with data received in the last RTP packet.
- public virtual ssize_t write (Buffer input_meta, HeaderExtensionFlags write_flags, Buffer output, uint8[] data)
Writes the RTP header extension to
data
using information available from theinput_meta
.
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