Trait RTPBase Payload Impl
Source pub trait RTPBasePayloadImpl: ElementImpl + ObjectSubclass<Type: IsA<RTPBasePayload>> {
// 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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".