Opens in a new tab

AES E-Library

← Back to search

Journal Article Open Access

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

Authors: Sacchetto, Matteo; Gastaldi, Paolo; Chafe, Chris; Rottondi, Cristina; Servetti, Antonio

Journal of the Audio Engineering Society · Volume 70 · Issue 11 · pp. 926–937 · November 2022

Abstract

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.

Details

Publication
Journal of the Audio Engineering Society
Volume
70
Issue
11
Pages
926–937
Publication date
November 6, 2022
Affiliation
Department of Electronics and Telecommunications, Politecnico di Torino, Italy; Department of Energy, Politecnico di Torino, Italy; Center for Computer Research in Music and Acoustic, Stanford University, CA; Department of Electronics and Telecommunications, Politecnico di Torino, Italy; Department of Control and Computer Engineering, Politecnico di Torino, Italy (See document for exact affiliation information.)
Type
Journal Article