pub struct RtpReceiver { /* private fields */ }Implementations§
Source§impl RtpReceiver
impl RtpReceiver
pub fn track(&self) -> SharedPtr<MediaStreamTrack>
pub fn get_stats( &self, ctx: Box<ReceiverContext>, on_stats: fn(ctx: Box<ReceiverContext>, json: String), )
pub fn stream_ids(&self) -> Vec<String>
pub fn streams(&self) -> Vec<MediaStreamPtr> ⓘ
pub fn media_type(&self) -> MediaType
pub fn id(&self) -> String
pub fn get_parameters(&self) -> RtpParameters
pub fn set_jitter_buffer_minimum_delay(&self, is_some: bool, delay_seconds: f64)
Trait Implementations§
Source§impl ExternType for RtpReceiver
impl ExternType for RtpReceiver
impl Send for RtpReceiver
impl Sync for RtpReceiver
Auto Trait Implementations§
impl !Freeze for RtpReceiver
impl RefUnwindSafe for RtpReceiver
impl !Unpin for RtpReceiver
impl UnwindSafe for RtpReceiver
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