pub struct RtcTrackInfo {
pub kind: u32,
pub id: String,
pub stream_id: String,
}Expand description
Information about a remote media track received from a peer.
Fields§
§kind: u32RTC_TRACK_AUDIO (0) or RTC_TRACK_VIDEO (1).
id: StringTrack identifier chosen by the remote peer.
stream_id: StringMedia stream identifier the track belongs to.
Auto Trait Implementations§
impl Freeze for RtcTrackInfo
impl RefUnwindSafe for RtcTrackInfo
impl Send for RtcTrackInfo
impl Sync for RtcTrackInfo
impl Unpin for RtcTrackInfo
impl UnsafeUnpin for RtcTrackInfo
impl UnwindSafe for RtcTrackInfo
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