Trait gstreamer_rtp::prelude::RTPBasePayloadExt

source ·
pub trait RTPBasePayloadExt: IsA<RTPBasePayload> + Sealed + 'static {
Show 58 methods // Provided methods fn allocate_output_buffer( &self, payload_len: u32, pad_len: u8, csrc_count: u8 ) -> Buffer { ... } fn source_count(&self, buffer: &Buffer) -> u32 { ... } fn is_filled( &self, size: u32, duration: impl Into<Option<ClockTime>> ) -> bool { ... } fn is_source_info_enabled(&self) -> bool { ... } fn push(&self, buffer: Buffer) -> Result<FlowSuccess, FlowError> { ... } fn push_list(&self, list: BufferList) -> Result<FlowSuccess, FlowError> { ... } fn set_options( &self, media: &str, dynamic: bool, encoding_name: &str, clock_rate: u32 ) { ... } fn set_source_info_enabled(&self, enable: bool) { ... } fn is_auto_header_extension(&self) -> bool { ... } fn set_auto_header_extension(&self, auto_header_extension: bool) { ... } fn max_ptime(&self) -> i64 { ... } fn set_max_ptime(&self, max_ptime: i64) { ... } fn min_ptime(&self) -> i64 { ... } fn set_min_ptime(&self, min_ptime: i64) { ... } fn mtu(&self) -> u32 { ... } fn set_mtu(&self, mtu: u32) { ... } fn is_onvif_no_rate_control(&self) -> bool { ... } fn set_onvif_no_rate_control(&self, onvif_no_rate_control: bool) { ... } fn is_perfect_rtptime(&self) -> bool { ... } fn set_perfect_rtptime(&self, perfect_rtptime: bool) { ... } fn pt(&self) -> u32 { ... } fn set_pt(&self, pt: u32) { ... } fn ptime_multiple(&self) -> i64 { ... } fn set_ptime_multiple(&self, ptime_multiple: i64) { ... } fn is_scale_rtptime(&self) -> bool { ... } fn set_scale_rtptime(&self, scale_rtptime: bool) { ... } fn seqnum(&self) -> u32 { ... } fn seqnum_offset(&self) -> i32 { ... } fn set_seqnum_offset(&self, seqnum_offset: i32) { ... } fn is_source_info(&self) -> bool { ... } fn set_source_info(&self, source_info: bool) { ... } fn ssrc(&self) -> u32 { ... } fn set_ssrc(&self, ssrc: u32) { ... } fn stats(&self) -> Option<Structure> { ... } fn timestamp(&self) -> u32 { ... } fn timestamp_offset(&self) -> u32 { ... } fn set_timestamp_offset(&self, timestamp_offset: u32) { ... } fn connect_add_extension<F: Fn(&Self, &RTPHeaderExtension) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn emit_add_extension(&self, ext: &RTPHeaderExtension) { ... } fn connect_clear_extensions<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn emit_clear_extensions(&self) { ... } fn connect_request_extension<F: Fn(&Self, u32, &str) -> Option<RTPHeaderExtension> + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_auto_header_extension_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_max_ptime_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_min_ptime_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_mtu_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_onvif_no_rate_control_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_perfect_rtptime_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_pt_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_ptime_multiple_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_scale_rtptime_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_seqnum_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_seqnum_offset_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_source_info_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_ssrc_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_stats_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_timestamp_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_timestamp_offset_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn allocate_output_buffer( &self, payload_len: u32, pad_len: u8, csrc_count: u8 ) -> Buffer

Available on crate feature v1_16 only.
source

fn source_count(&self, buffer: &Buffer) -> u32

Available on crate feature v1_16 only.
source

fn is_filled(&self, size: u32, duration: impl Into<Option<ClockTime>>) -> bool

source

fn is_source_info_enabled(&self) -> bool

Available on crate feature v1_16 only.
source

fn push(&self, buffer: Buffer) -> Result<FlowSuccess, FlowError>

source

fn push_list(&self, list: BufferList) -> Result<FlowSuccess, FlowError>

source

fn set_options( &self, media: &str, dynamic: bool, encoding_name: &str, clock_rate: u32 )

source

fn set_source_info_enabled(&self, enable: bool)

Available on crate feature v1_16 only.
source

fn is_auto_header_extension(&self) -> bool

Available on crate feature v1_20 only.
source

fn set_auto_header_extension(&self, auto_header_extension: bool)

Available on crate feature v1_20 only.
source

fn max_ptime(&self) -> i64

source

fn set_max_ptime(&self, max_ptime: i64)

source

fn min_ptime(&self) -> i64

source

fn set_min_ptime(&self, min_ptime: i64)

source

fn mtu(&self) -> u32

source

fn set_mtu(&self, mtu: u32)

source

fn is_onvif_no_rate_control(&self) -> bool

Available on crate feature v1_16 only.
source

fn set_onvif_no_rate_control(&self, onvif_no_rate_control: bool)

Available on crate feature v1_16 only.
source

fn is_perfect_rtptime(&self) -> bool

source

fn set_perfect_rtptime(&self, perfect_rtptime: bool)

source

fn pt(&self) -> u32

source

fn set_pt(&self, pt: u32)

source

fn ptime_multiple(&self) -> i64

source

fn set_ptime_multiple(&self, ptime_multiple: i64)

source

fn is_scale_rtptime(&self) -> bool

Available on crate feature v1_18 only.
source

fn set_scale_rtptime(&self, scale_rtptime: bool)

Available on crate feature v1_18 only.
source

fn seqnum(&self) -> u32

source

fn seqnum_offset(&self) -> i32

source

fn set_seqnum_offset(&self, seqnum_offset: i32)

source

fn is_source_info(&self) -> bool

Available on crate feature v1_16 only.
source

fn set_source_info(&self, source_info: bool)

Available on crate feature v1_16 only.
source

fn ssrc(&self) -> u32

source

fn set_ssrc(&self, ssrc: u32)

source

fn stats(&self) -> Option<Structure>

source

fn timestamp(&self) -> u32

source

fn timestamp_offset(&self) -> u32

source

fn set_timestamp_offset(&self, timestamp_offset: u32)

source

fn connect_add_extension<F: Fn(&Self, &RTPHeaderExtension) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

Available on crate feature v1_20 only.
source

fn emit_add_extension(&self, ext: &RTPHeaderExtension)

Available on crate feature v1_20 only.
source

fn connect_clear_extensions<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

Available on crate feature v1_20 only.
source

fn emit_clear_extensions(&self)

Available on crate feature v1_20 only.
source

fn connect_request_extension<F: Fn(&Self, u32, &str) -> Option<RTPHeaderExtension> + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

Available on crate feature v1_20 only.
source

fn connect_auto_header_extension_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

Available on crate feature v1_20 only.
source

fn connect_max_ptime_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_min_ptime_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_mtu_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_onvif_no_rate_control_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

Available on crate feature v1_16 only.
source

fn connect_perfect_rtptime_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_pt_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_ptime_multiple_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_scale_rtptime_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

Available on crate feature v1_18 only.
source

fn connect_seqnum_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_seqnum_offset_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_source_info_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

Available on crate feature v1_16 only.
source

fn connect_ssrc_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_stats_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_timestamp_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_timestamp_offset_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§