Trait gstreamer_rtp::prelude::RTPHeaderExtensionExt
source · [−]pub trait RTPHeaderExtensionExt: 'static {
fn direction(&self) -> RTPHeaderExtensionDirection;
fn id(&self) -> u32;
fn max_size(&self, input_meta: &Buffer) -> usize;
fn sdp_caps_field_name(&self) -> GString;
fn supported_flags(&self) -> RTPHeaderExtensionFlags;
fn uri(&self) -> Option<GString>;
fn set_attributes_from_caps(&self, caps: &Caps) -> bool;
fn set_direction(&self, direction: RTPHeaderExtensionDirection);
fn set_id(&self, ext_id: u32);
fn set_non_rtp_sink_caps(&self, caps: &Caps) -> bool;
fn set_wants_update_non_rtp_src_caps(&self, state: bool);
fn wants_update_non_rtp_src_caps(&self) -> bool;
}
Required methods
fn direction(&self) -> RTPHeaderExtensionDirection
fn sdp_caps_field_name(&self) -> GString
fn supported_flags(&self) -> RTPHeaderExtensionFlags
fn set_attributes_from_caps(&self, caps: &Caps) -> bool
fn set_direction(&self, direction: RTPHeaderExtensionDirection)
fn set_non_rtp_sink_caps(&self, caps: &Caps) -> bool
fn set_wants_update_non_rtp_src_caps(&self, state: bool)
fn wants_update_non_rtp_src_caps(&self) -> bool
Implementors
impl<O: IsA<RTPHeaderExtension>> RTPHeaderExtensionExt for O
This is supported on crate feature
v1_20
only.