Trait gstreamer_rtsp_server::subclass::prelude::RTSPServerImpl
source · pub trait RTSPServerImpl:
RTSPServerImplExt
+ ObjectImpl
+ Send
+ Sync {
// Provided methods
fn create_client(&self) -> Option<RTSPClient> { ... }
fn client_connected(&self, client: &RTSPClient) { ... }
}
Provided Methods§
sourcefn create_client(&self) -> Option<RTSPClient>
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.
sourcefn client_connected(&self, client: &RTSPClient)
fn client_connected(&self, client: &RTSPClient)
emitted when a new client connected.
Object Safety§
This trait is not object safe.