mirror of
https://github.com/smittix/intercept.git
synced 2026-07-07 17:18:11 -07:00
Fix audio dependency to use ffmpeg instead of sox
The Listening Post actually uses ffmpeg for audio encoding, not sox. Updated all documentation, setup scripts, and code to reflect this: - Removed unused find_sox() function from listening_post.py - Simplified tools endpoint to only check for ffmpeg - Updated CHANGELOG, README, HARDWARE.md, Dockerfile - Fixed setup.sh to check for ffmpeg - Updated frontend warnings to mention ffmpeg 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -8775,7 +8775,7 @@
|
||||
// ============================================
|
||||
|
||||
let isAudioPlaying = false;
|
||||
let audioToolsAvailable = { rtl_fm: false, audio_player: false };
|
||||
let audioToolsAvailable = { rtl_fm: false, ffmpeg: false };
|
||||
|
||||
// Web Audio API for visualization
|
||||
let visualizerContext = null;
|
||||
@@ -8919,14 +8919,14 @@
|
||||
.then(r => r.json())
|
||||
.then(data => {
|
||||
audioToolsAvailable.rtl_fm = data.rtl_fm;
|
||||
audioToolsAvailable.can_stream = data.can_stream;
|
||||
audioToolsAvailable.ffmpeg = data.ffmpeg;
|
||||
|
||||
const warnings = [];
|
||||
if (!data.rtl_fm) {
|
||||
warnings.push('rtl_fm not found - install rtl-sdr tools');
|
||||
}
|
||||
if (!data.can_stream) {
|
||||
warnings.push('No audio encoder (ffmpeg/sox) - install: brew install ffmpeg (macOS) or apt install ffmpeg (Linux)');
|
||||
if (!data.ffmpeg) {
|
||||
warnings.push('ffmpeg not found - install: brew install ffmpeg (macOS) or apt install ffmpeg (Linux)');
|
||||
}
|
||||
|
||||
const warningDiv = document.getElementById('audioToolsWarning');
|
||||
|
||||
Reference in New Issue
Block a user