Trait gstreamer_rtp::subclass::prelude::RTPBasePayloadImpl
source · pub trait RTPBasePayloadImpl: RTPBasePayloadImplExt + ElementImpl {
// Provided methods
fn caps(&self, pad: &Pad, filter: Option<&Caps>) -> Caps { ... }
fn set_caps(&self, caps: &Caps) -> Result<(), LoggableError> { ... }
fn handle_buffer(&self, buffer: Buffer) -> Result<FlowSuccess, FlowError> { ... }
fn query(&self, pad: &Pad, query: &mut QueryRef) -> bool { ... }
fn sink_event(&self, event: Event) -> bool { ... }
fn src_event(&self, event: Event) -> bool { ... }
}
Provided Methods§
sourcefn handle_buffer(&self, buffer: Buffer) -> Result<FlowSuccess, FlowError>
fn handle_buffer(&self, buffer: Buffer) -> Result<FlowSuccess, FlowError>
process data
sourcefn sink_event(&self, event: Event) -> bool
fn sink_event(&self, event: Event) -> bool
custom event handling on the sinkpad
Object Safety§
This trait is not object safe.