pub trait RTSPOnvifMediaExt:
    IsA<RTSPOnvifMedia>
    + Sealed
    + 'static {
    // Provided methods
    fn collect_backchannel(&self) -> bool { ... }
    fn backchannel_bandwidth(&self) -> u32 { ... }
    fn set_backchannel_bandwidth(&self, bandwidth: u32) { ... }
}
Expand description

Trait containing all RTSPOnvifMedia methods.

§Implementors

RTSPOnvifMedia

Provided Methods§

source

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

source

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.

source

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

Object Safety§

This trait is not object safe.

Implementors§