pub struct PeerConnectionFactory { /* private fields */ }Implementations§
Source§impl PeerConnectionFactory
impl PeerConnectionFactory
pub fn create_peer_connection( &self, config: RtcConfiguration, observer: Box<PeerConnectionObserverWrapper>, ) -> Result<SharedPtr<PeerConnection>, Exception>
pub fn create_video_track( &self, label: String, source: SharedPtr<VideoTrackSource>, ) -> SharedPtr<VideoTrack>
pub fn create_audio_track( &self, label: String, source: SharedPtr<AudioTrackSource>, ) -> SharedPtr<AudioTrack>
pub fn rtp_sender_capabilities(&self, kind: MediaType) -> RtpCapabilities
pub fn rtp_receiver_capabilities(&self, kind: MediaType) -> RtpCapabilities
Trait Implementations§
Source§impl ExternType for PeerConnectionFactory
impl ExternType for PeerConnectionFactory
impl Send for PeerConnectionFactory
impl Sync for PeerConnectionFactory
Auto Trait Implementations§
impl !Freeze for PeerConnectionFactory
impl RefUnwindSafe for PeerConnectionFactory
impl !Unpin for PeerConnectionFactory
impl UnwindSafe for PeerConnectionFactory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more