pub struct AdaptiveLink { /* private fields */ }Implementations§
Source§impl AdaptiveLink
impl AdaptiveLink
pub fn new() -> Self
pub fn record_rx_paths(&mut self, now_ms: u64, rssi: [u8; 4], snr: [i8; 4])
pub fn record_rx( &mut self, now_ms: u64, rssi0: u8, rssi1: u8, snr0: i8, snr1: i8, )
pub fn record_fec(&mut self, now_ms: u64, total: u32, recovered: u32, lost: u32)
pub fn request_keyframe(&mut self)
pub fn set_keyframe_request_messages(&mut self, messages: u32)
pub fn set_video_start_idle_ms(&mut self, idle_ms: u64)
pub fn quality(&mut self, now_ms: u64) -> LinkQuality
pub fn feedback_udp_payload(&mut self, now_ms: u64) -> Vec<u8> ⓘ
pub fn feedback_ip_packet(&mut self, now_ms: u64) -> Vec<u8> ⓘ
Trait Implementations§
Source§impl Clone for AdaptiveLink
impl Clone for AdaptiveLink
Source§fn clone(&self) -> AdaptiveLink
fn clone(&self) -> AdaptiveLink
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdaptiveLink
impl Debug for AdaptiveLink
Auto Trait Implementations§
impl Freeze for AdaptiveLink
impl RefUnwindSafe for AdaptiveLink
impl Send for AdaptiveLink
impl Sync for AdaptiveLink
impl Unpin for AdaptiveLink
impl UnsafeUnpin for AdaptiveLink
impl UnwindSafe for AdaptiveLink
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