From 5757a37d215a742203f977dd59bf98f66679223d Mon Sep 17 00:00:00 2001 From: Lorenzo Miniero Date: Thu, 27 May 2021 17:08:17 +0200 Subject: [PATCH] Spatial audio support in AudioBridge via stereo mixing (#2446) --- conf/janus.plugin.audiobridge.jcfg.sample | 1 + html/audiobridgetest.html | 5 +- html/audiobridgetest.js | 102 +++++++--- plugins/janus_audiobridge.c | 215 ++++++++++++++++++---- 4 files changed, 264 insertions(+), 59 deletions(-) diff --git a/conf/janus.plugin.audiobridge.jcfg.sample b/conf/janus.plugin.audiobridge.jcfg.sample index b4a7929187..e57a20f109 100644 --- a/conf/janus.plugin.audiobridge.jcfg.sample +++ b/conf/janus.plugin.audiobridge.jcfg.sample @@ -4,6 +4,7 @@ # secret = "" # pin = "" # sampling_rate = (e.g., 16000 for wideband mixing) +# spatial_audio = true|false (if true, the mix will be stereo to spatially place users, default=false) # audiolevel_ext = true|false (whether the ssrc-audio-level RTP extension must # be negotiated/used or not for new joins, default=true) # audiolevel_event = true|false (whether to emit event to other users or not, default=false) diff --git a/html/audiobridgetest.html b/html/audiobridgetest.html index 6621aca885..c30994b1c8 100644 --- a/html/audiobridgetest.html +++ b/html/audiobridgetest.html @@ -11,6 +11,7 @@ +