pub trait RTSPClientImpl:
    RTSPClientImplExt
    + ObjectImpl
    + Send
    + Sync {
Show 31 methods // Provided methods fn create_sdp(&self, media: &RTSPMedia) -> Option<SDPMessage> { ... } fn configure_client_media( &self, media: &RTSPMedia, stream: &RTSPStream, ctx: &RTSPContext, ) -> Result<(), LoggableError> { ... } fn params_set(&self, ctx: &RTSPContext) -> RTSPResult { ... } fn params_get(&self, ctx: &RTSPContext) -> RTSPResult { ... } fn make_path_from_uri(&self, url: &RTSPUrl) -> Option<GString> { ... } fn closed(&self) { ... } fn new_session(&self, session: &RTSPSession) { ... } fn options_request(&self, ctx: &RTSPContext) { ... } fn describe_request(&self, ctx: &RTSPContext) { ... } fn setup_request(&self, ctx: &RTSPContext) { ... } fn play_request(&self, ctx: &RTSPContext) { ... } fn pause_request(&self, ctx: &RTSPContext) { ... } fn teardown_request(&self, ctx: &RTSPContext) { ... } fn set_parameter_request(&self, ctx: &RTSPContext) { ... } fn parameter_request(&self, ctx: &RTSPContext) { ... } fn announce_request(&self, ctx: &RTSPContext) { ... } fn record_request(&self, ctx: &RTSPContext) { ... } fn handle_response(&self, ctx: &RTSPContext) { ... } fn handle_sdp( &self, ctx: &RTSPContext, media: &RTSPMedia, sdp: &SDPMessageRef, ) -> Result<(), LoggableError> { ... } fn check_requirements( &self, ctx: &RTSPContext, arr: &[String], ) -> Option<GString> { ... } fn pre_options_request(&self, ctx: &RTSPContext) -> RTSPStatusCode { ... } fn pre_describe_request(&self, ctx: &RTSPContext) -> RTSPStatusCode { ... } fn pre_setup_request(&self, ctx: &RTSPContext) -> RTSPStatusCode { ... } fn pre_play_request(&self, ctx: &RTSPContext) -> RTSPStatusCode { ... } fn pre_pause_request(&self, ctx: &RTSPContext) -> RTSPStatusCode { ... } fn pre_teardown_request(&self, ctx: &RTSPContext) -> RTSPStatusCode { ... } fn pre_set_parameter_request(&self, ctx: &RTSPContext) -> RTSPStatusCode { ... } fn pre_get_parameter_request(&self, ctx: &RTSPContext) -> RTSPStatusCode { ... } fn pre_announce_request(&self, ctx: &RTSPContext) -> RTSPStatusCode { ... } fn pre_record_request(&self, ctx: &RTSPContext) -> RTSPStatusCode { ... } fn adjust_error_code( &self, ctx: &RTSPContext, status_code: RTSPStatusCode, ) -> RTSPStatusCode { ... }
}

Provided Methods§

source

fn create_sdp(&self, media: &RTSPMedia) -> Option<SDPMessage>

called when the SDP needs to be created for media.

source

fn configure_client_media( &self, media: &RTSPMedia, stream: &RTSPStream, ctx: &RTSPContext, ) -> Result<(), LoggableError>

called when the stream in media needs to be configured. The default implementation will configure the blocksize on the payloader when spcified in the request headers.

source

fn params_set(&self, ctx: &RTSPContext) -> RTSPResult

set parameters. This function should also initialize the RTSP response(ctx->response) via a call to gst_rtsp_message_init_response()

source

fn params_get(&self, ctx: &RTSPContext) -> RTSPResult

get parameters. This function should also initialize the RTSP response(ctx->response) via a call to gst_rtsp_message_init_response()

source

fn make_path_from_uri(&self, url: &RTSPUrl) -> Option<GString>

called to create path from uri.

source

fn closed(&self)

source

fn new_session(&self, session: &RTSPSession)

source

fn options_request(&self, ctx: &RTSPContext)

source

fn describe_request(&self, ctx: &RTSPContext)

source

fn setup_request(&self, ctx: &RTSPContext)

source

fn play_request(&self, ctx: &RTSPContext)

source

fn pause_request(&self, ctx: &RTSPContext)

source

fn teardown_request(&self, ctx: &RTSPContext)

source

fn set_parameter_request(&self, ctx: &RTSPContext)

source

fn parameter_request(&self, ctx: &RTSPContext)

source

fn announce_request(&self, ctx: &RTSPContext)

source

fn record_request(&self, ctx: &RTSPContext)

source

fn handle_response(&self, ctx: &RTSPContext)

source

fn handle_sdp( &self, ctx: &RTSPContext, media: &RTSPMedia, sdp: &SDPMessageRef, ) -> Result<(), LoggableError>

source

fn check_requirements( &self, ctx: &RTSPContext, arr: &[String], ) -> Option<GString>

source

fn pre_options_request(&self, ctx: &RTSPContext) -> RTSPStatusCode

source

fn pre_describe_request(&self, ctx: &RTSPContext) -> RTSPStatusCode

source

fn pre_setup_request(&self, ctx: &RTSPContext) -> RTSPStatusCode

source

fn pre_play_request(&self, ctx: &RTSPContext) -> RTSPStatusCode

source

fn pre_pause_request(&self, ctx: &RTSPContext) -> RTSPStatusCode

source

fn pre_teardown_request(&self, ctx: &RTSPContext) -> RTSPStatusCode

source

fn pre_set_parameter_request(&self, ctx: &RTSPContext) -> RTSPStatusCode

source

fn pre_get_parameter_request(&self, ctx: &RTSPContext) -> RTSPStatusCode

source

fn pre_announce_request(&self, ctx: &RTSPContext) -> RTSPStatusCode

source

fn pre_record_request(&self, ctx: &RTSPContext) -> RTSPStatusCode

source

fn adjust_error_code( &self, ctx: &RTSPContext, status_code: RTSPStatusCode, ) -> RTSPStatusCode

Called before sending error response to give the application the possibility to adjust the error code.

§ctx

a RTSPContext

§code

a gst_rtsp::RTSPStatusCode

§Returns

a gst_rtsp::RTSPStatusCode, containing the adjusted error code.

Object Safety§

This trait is not object safe.

Implementors§