mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-09-13 11:04:25 +08:00
refactor: 删除部分多余的代码和注释
This commit is contained in:
22
src/video/types.rs
Normal file
22
src/video/types.rs
Normal file
@@ -0,0 +1,22 @@
|
||||
//! Re-exports of shared video types used by other modules (e.g., webrtc)
|
||||
//!
|
||||
//! External modules should import from `crate::video::types` instead of
|
||||
//! reaching into internal submodules directly.
|
||||
|
||||
// From video::format
|
||||
pub use super::format::{PixelFormat, Resolution};
|
||||
|
||||
// From video::frame
|
||||
pub use super::frame::VideoFrame;
|
||||
|
||||
// From video::encoder (codec-level types)
|
||||
pub use super::encoder::{BitratePreset, VideoCodecType};
|
||||
|
||||
// From video::encoder::registry
|
||||
pub use super::encoder::registry::{EncoderBackend, VideoEncoderType};
|
||||
|
||||
// From video::shared_video_pipeline
|
||||
pub use super::shared_video_pipeline::{
|
||||
EncodedVideoFrame, PipelineStateNotification, SharedVideoPipeline, SharedVideoPipelineConfig,
|
||||
SharedVideoPipelineStats,
|
||||
};
|
||||
Reference in New Issue
Block a user