pub trait RTPBasePayloadExtManual: Sealed + IsA<RTPBasePayload> + 'static {
    // Provided methods
    fn set_outcaps(&self, s: Option<&StructureRef>) -> Result<(), BoolError> { ... }
    fn extensions(&self) -> Vec<RTPHeaderExtension> { ... }
    fn connect_extensions_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn sink_pad(&self) -> &Pad { ... }
    fn src_pad(&self) -> &Pad { ... }
}

Provided Methods§

source

fn set_outcaps(&self, s: Option<&StructureRef>) -> Result<(), BoolError>

Configure the output caps with the optional fields.

§s

a gst::Structure with the caps fields

§Returns

true if the caps could be set.

source

fn extensions(&self) -> Vec<RTPHeaderExtension>

source

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

source

fn sink_pad(&self) -> &Pad

source

fn src_pad(&self) -> &Pad

Object Safety§

This trait is not object safe.

Implementors§