refactor(video): 删除废弃视频流水线并收敛 MJPEG/WebRTC 编排与死代码

This commit is contained in:
mofeng-git
2026-03-27 08:21:14 +08:00
parent 6ef2d394d9
commit c8fd3648ad
16 changed files with 672 additions and 3294 deletions

View File

@@ -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),
}