AES E-Library

AES E-Library

Web-Based Networked Music Performances via WebRTC: A Low-Latency PCM Audio Solution

Document Thumbnail

Nowadays, widely used videoconferencing software has been diffused even further by the social distancing measures adopted during the SARS-CoV-2 pandemic. However, none of the Web-based solutions currently available support high-fidelity stereo audio streaming, which is a fundamental prerequisite for networked music applications. This is mainly because of the fact that the WebRTC RTCPeerConnection standard or Web-based audio streaming do not handle uncompressed audio formats. To overcome that limitation, an implementation of 16-bit pulse code modulation (PCM) stereo audio transmission on top of the WebRTC RTCDataChannel, leveraging Web Audio and AudioWorklets, is discussed. Results obtained with multiple configurations, browsers, and operating systems showthat the proposed approach outperforms theWebRTC RTCPeerConnection standard in terms of audio quality and latency, which in the authors' best case to date has been reduced to only 40 ms between twoMacBooks on a local area network.

Open Access

Open
Access

Authors:
Affiliations:
JAES Volume 70 Issue 11 pp. 926-937; November 2022
Publication Date:
Permalink: https://www.aes.org/e-lib/browse.cfm?elib=22017


Download Now (844 KB)

This paper is Open Access which means you can download it for free.

Learn more about the AES E-Library

E-Library Location:

DOI:

Start a discussion about this paper!


AES - Audio Engineering Society