gstreamer_rtsp_server::prelude

Trait RTSPMediaFactoryURIExt

Source
pub trait RTSPMediaFactoryURIExt: IsA<RTSPMediaFactoryURI> + 'static {
    // Provided methods
    fn uri(&self) -> GString { ... }
    fn set_uri(&self, uri: &str) { ... }
    fn uses_gstpay(&self) -> bool { ... }
    fn set_use_gstpay(&self, use_gstpay: bool) { ... }
    fn connect_uri_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_use_gstpay_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all RTSPMediaFactoryURI methods.

§Implementors

RTSPMediaFactoryURI

Provided Methods§

Source

fn uri(&self) -> GString

Get the URI that will provide media for this factory.

§Returns

the configured URI. g_free() after usage.

Source

fn set_uri(&self, uri: &str)

Set the URI of the resource that will be streamed by this factory.

§uri

the uri the stream

Source

fn uses_gstpay(&self) -> bool

Source

fn set_use_gstpay(&self, use_gstpay: bool)

Source

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

Source

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

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.

Implementors§