mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-06-14 11:42:02 +08:00
refactor: 重构视频采集状态与错误分类公共逻辑
This commit is contained in:
@@ -55,9 +55,7 @@ impl VideoCodec {
|
||||
VideoCodec::H264 => {
|
||||
"level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f".to_string()
|
||||
}
|
||||
VideoCodec::H265 => {
|
||||
"level-id=180;profile-id=1;tier-flag=0;tx-mode=SRST".to_string()
|
||||
}
|
||||
VideoCodec::H265 => "level-id=180;profile-id=1;tier-flag=0;tx-mode=SRST".to_string(),
|
||||
VideoCodec::VP8 => String::new(),
|
||||
VideoCodec::VP9 => "profile-id=0".to_string(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user