[][src]Trait gstreamer_rtsp_server::RTSPSessionExt

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

Required methods

pub fn allow_expire(&self)[src]

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

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]

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]

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

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

Loading content...

Implementors

impl<O: IsA<RTSPSession>> RTSPSessionExt for O[src]

Loading content...