[−][src]Trait gstreamer_rtsp_server::RTSPSessionExt
Required methods
pub fn allow_expire(&self)
[src]
pub fn filter(
&self,
func: Option<&mut dyn FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult>
) -> Vec<RTSPSessionMedia>
[src]
&self,
func: Option<&mut dyn FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult>
) -> Vec<RTSPSessionMedia>
pub fn get_header(&self) -> Option<GString>
[src]
pub fn get_media(&self, path: &str) -> (Option<RTSPSessionMedia>, i32)
[src]
pub fn get_sessionid(&self) -> Option<GString>
[src]
pub fn get_timeout(&self) -> u32
[src]
pub fn is_expired_usec(&self, now: i64) -> bool
[src]
pub fn manage_media<P: IsA<RTSPMedia>>(
&self,
path: &str,
media: &P
) -> Result<RTSPSessionMedia, BoolError>
[src]
&self,
path: &str,
media: &P
) -> Result<RTSPSessionMedia, BoolError>
pub fn next_timeout_usec(&self, now: i64) -> i32
[src]
pub fn prevent_expire(&self)
[src]
pub fn release_media<P: IsA<RTSPSessionMedia>>(&self, media: &P) -> bool
[src]
pub fn set_timeout(&self, timeout: u32)
[src]
pub fn touch(&self)
[src]
pub fn get_property_extra_timeout(&self) -> u32
[src]
pub fn set_property_extra_timeout(&self, extra_timeout: u32)
[src]
pub fn get_property_timeout_always_visible(&self) -> bool
[src]
pub fn set_property_timeout_always_visible(&self, timeout_always_visible: bool)
[src]
pub fn connect_property_extra_timeout_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_timeout_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_timeout_always_visible_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<RTSPSession>> RTSPSessionExt for O
[src]
pub fn allow_expire(&self)
[src]
pub fn filter(
&self,
func: Option<&mut dyn FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult>
) -> Vec<RTSPSessionMedia>
[src]
&self,
func: Option<&mut dyn FnMut(&RTSPSession, &RTSPSessionMedia) -> RTSPFilterResult>
) -> Vec<RTSPSessionMedia>
pub fn get_header(&self) -> Option<GString>
[src]
pub fn get_media(&self, path: &str) -> (Option<RTSPSessionMedia>, i32)
[src]
pub fn get_sessionid(&self) -> Option<GString>
[src]
pub fn get_timeout(&self) -> u32
[src]
pub fn is_expired_usec(&self, now: i64) -> bool
[src]
pub fn manage_media<P: IsA<RTSPMedia>>(
&self,
path: &str,
media: &P
) -> Result<RTSPSessionMedia, BoolError>
[src]
&self,
path: &str,
media: &P
) -> Result<RTSPSessionMedia, BoolError>
pub fn next_timeout_usec(&self, now: i64) -> i32
[src]
pub fn prevent_expire(&self)
[src]
pub fn release_media<P: IsA<RTSPSessionMedia>>(&self, media: &P) -> bool
[src]
pub fn set_timeout(&self, timeout: u32)
[src]
pub fn touch(&self)
[src]
pub fn get_property_extra_timeout(&self) -> u32
[src]
pub fn set_property_extra_timeout(&self, extra_timeout: u32)
[src]
pub fn get_property_timeout_always_visible(&self) -> bool
[src]
pub fn set_property_timeout_always_visible(&self, timeout_always_visible: bool)
[src]
pub fn connect_property_extra_timeout_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_timeout_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
pub fn connect_property_timeout_always_visible_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId