pub trait RTSPClientExtManual:
Sealed
+ IsA<RTSPClient>
+ 'static {
// Provided methods
fn attach(&self, context: Option<&MainContext>) -> SourceId { ... }
fn send_message(
&self,
message: &RTSPMessage,
session: Option<&RTSPSession>,
) -> RTSPResult { ... }
}
Provided Methods§
sourcefn attach(&self, context: Option<&MainContext>) -> SourceId
fn attach(&self, context: Option<&MainContext>) -> SourceId
Attaches self
to context
. When the mainloop for context
is run, the
client will be dispatched. When context
is None
, the default context will be
used).
This function should be called when the client properties and urls are fully configured and the client is ready to start.
§context
§Returns
the ID (greater than 0) for the source within the GMainContext.
fn send_message( &self, message: &RTSPMessage, session: Option<&RTSPSession>, ) -> RTSPResult
Object Safety§
This trait is not object safe.