gstreamer_rtsp_server::prelude

Trait RTSPSessionExtManual

Source
pub trait RTSPSessionExtManual: IsA<RTSPSession> + 'static {
    // Provided method
    fn media(&self, path: &str) -> (Option<RTSPSessionMedia>, i32) { ... }
}

Provided Methods§

Source

fn media(&self, path: &str) -> (Option<RTSPSessionMedia>, i32)

Gets the session media for path. matched will contain the number of matched characters of path.

§path

the path for the media

§Returns

the configuration for path in self.

§matched

the amount of matched characters

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§