Trait gstreamer_rtsp_server::subclass::prelude::RTSPMediaImpl[][src]

pub trait RTSPMediaImpl: RTSPMediaImplExt + ObjectImpl + Send + Sync {
Show methods fn handle_message(&self, media: &Self::Type, message: &MessageRef) -> bool { ... }
fn prepare(
        &self,
        media: &Self::Type,
        thread: &RTSPThread
    ) -> Result<(), LoggableError> { ... }
fn unprepare(&self, media: &Self::Type) -> Result<(), LoggableError> { ... }
fn suspend(&self, media: &Self::Type) -> Result<(), LoggableError> { ... }
fn unsuspend(&self, media: &Self::Type) -> Result<(), LoggableError> { ... }
fn query_position(&self, media: &Self::Type) -> Option<ClockTime> { ... }
fn query_stop(&self, media: &Self::Type) -> Option<ClockTime> { ... }
fn create_rtpbin(&self, media: &Self::Type) -> Option<Element> { ... }
fn setup_rtpbin(
        &self,
        media: &Self::Type,
        rtpbin: &Element
    ) -> Result<(), LoggableError> { ... }
fn setup_sdp(
        &self,
        media: &Self::Type,
        sdp: &mut SDPMessageRef,
        info: &SDPInfo
    ) -> Result<(), LoggableError> { ... }
fn new_stream(&self, media: &Self::Type, stream: &RTSPStream) { ... }
fn removed_stream(&self, media: &Self::Type, stream: &RTSPStream) { ... }
fn prepared(&self, media: &Self::Type) { ... }
fn unprepared(&self, media: &Self::Type) { ... }
fn target_state(&self, media: &Self::Type, state: State) { ... }
fn new_state(&self, media: &Self::Type, state: State) { ... }
fn handle_sdp(
        &self,
        media: &Self::Type,
        sdp: &SDPMessageRef
    ) -> Result<(), LoggableError> { ... }
}

Provided methods

fn handle_message(&self, media: &Self::Type, message: &MessageRef) -> bool[src]

fn prepare(
    &self,
    media: &Self::Type,
    thread: &RTSPThread
) -> Result<(), LoggableError>
[src]

fn unprepare(&self, media: &Self::Type) -> Result<(), LoggableError>[src]

fn suspend(&self, media: &Self::Type) -> Result<(), LoggableError>[src]

fn unsuspend(&self, media: &Self::Type) -> Result<(), LoggableError>[src]

fn query_position(&self, media: &Self::Type) -> Option<ClockTime>[src]

fn query_stop(&self, media: &Self::Type) -> Option<ClockTime>[src]

fn create_rtpbin(&self, media: &Self::Type) -> Option<Element>[src]

fn setup_rtpbin(
    &self,
    media: &Self::Type,
    rtpbin: &Element
) -> Result<(), LoggableError>
[src]

fn setup_sdp(
    &self,
    media: &Self::Type,
    sdp: &mut SDPMessageRef,
    info: &SDPInfo
) -> Result<(), LoggableError>
[src]

fn new_stream(&self, media: &Self::Type, stream: &RTSPStream)[src]

fn removed_stream(&self, media: &Self::Type, stream: &RTSPStream)[src]

fn prepared(&self, media: &Self::Type)[src]

fn unprepared(&self, media: &Self::Type)[src]

fn target_state(&self, media: &Self::Type, state: State)[src]

fn new_state(&self, media: &Self::Type, state: State)[src]

fn handle_sdp(
    &self,
    media: &Self::Type,
    sdp: &SDPMessageRef
) -> Result<(), LoggableError>
[src]

Loading content...

Implementors

Loading content...