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

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

Provided methods

fn handle_message(&self, media: &RTSPMedia, message: &MessageRef) -> bool

fn prepare(
    &self,
    media: &RTSPMedia,
    thread: &RTSPThread
) -> Result<(), LoggableError>

fn unprepare(&self, media: &RTSPMedia) -> Result<(), LoggableError>

fn suspend(&self, media: &RTSPMedia) -> Result<(), LoggableError>

fn unsuspend(&self, media: &RTSPMedia) -> Result<(), LoggableError>

fn query_position(&self, media: &RTSPMedia) -> Option<ClockTime>

fn query_stop(&self, media: &RTSPMedia) -> Option<ClockTime>

fn create_rtpbin(&self, media: &RTSPMedia) -> Option<Element>

fn setup_rtpbin(
    &self,
    media: &RTSPMedia,
    rtpbin: &Element
) -> Result<(), LoggableError>

fn setup_sdp(
    &self,
    media: &RTSPMedia,
    sdp: &mut SDPMessageRef,
    info: &SDPInfo
) -> Result<(), LoggableError>

fn new_stream(&self, media: &RTSPMedia, stream: &RTSPStream)

fn removed_stream(&self, media: &RTSPMedia, stream: &RTSPStream)

fn prepared(&self, media: &RTSPMedia)

fn unprepared(&self, media: &RTSPMedia)

fn target_state(&self, media: &RTSPMedia, state: State)

fn new_state(&self, media: &RTSPMedia, state: State)

fn handle_sdp(
    &self,
    media: &RTSPMedia,
    sdp: &SDPMessageRef
) -> Result<(), LoggableError>

Loading content...

Implementors

Loading content...