pub struct VideoTrack<'a> {
pub video_four_cc: VideoFourCc,
pub video_track_id: u8,
pub packet: VideoPacket<'a>,
}
Expand description
One video track contained in a multitrack video.
Fields§
§video_four_cc: VideoFourCc
The video FOURCC of this track.
video_track_id: u8
The video track ID.
For identifying the highest priority (a.k.a., default track) or highest quality track, it is RECOMMENDED to use trackId set to zero. For tracks of lesser priority or quality, use multiple instances of trackId with ascending numerical values. The concept of priority or quality can have multiple interpretations, including but not limited to bitrate, resolution, default angle, and language. This recommendation serves as a guideline intended to standardize track numbering across various applications.
packet: VideoPacket<'a>
The video packet contained in this track.
Trait Implementations§
Source§impl<'a> Clone for VideoTrack<'a>
impl<'a> Clone for VideoTrack<'a>
Source§fn clone(&self) -> VideoTrack<'a>
fn clone(&self) -> VideoTrack<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for VideoTrack<'a>
impl<'a> Debug for VideoTrack<'a>
Source§impl<'a> PartialEq for VideoTrack<'a>
impl<'a> PartialEq for VideoTrack<'a>
impl<'a> StructuralPartialEq for VideoTrack<'a>
Auto Trait Implementations§
impl<'a> !Freeze for VideoTrack<'a>
impl<'a> RefUnwindSafe for VideoTrack<'a>
impl<'a> Send for VideoTrack<'a>
impl<'a> Sync for VideoTrack<'a>
impl<'a> Unpin for VideoTrack<'a>
impl<'a> UnwindSafe for VideoTrack<'a>
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