Trait gstreamer_rtsp_server::prelude::RTSPStreamTransportExt[][src]

pub trait RTSPStreamTransportExt: 'static {
Show methods fn rtpinfo(
        &self,
        start_time: impl Into<Option<ClockTime>>
    ) -> Option<GString>;
fn stream(&self) -> Option<RTSPStream>;
fn url(&self) -> Option<RTSPUrl>;
fn is_timed_out(&self) -> bool;
fn keep_alive(&self);
fn message_sent(&self);
fn recv_data(
        &self,
        channel: u32,
        buffer: &Buffer
    ) -> Result<FlowSuccess, FlowError>;
fn send_rtcp(&self, buffer: &Buffer) -> Result<(), BoolError>;
fn send_rtp(&self, buffer: &Buffer) -> Result<(), BoolError>;
fn set_active(&self, active: bool) -> Result<(), BoolError>;
fn set_keepalive<P: Fn() + 'static>(&self, keep_alive: P);
fn set_message_sent<P: Fn() + 'static>(&self, message_sent: P);
fn set_message_sent_full<P: Fn(&RTSPStreamTransport) + 'static>(
        &self,
        message_sent: P
    );
fn set_timed_out(&self, timedout: bool);
fn set_url(&self, url: Option<&RTSPUrl>);
}
Expand description

Required methods

Get the RTP-Info string for self and start_time.

start_time

a star time

Returns

the RTPInfo string for self and start_time or None when the RTP-Info could not be determined. g_free() after usage.

This is supported on crate feature v1_16 only.
This is supported on crate feature v1_18 only.

Implementors

This is supported on crate feature v1_16 only.
This is supported on crate feature v1_18 only.