Skip to main content

AI Audio Troubleshooting

This guide covers common issues with the AI Audio Talkdown feature and their solutions.

Quick Diagnostics

Run these checks first:

CheckCommand/ActionExpected
Audio EnabledAnava Console → Device → Features"Audio Talkdown: Enabled"
Speaker WorkingCamera web UI → Audio → TestHear test tone
MQTT ConnectedDevice status in Console"Connected"
ACAP VersionDevice info in Consolev3.0 or later

Common Issues

Audio Not Playing

Symptoms:

  • Events trigger but no audio plays
  • Console shows "Audio sent" but camera is silent

Solutions:

  1. Check speaker configuration

    Camera Web UI → Audio → Output
    - Verify "Audio output" is enabled
    - Check volume is not 0
    - Test with built-in audio test
  2. Verify ACAP audio permissions

    Camera Web UI → Apps → Anava Agent → Settings
    - "Audio Output" permission must be granted
  3. Check audio format compatibility

    • Some older cameras require μ-law encoding
    • Contact support if camera model is pre-2020

Audio Delayed (more than 3 seconds)

Symptoms:

  • Audio plays but significantly after the event
  • Noticeable lag between detection and announcement

Causes & Solutions:

CauseSolution
Network latencyCheck camera's network connection (ping < 100ms to gateway)
MQTT backlogVerify MQTT connection is stable, check for reconnects in logs
Cloud processingTypically < 1.5s; if consistently slow, contact support
Jitter bufferExpected 200-400ms buffering for smooth playback

Audio Cuts Off or Stutters

Symptoms:

  • Announcement starts but doesn't complete
  • Audio has gaps or repeats

Solutions:

  1. Network bandwidth

    • Audio requires ~32 kbps sustained
    • Check for network congestion during events
    • Verify camera isn't on a saturated WiFi network
  2. Increase jitter buffer (via ACAP config)

    {
    "audio": {
    "jitterBufferMs": 400
    }
    }
  3. Check for packet loss

    • View device logs for "audio chunk timeout" messages
    • Consider wired connection if on WiFi

Wrong Language or Voice

Symptoms:

  • Audio plays in unexpected language
  • Voice doesn't match configuration

Solutions:

  1. Verify group settings

    Console → Device Groups → [Your Group] → Audio Settings
    - Language: [Should match expected]
    - Voice: [Should match expected]
  2. Check device override

    • Individual devices can override group settings
    • Console → Devices → [Device] → Audio Settings
  3. Clear audio cache (if recently changed settings)

    • Restart ACAP via camera web UI
    • Or wait 5 minutes for settings to propagate

No Audio After Firmware Update

Symptoms:

  • Audio was working, stopped after camera firmware update
  • ACAP shows running but audio features fail

Solutions:

  1. Reinstall ACAP

    • Camera firmware updates can reset app permissions
    • Download latest ACAP from Console
    • Reinstall and grant audio permissions
  2. Check VAPIX API availability

    GET http://{camera}/axis-cgi/audio/info.cgi

    Should return audio capabilities, not 404

Audio Too Quiet or Too Loud

Symptoms:

  • Audio plays but can barely hear it
  • Audio is distorted due to volume

Solutions:

  1. Adjust in Console

    Console → Device Groups → Audio Settings → Volume: 1-100
  2. Adjust camera output gain

    Camera Web UI → Audio → Output Gain
  3. Check speaker hardware

    • External speakers may have their own volume control
    • Verify speaker is properly connected

Diagnostic Commands

View Audio Events (Console)

Navigate to: Console → Events → Filter: Audio

Shows:

  • Audio generation requests
  • Delivery confirmations
  • Playback status

Device Logs

Access via Console → Devices → [Device] → Logs, or directly:

Camera Web UI → System → Logs → Application Log
Filter: "anava" or "audio"

Look for:

[INFO] TTS: received audio chunk 1/8
[INFO] TTS: playback started
[INFO] TTS: playback complete (3.2s)
[ERROR] TTS: chunk timeout, using fallback

Test Audio Manually

From Console → Devices → [Device] → Actions → Test Audio

This sends a test announcement to verify the full pipeline.

Error Codes

CodeMeaningAction
AUDIO_001Speaker not availableEnable audio output in camera settings
AUDIO_002Generation timeoutRetry; if persistent, check cloud status
AUDIO_003Delivery failedCheck MQTT connection
AUDIO_004Playback failedVerify VAPIX audio API working
AUDIO_005Rate limitedWait 30 seconds between audio events
AUDIO_006Feature not enabledEnable Audio Talkdown in group settings

Performance Baseline

Use these as reference for normal operation:

MetricNormal RangeInvestigate If
Generation time800-1500ms> 2000ms consistently
Delivery time100-300ms> 500ms consistently
Playback start1.2-2.0s total> 3.0s consistently
Chunk loss0-1%> 5%

Getting Support

If issues persist after troubleshooting:

  1. Collect diagnostics

    • Console → Devices → [Device] → Download Diagnostics
    • Include last 24 hours of logs
  2. Note the following

    • Camera model and firmware version
    • ACAP version
    • Time and date of issues
    • Network configuration (wired/WiFi)
  3. Contact support


Last updated: December 2025