Skip to content

Manual increases to Jitter Buffer size are not applied in real-time #1377

@walkeral

Description

@walkeral

Describe the bug
When the Jitter Buffer is on manual (i.e. "Auto" unchecked), lowering the sliders immediately affects the delay (i.e. you can hear the change corresponding with the "Overal Delay"). Raising the sliders back up again does NOT apply any increase to the audio, even though the "Overall Delay" increases.
I do however notice breakup when the sliders are lowered to '1', which then ceases when increased back to '2' or above.

At this point, setting the sliders higher, then disconnecting and reconnecting to the session seems to correctly reset the delay. However I've noticed an additional problem in that if the '-F' option is specified on the server, this disconnect / reconnect does NOT fix clear the problem (and I'm struggling to find what does - the delay seems to drift back up over a few minutes).

To Reproduce

  • Open Jamulus settings
  • Uncheck "Auto" jitter buffer
  • Set both jitter buffers to 20
  • Connect session
  • Test clicking into mic - observe noticeable audio delay
  • Drag both sliders down to 2
  • Test clicking into mic - observe considerably less audio delay
  • Drag both sliders back to 20
  • Test clicking into mic - no change in audio delay
  • Disconnect session
  • Connect session
  • Test clicking into mic - observe noticeable audio delay

Expected behavior
Noticeable audio delay should return immediately when sliders are dragged up to 20, meaning the "Overall Delay" indicator actually matches the audio you are hearing.

Operating system / Versions of Jamulus
Client - Windows 10, version 3.7.0
Server - Ubuntu Linux, reproduced on 3.6.1, 3.6.2 and 3.7.0

I have confirmed the problem by comparing waveforms of what is going to Jamulus and what is coming back from it:
1
2
3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions