[][src]Trait gstreamer_rtsp_server::prelude::RTSPMediaFactoryURIExt

pub trait RTSPMediaFactoryURIExt: 'static {
    fn get_uri(&self) -> Option<GString>;
fn set_uri(&self, uri: &str);
fn get_property_use_gstpay(&self) -> bool;
fn set_property_use_gstpay(&self, use_gstpay: bool);
fn connect_property_uri_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_use_gstpay_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all RTSPMediaFactoryURI methods.

Implementors

RTSPMediaFactoryURI

Required methods

fn get_uri(&self) -> Option<GString>

Get the URI that will provide media for this factory.

Returns

the configured URI. g_free after usage.

fn set_uri(&self, uri: &str)

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

uri

the uri the stream

fn get_property_use_gstpay(&self) -> bool

fn set_property_use_gstpay(&self, use_gstpay: bool)

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

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

Loading content...

Implementors

impl<O: IsA<RTSPMediaFactoryURI>> RTSPMediaFactoryURIExt for O[src]

Loading content...