mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-03-29 22:56:45 +08:00
refactor(video): 删除废弃视频流水线并收敛 MJPEG/WebRTC 编排与死代码
This commit is contained in:
@@ -262,8 +262,6 @@ impl Default for AudioTrackConfig {
|
||||
|
||||
/// Audio track for WebRTC streaming
|
||||
pub struct AudioTrack {
|
||||
#[allow(dead_code)]
|
||||
config: AudioTrackConfig,
|
||||
/// RTP track
|
||||
track: Arc<TrackLocalStaticRTP>,
|
||||
/// Running flag
|
||||
@@ -284,7 +282,6 @@ impl AudioTrack {
|
||||
let (running_tx, _) = watch::channel(false);
|
||||
|
||||
Self {
|
||||
config,
|
||||
track,
|
||||
running: Arc::new(running_tx),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user