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

pub trait RTSPMediaImplExt {
    fn parent_handle_message(
        &self,
        media: &RTSPMedia,
        message: &MessageRef
    ) -> bool;
fn parent_prepare(
        &self,
        media: &RTSPMedia,
        thread: &RTSPThread
    ) -> Result<(), LoggableError>;
fn parent_unprepare(&self, media: &RTSPMedia) -> Result<(), LoggableError>;
fn parent_suspend(&self, media: &RTSPMedia) -> Result<(), LoggableError>;
fn parent_unsuspend(&self, media: &RTSPMedia) -> Result<(), LoggableError>;
fn parent_query_position(&self, media: &RTSPMedia) -> Option<ClockTime>;
fn parent_query_stop(&self, media: &RTSPMedia) -> Option<ClockTime>;
fn parent_create_rtpbin(&self, media: &RTSPMedia) -> Option<Element>;
fn parent_setup_rtpbin(
        &self,
        media: &RTSPMedia,
        rtpbin: &Element
    ) -> Result<(), LoggableError>;
fn parent_setup_sdp(
        &self,
        media: &RTSPMedia,
        sdp: &mut SDPMessageRef,
        info: &SDPInfo
    ) -> Result<(), LoggableError>;
fn parent_new_stream(&self, media: &RTSPMedia, stream: &RTSPStream);
fn parent_removed_stream(&self, media: &RTSPMedia, stream: &RTSPStream);
fn parent_prepared(&self, media: &RTSPMedia);
fn parent_unprepared(&self, media: &RTSPMedia);
fn parent_target_state(&self, media: &RTSPMedia, state: State);
fn parent_new_state(&self, media: &RTSPMedia, state: State);
fn parent_handle_sdp(
        &self,
        media: &RTSPMedia,
        sdp: &SDPMessageRef
    ) -> Result<(), LoggableError>; }

Required methods

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

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

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

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

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

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

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

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

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

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

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

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

fn parent_prepared(&self, media: &RTSPMedia)

fn parent_unprepared(&self, media: &RTSPMedia)

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

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

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

Loading content...

Implementors

impl<T: RTSPMediaImpl + ObjectImpl> RTSPMediaImplExt for T[src]

Loading content...