gstreamer_rtsp_server::subclass::prelude

Trait RTSPServerImpl

Source
pub trait RTSPServerImpl:
    ObjectImpl
    + ObjectSubclass<Type: IsA<RTSPServer>>
    + Send
    + Sync {
    // Provided methods
    fn create_client(&self) -> Option<RTSPClient> { ... }
    fn client_connected(&self, client: &RTSPClient) { ... }
}

Provided Methods§

Source

fn create_client(&self) -> Option<RTSPClient>

Create, configure a new GstRTSPClient object that handles the new connection on socket. The default implementation will create a GstRTSPClient and will configure the mount-points, auth, session-pool and thread-pool on the client.

Source

fn client_connected(&self, client: &RTSPClient)

emitted when a new client connected.

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§