[][src]Trait gstreamer_rtsp_server::RTSPMediaExt

pub trait RTSPMediaExt: 'static {
    pub fn collect_streams(&self);
pub fn create_stream<P: IsA<Element>, Q: IsA<Pad>>(
        &self,
        payloader: &P,
        pad: &Q
    ) -> Option<RTSPStream>;
pub fn find_stream(&self, control: &str) -> Option<RTSPStream>;
pub fn get_address_pool(&self) -> Option<RTSPAddressPool>;
pub fn get_base_time(&self) -> ClockTime;
pub fn get_buffer_size(&self) -> u32;
pub fn get_clock(&self) -> Option<Clock>;
pub fn get_do_retransmission(&self) -> bool;
pub fn get_dscp_qos(&self) -> i32;
pub fn get_element(&self) -> Option<Element>;
pub fn get_latency(&self) -> u32;
pub fn get_max_mcast_ttl(&self) -> u32;
pub fn get_multicast_iface(&self) -> Option<GString>;
pub fn get_profiles(&self) -> RTSPProfile;
pub fn get_protocols(&self) -> RTSPLowerTrans;
pub fn get_publish_clock_mode(&self) -> RTSPPublishClockMode;
pub fn get_range_string(
        &self,
        play: bool,
        unit: RTSPRangeUnit
    ) -> Option<GString>;
pub fn get_rate_control(&self) -> bool;
pub fn get_rates(&self) -> Option<(f64, f64)>;
pub fn get_retransmission_time(&self) -> ClockTime;
pub fn get_status(&self) -> RTSPMediaStatus;
pub fn get_stream(&self, idx: u32) -> Option<RTSPStream>;
pub fn get_suspend_mode(&self) -> RTSPSuspendMode;
pub fn get_transport_mode(&self) -> RTSPTransportMode;
pub fn has_completed_sender(&self) -> bool;
pub fn is_bind_mcast_address(&self) -> bool;
pub fn is_eos_shutdown(&self) -> bool;
pub fn is_receive_only(&self) -> bool;
pub fn is_reusable(&self) -> bool;
pub fn is_shared(&self) -> bool;
pub fn is_stop_on_disconnect(&self) -> bool;
pub fn is_time_provider(&self) -> bool;
pub fn lock(&self);
pub fn n_streams(&self) -> u32;
pub fn prepare(&self, thread: Option<&RTSPThread>) -> Result<(), BoolError>;
pub fn set_address_pool<P: IsA<RTSPAddressPool>>(&self, pool: Option<&P>);
pub fn set_bind_mcast_address(&self, bind_mcast_addr: bool);
pub fn set_buffer_size(&self, size: u32);
pub fn set_clock<P: IsA<Clock>>(&self, clock: Option<&P>);
pub fn set_do_retransmission(&self, do_retransmission: bool);
pub fn set_dscp_qos(&self, dscp_qos: i32);
pub fn set_eos_shutdown(&self, eos_shutdown: bool);
pub fn set_latency(&self, latency: u32);
pub fn set_max_mcast_ttl(&self, ttl: u32) -> bool;
pub fn set_multicast_iface(&self, multicast_iface: Option<&str>);
pub fn set_pipeline_state(&self, state: State);
pub fn set_profiles(&self, profiles: RTSPProfile);
pub fn set_protocols(&self, protocols: RTSPLowerTrans);
pub fn set_publish_clock_mode(&self, mode: RTSPPublishClockMode);
pub fn set_rate_control(&self, enabled: bool);
pub fn set_retransmission_time(&self, time: ClockTime);
pub fn set_reusable(&self, reusable: bool);
pub fn set_shared(&self, shared: bool);
pub fn set_state(
        &self,
        state: State,
        transports: &[RTSPStreamTransport]
    ) -> bool;
pub fn set_stop_on_disconnect(&self, stop_on_disconnect: bool);
pub fn set_suspend_mode(&self, mode: RTSPSuspendMode);
pub fn set_transport_mode(&self, mode: RTSPTransportMode);
pub fn suspend(&self) -> Result<(), BoolError>;
pub fn unlock(&self);
pub fn unprepare(&self) -> Result<(), BoolError>;
pub fn unsuspend(&self) -> Result<(), BoolError>;
pub fn use_time_provider(&self, time_provider: bool);
pub fn get_property_bind_mcast_address(&self) -> bool;
pub fn set_property_bind_mcast_address(&self, bind_mcast_address: bool);
pub fn get_property_dscp_qos(&self) -> i32;
pub fn set_property_dscp_qos(&self, dscp_qos: i32);
pub fn get_property_eos_shutdown(&self) -> bool;
pub fn get_property_max_mcast_ttl(&self) -> u32;
pub fn set_property_max_mcast_ttl(&self, max_mcast_ttl: u32);
pub fn get_property_reusable(&self) -> bool;
pub fn get_property_shared(&self) -> bool;
pub fn get_property_stop_on_disconnect(&self) -> bool;
pub fn set_property_time_provider(&self, time_provider: bool);
pub fn connect_new_state<F: Fn(&Self, i32) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_new_stream<F: Fn(&Self, &RTSPStream) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_prepared<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_removed_stream<F: Fn(&Self, &RTSPStream) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_target_state<F: Fn(&Self, i32) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_unprepared<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_bind_mcast_address_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_buffer_size_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_clock_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_dscp_qos_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_eos_shutdown_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_latency_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_max_mcast_ttl_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_profiles_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_protocols_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_reusable_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_shared_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_stop_on_disconnect_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_suspend_mode_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_time_provider_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_transport_mode_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

