pub trait RTSPOnvifMediaExt: IsA<RTSPOnvifMedia> + 'static {
// Provided methods
fn collect_backchannel(&self) -> bool { ... }
fn backchannel_bandwidth(&self) -> u32 { ... }
fn set_backchannel_bandwidth(&self, bandwidth: u32) { ... }
}
Expand description
Provided Methods§
Sourcefn collect_backchannel(&self) -> bool
fn collect_backchannel(&self) -> bool
Find the ONVIF backchannel depayloader element. It should be named ‘depay_backchannel’, be placed in a bin called ‘onvif-backchannel’ and return all supported RTP caps on a caps query. Complete RTP caps with at least the payload type, clock-rate and encoding-name are required.
A new RTSPStream
is created for the backchannel if found.
§Returns
true
if a backchannel stream could be found and created
Sourcefn backchannel_bandwidth(&self) -> u32
fn backchannel_bandwidth(&self) -> u32
Get the configured/supported bandwidth of the ONVIF backchannel pipeline in bits per second.
§Returns
the configured/supported backchannel bandwidth.
Sourcefn set_backchannel_bandwidth(&self, bandwidth: u32)
fn set_backchannel_bandwidth(&self, bandwidth: u32)
Set the configured/supported bandwidth of the ONVIF backchannel pipeline in bits per second.
§bandwidth
the bandwidth in bits per second
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.