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

pub trait RTSPMediaFactoryURIExt: 'static {
    fn uri(&self) -> Option<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; }

Trait containing all RTSPMediaFactoryURI methods.

Implementors

crate::RTSPMediaFactoryURI

Required methods

fn uri(&self) -> Option<GString>[src]

Get the URI that will provide media for this factory.

Returns

the configured URI. g_free() after usage.

fn set_uri(&self, uri: &str)[src]

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

uri

the uri the stream

fn uses_gstpay(&self) -> bool[src]

fn set_use_gstpay(&self, use_gstpay: bool)[src]

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

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

Loading content...

Implementors

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

fn uri(&self) -> Option<GString>[src]

fn set_uri(&self, uri: &str)[src]

fn uses_gstpay(&self) -> bool[src]

fn set_use_gstpay(&self, use_gstpay: bool)[src]

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

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

Loading content...