[−][src]Trait gstreamer_rtsp_server::RTSPSessionPoolExt
Required methods
pub fn cleanup(&self) -> u32
[src]
pub fn create(&self) -> Result<RTSPSession, BoolError>
[src]
pub fn filter(
&self,
func: Option<&mut dyn FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult>
) -> Vec<RTSPSession>
[src]
&self,
func: Option<&mut dyn FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult>
) -> Vec<RTSPSession>
pub fn find(&self, sessionid: &str) -> Option<RTSPSession>
[src]
pub fn get_max_sessions(&self) -> u32
[src]
pub fn get_n_sessions(&self) -> u32
[src]
pub fn remove<P: IsA<RTSPSession>>(&self, sess: &P) -> Result<(), BoolError>
[src]
pub fn set_max_sessions(&self, max: u32)
[src]
pub fn connect_session_removed<F: Fn(&Self, &RTSPSession) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_max_sessions_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<RTSPSessionPool>> RTSPSessionPoolExt for O
[src]
pub fn cleanup(&self) -> u32
[src]
pub fn create(&self) -> Result<RTSPSession, BoolError>
[src]
pub fn filter(
&self,
func: Option<&mut dyn FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult>
) -> Vec<RTSPSession>
[src]
&self,
func: Option<&mut dyn FnMut(&RTSPSessionPool, &RTSPSession) -> RTSPFilterResult>
) -> Vec<RTSPSession>
pub fn find(&self, sessionid: &str) -> Option<RTSPSession>
[src]
pub fn get_max_sessions(&self) -> u32
[src]
pub fn get_n_sessions(&self) -> u32
[src]
pub fn remove<P: IsA<RTSPSession>>(&self, sess: &P) -> Result<(), BoolError>
[src]
pub fn set_max_sessions(&self, max: u32)
[src]
pub fn connect_session_removed<F: Fn(&Self, &RTSPSession) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_max_sessions_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId