From b660bc404cf2c933297501a2ab981070ea2faf28 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Sat, 13 Mar 2021 16:23:58 +0100 Subject: [PATCH] Attempt to negotiate stereo Opus audio. --- group/group.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/group/group.go b/group/group.go index 1cb8f26..5f63fae 100644 --- a/group/group.go +++ b/group/group.go @@ -151,7 +151,7 @@ func codecFromName(name string) (webrtc.RTPCodecCapability, error) { case "opus": return webrtc.RTPCodecCapability{ "audio/opus", 48000, 2, - "minptime=10;useinbandfec=1", + "minptime=10;useinbandfec=1;stereo=1;sprop-stereo=1", nil, }, nil case "g722":