gstreamer_webrtc::prelude

Trait WebRTCICEStreamExt

Source
pub trait WebRTCICEStreamExt: IsA<WebRTCICEStream> + '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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§