pub struct RtpTransceiver { /* private fields */ }Implementations§
Source§impl RtpTransceiver
impl RtpTransceiver
pub fn media_type(&self) -> MediaType
pub fn mid(&self) -> Result<String, Exception>
pub fn sender(&self) -> SharedPtr<RtpSender>
pub fn receiver(&self) -> SharedPtr<RtpReceiver>
pub fn stopped(&self) -> bool
pub fn stopping(&self) -> bool
pub fn direction(&self) -> RtpTransceiverDirection
pub fn set_direction( &self, direction: RtpTransceiverDirection, ) -> Result<(), Exception>
pub fn current_direction(&self) -> Result<RtpTransceiverDirection, Exception>
pub fn fired_direction(&self) -> Result<RtpTransceiverDirection, Exception>
pub fn stop_standard(&self) -> Result<(), Exception>
pub fn set_codec_preferences( &self, codecs: Vec<RtpCodecCapability>, ) -> Result<(), Exception>
pub fn codec_preferences(&self) -> Vec<RtpCodecCapability> ⓘ
pub fn header_extensions_to_negotiate( &self, ) -> Vec<RtpHeaderExtensionCapability> ⓘ
pub fn negotiated_header_extensions(&self) -> Vec<RtpHeaderExtensionCapability> ⓘ
pub fn set_header_extensions_to_negotiate( &self, headers: Vec<RtpHeaderExtensionCapability>, ) -> Result<(), Exception>
Trait Implementations§
Source§impl ExternType for RtpTransceiver
impl ExternType for RtpTransceiver
impl Send for RtpTransceiver
impl Sync for RtpTransceiver
Auto Trait Implementations§
impl !Freeze for RtpTransceiver
impl RefUnwindSafe for RtpTransceiver
impl !Unpin for RtpTransceiver
impl UnwindSafe for RtpTransceiver
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