pub fn collect_streams(&self)[src]

pub fn create_stream<P: IsA<Element>, Q: IsA<Pad>>(
    &self,
    payloader: &P,
    pad: &Q
) -> Option<RTSPStream>
[src]

pub fn find_stream(&self, control: &str) -> Option<RTSPStream>[src]

pub fn get_address_pool(&self) -> Option<RTSPAddressPool>[src]

pub fn get_base_time(&self) -> ClockTime[src]

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

pub fn get_clock(&self) -> Option<Clock>[src]

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

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

pub fn get_element(&self) -> Option<Element>[src]

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

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

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

pub fn get_profiles(&self) -> RTSPProfile[src]

pub fn get_protocols(&self) -> RTSPLowerTrans[src]

pub fn get_publish_clock_mode(&self) -> RTSPPublishClockMode[src]

pub fn get_range_string(
    &self,
    play: bool,
    unit: RTSPRangeUnit
) -> Option<GString>
[src]

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

pub fn get_rates(&self) -> Option<(f64, f64)>[src]

pub fn get_retransmission_time(&self) -> ClockTime[src]

pub fn get_status(&self) -> RTSPMediaStatus[src]

pub fn get_stream(&self, idx: u32) -> Option<RTSPStream>[src]

pub fn get_suspend_mode(&self) -> RTSPSuspendMode[src]

pub fn get_transport_mode(&self) -> RTSPTransportMode[src]

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

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

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

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

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

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

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

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

pub fn lock(&self)[src]

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

pub fn prepare(&self, thread: Option<&RTSPThread>) -> Result<(), BoolError>[src]

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

pub fn set_bind_mcast_address(&self, bind_mcast_addr: bool)[src]

pub fn set_buffer_size(&self, size: u32)[src]

pub fn set_clock<P: IsA<Clock>>(&self, clock: Option<&P>)[src]

pub fn set_do_retransmission(&self, do_retransmission: bool)[src]

pub fn set_dscp_qos(&self, dscp_qos: i32)[src]

pub fn set_eos_shutdown(&self, eos_shutdown: bool)[src]

pub fn set_latency(&self, latency: u32)[src]

pub fn set_max_mcast_ttl(&self, ttl: u32) -> bool[src]

pub fn set_multicast_iface(&self, multicast_iface: Option<&str>)[src]

pub fn set_pipeline_state(&self, state: State)[src]

pub fn set_profiles(&self, profiles: RTSPProfile)[src]

pub fn set_protocols(&self, protocols: RTSPLowerTrans)[src]

pub fn set_publish_clock_mode(&self, mode: RTSPPublishClockMode)[src]

pub fn set_rate_control(&self, enabled: bool)[src]

pub fn set_retransmission_time(&self, time: ClockTime)[src]

pub fn set_reusable(&self, reusable: bool)[src]

pub fn set_shared(&self, shared: bool)[src]

pub fn set_state(
    &self,
    state: State,
    transports: &[RTSPStreamTransport]
) -> bool
[src]

pub fn set_stop_on_disconnect(&self, stop_on_disconnect: bool)[src]

pub fn set_suspend_mode(&self, mode: RTSPSuspendMode)[src]

pub fn set_transport_mode(&self, mode: RTSPTransportMode)[src]

pub fn suspend(&self) -> Result<(), BoolError>[src]

pub fn unlock(&self)[src]

pub fn unprepare(&self) -> Result<(), BoolError>[src]

pub fn unsuspend(&self) -> Result<(), BoolError>[src]

pub fn use_time_provider(&self, time_provider: bool)[src]

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

pub fn set_property_bind_mcast_address(&self, bind_mcast_address: bool)[src]

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

pub fn set_property_dscp_qos(&self, dscp_qos: i32)[src]

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

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

pub fn set_property_max_mcast_ttl(&self, max_mcast_ttl: u32)[src]

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

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

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

pub fn set_property_time_provider(&self, time_provider: bool)[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

impl<O: IsA<RTSPMedia>> RTSPMediaExt for O[src]

Loading content...