23-24 October 2025
Barbican Centre
Europe/London timezone

Cutting audio latency with bidirectional WebRTC

Not scheduled
20m
Barbican Centre

Barbican Centre

Level 4, Silk Street, London, EC2Y 8DS, UK

Speaker

Albert Sjölund (Axis Communications)

Description

This talk will discuss the methods used to reduce latency in a bidirectional WebRTC pipeline, i.e., video but primarily audio in both directions. The primary topics are

  • Splitting the pipeline using intersrc/intersink, discussing the global pipeline latency and how to do avoid unnecessary clock syncing. This discusses pipeline latency and what is needed to allow media streaming in two directions.
  • Investigating different audio sinks, mainly pipewire and alsa and its effect on overall latency, both pipeline latency as well as perceived/measured latency.
  • Possible further improvements. Jitterbuffer, external properties (pipewire properties like quantum), mentioning webrtcbin2 from GStreamer that should potentially solve the first issue on its own.

The end result reduced latency from 650-700ms to roughly 230ms, with as low as 180ms depending on the setup, making real-time communication possible, with a goal of 150ms.

Speaker Bio

I work at Axis Communications as a Software Engineer, developing WebRTC for a stable streaming environment for a connected security network. I have been working at Axis since 2022 and been working closely with GStreamer, contributing upstream and using it in my daily work.

Duration of the talk

Primary author

Albert Sjölund (Axis Communications)

Presentation Materials

There are no materials yet.
2025 Host
Technische Universität Wien
2025 Gold Sponsors
AMD
Arm
Collabora
Microsoft
NVIDIA
Snap AR
2025 Silver Sponsors
CodeWeavers
FEX-Emu
Igalia
Qualcomm
The Linux Foundation
2025 Bronze Sponsors
Khronos Group
Libre Computer