pub enum VideoQuality {
Show 13 variants
P240 = 6,
P360 = 16,
P480 = 32,
P720 = 64,
P720_60 = 74,
P1080 = 80,
Smart = 100,
P1080Plus = 112,
P1080_60 = 116,
P4K = 120,
HDR = 125,
DolbyVision = 126,
P8K = 127,
}Expand description
视频清晰度标识
Variants§
P240 = 6
240P 极速 (仅mp4方式支持)
P360 = 16
360P 流畅
P480 = 32
480P 清晰
P720 = 64
720P 高清 (web端默认值) B站前端需要登录才能选择,但是直接发送请求可以不登录就拿到720P的取流地址
P720_60 = 74
720P60 高帧率
P1080 = 80
1080P 高清
Smart = 100
智能修复 仅支持dash方式 需要fnval&12240=12240
P1080Plus = 112
1080P+ 高码率
P1080_60 = 116
1080P60 高帧率
P4K = 120
4K 超清
HDR = 125
HDR 真彩色
DolbyVision = 126
杜比视界
P8K = 127
8K 超高清
Implementations§
Trait Implementations§
Source§impl Clone for VideoQuality
impl Clone for VideoQuality
Source§fn clone(&self) -> VideoQuality
fn clone(&self) -> VideoQuality
Returns a duplicate 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 Debug for VideoQuality
impl Debug for VideoQuality
Source§impl PartialEq for VideoQuality
impl PartialEq for VideoQuality
impl Copy for VideoQuality
impl Eq for VideoQuality
impl StructuralPartialEq for VideoQuality
Auto Trait Implementations§
impl Freeze for VideoQuality
impl RefUnwindSafe for VideoQuality
impl Send for VideoQuality
impl Sync for VideoQuality
impl Unpin for VideoQuality
impl UnwindSafe for VideoQuality
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.