Trait gstreamer_rtsp_server::prelude::RTSPMountPointsExt [−][src]
pub trait RTSPMountPointsExt: 'static { fn add_factory<P: IsA<RTSPMediaFactory>>(&self, path: &str, factory: &P); fn make_path(&self, url: &RTSPUrl) -> Result<GString, BoolError>; fn match_(&self, path: &str) -> (RTSPMediaFactory, i32); fn remove_factory(&self, path: &str); }
Expand description
Required methods
fn add_factory<P: IsA<RTSPMediaFactory>>(&self, path: &str, factory: &P)
[src]
fn add_factory<P: IsA<RTSPMediaFactory>>(&self, path: &str, factory: &P)
[src]Attach factory
to the mount point path
in self
.
path
is either of the form (/node)+ or the root path ‘/’. (An empty path is
not allowed.) Any previous mount point will be freed.
Ownership is taken of the reference on factory
so that factory
should not be
used after calling this function.
path
a mount point
factory
fn remove_factory(&self, path: &str)
[src]
fn remove_factory(&self, path: &str)
[src]