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§
sourcefn set_outcaps(&self, s: Option<&StructureRef>) -> Result<(), BoolError>
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.
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
Object Safety§
This trait is not object safe.