mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-07-29 20:11:46 +08:00
feat: 初步增加 Windows 支持
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//! `EncoderType` → `EncoderBackend` (breaks config ↔ video import cycles).
|
||||
|
||||
use crate::config::EncoderType;
|
||||
use crate::video::encoder::EncoderBackend;
|
||||
use crate::video::codec::EncoderBackend;
|
||||
|
||||
/// `None` means “auto” in WebRTC / pipeline (same as `EncoderType::Auto`).
|
||||
pub fn encoder_type_to_backend(encoder: EncoderType) -> Option<EncoderBackend> {
|
||||
|
||||
Reference in New Issue
Block a user