[][src]Trait gstreamer_rtsp_server::RTSPClientExt

pub trait RTSPClientExt: 'static {
    pub fn close(&self);
pub fn get_auth(&self) -> Option<RTSPAuth>;
pub fn get_content_length_limit(&self) -> u32;
pub fn get_mount_points(&self) -> Option<RTSPMountPoints>;
pub fn get_session_pool(&self) -> Option<RTSPSessionPool>;
pub fn get_stream_transport(
        &self,
        channel: u8
    ) -> Option<RTSPStreamTransport>;
pub fn get_thread_pool(&self) -> Option<RTSPThreadPool>;
pub fn session_filter(
        &self,
        func: Option<&mut dyn FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult>
    ) -> Vec<RTSPSession>;
pub fn set_auth<P: IsA<RTSPAuth>>(&self, auth: Option<&P>);
pub fn set_content_length_limit(&self, limit: u32);
pub fn set_mount_points<P: IsA<RTSPMountPoints>>(&self, mounts: Option<&P>);
pub fn set_session_pool<P: IsA<RTSPSessionPool>>(&self, pool: Option<&P>);
pub fn set_thread_pool<P: IsA<RTSPThreadPool>>(&self, pool: Option<&P>);
pub fn get_property_drop_backlog(&self) -> bool;
pub fn set_property_drop_backlog(&self, drop_backlog: bool);
pub fn get_property_post_session_timeout(&self) -> i32;
pub fn set_property_post_session_timeout(&self, post_session_timeout: i32);
pub fn connect_announce_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_closed<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_describe_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_get_parameter_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_handle_response<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_new_session<F: Fn(&Self, &RTSPSession) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_options_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_pause_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_play_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_pre_announce_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_pre_describe_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_pre_get_parameter_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_pre_options_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_pre_pause_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_pre_play_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_pre_record_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_pre_set_parameter_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_pre_setup_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_pre_teardown_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_record_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_set_parameter_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_setup_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_teardown_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_drop_backlog_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_mount_points_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_post_session_timeout_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_session_pool_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

pub fn close(&self)[src]

pub fn get_auth(&self) -> Option<RTSPAuth>[src]

pub fn get_content_length_limit(&self) -> u32[src]

pub fn get_mount_points(&self) -> Option<RTSPMountPoints>[src]

pub fn get_session_pool(&self) -> Option<RTSPSessionPool>[src]

pub fn get_stream_transport(&self, channel: u8) -> Option<RTSPStreamTransport>[src]

pub fn get_thread_pool(&self) -> Option<RTSPThreadPool>[src]

pub fn session_filter(
    &self,
    func: Option<&mut dyn FnMut(&RTSPClient, &RTSPSession) -> RTSPFilterResult>
) -> Vec<RTSPSession>
[src]

pub fn set_auth<P: IsA<RTSPAuth>>(&self, auth: Option<&P>)[src]

pub fn set_content_length_limit(&self, limit: u32)[src]

pub fn set_mount_points<P: IsA<RTSPMountPoints>>(&self, mounts: Option<&P>)[src]

pub fn set_session_pool<P: IsA<RTSPSessionPool>>(&self, pool: Option<&P>)[src]

pub fn set_thread_pool<P: IsA<RTSPThreadPool>>(&self, pool: Option<&P>)[src]

pub fn get_property_drop_backlog(&self) -> bool[src]

pub fn set_property_drop_backlog(&self, drop_backlog: bool)[src]

pub fn get_property_post_session_timeout(&self) -> i32[src]

pub fn set_property_post_session_timeout(&self, post_session_timeout: i32)[src]

pub fn connect_announce_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_closed<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_describe_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_get_parameter_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_handle_response<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_new_session<F: Fn(&Self, &RTSPSession) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_options_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_pause_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_play_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_pre_announce_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_pre_describe_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_pre_get_parameter_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_pre_options_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_pre_pause_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_pre_play_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_pre_record_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_pre_set_parameter_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_pre_setup_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_pre_teardown_request<F: Fn(&Self, &RTSPContext) -> RTSPStatusCode + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_record_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_set_parameter_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_setup_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_teardown_request<F: Fn(&Self, &RTSPContext) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_drop_backlog_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_mount_points_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_post_session_timeout_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_session_pool_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<RTSPClient>> RTSPClientExt for O[src]

Loading content...