[][src]Trait gstreamer_rtsp_server::RTSPServerExt

pub trait RTSPServerExt: 'static {
    pub fn client_filter(
        &self,
        func: Option<&mut dyn FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult>
    ) -> Vec<RTSPClient>;
pub fn create_socket<P: IsA<Cancellable>>(
        &self,
        cancellable: Option<&P>
    ) -> Result<Socket, Error>;
pub fn create_source<P: IsA<Cancellable>>(
        &self,
        cancellable: Option<&P>
    ) -> Result<Source, Error>;
pub fn get_address(&self) -> Option<GString>;
pub fn get_auth(&self) -> Option<RTSPAuth>;
pub fn get_backlog(&self) -> i32;
pub fn get_bound_port(&self) -> i32;
pub fn get_content_length_limit(&self) -> u32;
pub fn get_mount_points(&self) -> Option<RTSPMountPoints>;
pub fn get_service(&self) -> Option<GString>;
pub fn get_session_pool(&self) -> Option<RTSPSessionPool>;
pub fn get_thread_pool(&self) -> Option<RTSPThreadPool>;
pub fn set_address(&self, address: &str);
pub fn set_auth<P: IsA<RTSPAuth>>(&self, auth: Option<&P>);
pub fn set_backlog(&self, backlog: i32);
pub fn set_content_length_limit(&self, limit: u32);
pub fn set_mount_points<P: IsA<RTSPMountPoints>>(&self, mounts: Option<&P>);
pub fn set_service(&self, service: &str);
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 transfer_connection<P: IsA<Socket>>(
        &self,
        socket: &P,
        ip: &str,
        port: i32,
        initial_buffer: Option<&str>
    ) -> Result<(), BoolError>;
pub fn get_property_content_length_limit(&self) -> u32;
pub fn set_property_content_length_limit(&self, content_length_limit: u32);
pub fn connect_client_connected<F: Fn(&Self, &RTSPClient) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_address_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_backlog_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_bound_port_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_content_length_limit_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_service_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 client_filter(
    &self,
    func: Option<&mut dyn FnMut(&RTSPServer, &RTSPClient) -> RTSPFilterResult>
) -> Vec<RTSPClient>
[src]

pub fn create_socket<P: IsA<Cancellable>>(
    &self,
    cancellable: Option<&P>
) -> Result<Socket, Error>
[src]

pub fn create_source<P: IsA<Cancellable>>(
    &self,
    cancellable: Option<&P>
) -> Result<Source, Error>
[src]

pub fn get_address(&self) -> Option<GString>[src]

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

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

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

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

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

pub fn get_service(&self) -> Option<GString>[src]

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

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

pub fn set_address(&self, address: &str)[src]

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

pub fn set_backlog(&self, backlog: i32)[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_service(&self, service: &str)[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 transfer_connection<P: IsA<Socket>>(
    &self,
    socket: &P,
    ip: &str,
    port: i32,
    initial_buffer: Option<&str>
) -> Result<(), BoolError>
[src]

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

pub fn set_property_content_length_limit(&self, content_length_limit: u32)[src]

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

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

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

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

pub fn connect_property_content_length_limit_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_service_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<RTSPServer>> RTSPServerExt for O[src]

Loading content...