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§

source

fn caps(&self, pad: &Pad, filter: Option<&Caps>) -> Caps

get desired caps

source

fn set_caps(&self, caps: &Caps) -> Result<(), LoggableError>

configure the payloader

source

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

process data

source

fn query(&self, pad: &Pad, query: &mut QueryRef) -> bool

custom query handling

source

fn sink_event(&self, event: Event) -> bool

custom event handling on the sinkpad

source

fn src_event(&self, event: Event) -> bool

custom event handling on the srcpad

Object Safety§

This trait is not object safe.

Implementors§