[EPIC] Smooth play-out latency and buffering for analog audio input

This epic is about solving latency and buffering issues with play-out, when analog audio input is used.

We want to approach this topic in these aspects:

  • Testing Liquidsoap analog input behaviour, on different levels:
    1. ALSA configuration, different types of virtual and hardware devices, and their settings
    2. Simple, pure Liquidsoap script, trying different settings for buffer, clocks etc.
    3. Engine Core native
    4. Engine Core Docker
  • Identifying if issues are rooted in any of these layers (in the given order), if there are bugs, or if it can be solved with custom configuration approaches. Additional tickets will be created accordingly.
  • Trying alternative audio servers like PipeWire
  • Getting in touch with the Liquidsoap community
  • Evaluating scenarios where we ensure analog audio is AD converted beforehand
  • Upgrade to a newer version of Liquidsoap

Sub Tasks

  • https://gitlab.servus.at/aura/engine-core/-/issues/58+
  • https://gitlab.servus.at/aura/engine-core/-/issues/61+
  • Test how Liquidsoap live audio/analog line-in b... (#34 - closed)
  • Test Liquidsoap & Engine Core with the Hardware... (#32 - closed)
  • Test how Liquidsoap live audio behaves using Pi... (#33 - closed)
  • https://gitlab.servus.at/aura/engine-core/-/issues/64+
  • Test deployment of AURA Playout as per docs (Ub... (aura#285 - closed)

Related Tasks

These tasks are related and can have an impact on audio quality & latency:

  • [EPIC] Upgrade to Liquidsoap 2.2 or later (#36 - closed)
  • Review/rework of clock handling (#2 - closed)
Edited Feb 23, 2024 by David Trattnig
Assignee Loading
Time tracking Loading