Trait gstreamer_webrtc::prelude::WebRTCICEStreamExt

source ·
pub trait WebRTCICEStreamExt:
    IsA<WebRTCICEStream>
    + Sealed
    + 'static {
    // Provided methods
    fn find_transport(
        &self,
        component: WebRTCICEComponent,
    ) -> Option<WebRTCICETransport> { ... }
    fn gather_candidates(&self) -> bool { ... }
    fn stream_id(&self) -> u32 { ... }
}
Expand description

Trait containing all WebRTCICEStream methods.

§Implementors

WebRTCICEStream

Provided Methods§

source

fn find_transport( &self, component: WebRTCICEComponent, ) -> Option<WebRTCICETransport>

§component

The WebRTCICEComponent

§Returns

the WebRTCICETransport, or None

source

fn gather_candidates(&self) -> bool

§Returns

FALSE on error, TRUE otherwise

source

fn stream_id(&self) -> u32

Object Safety§

This trait is not object safe.

Implementors§