From c28b07fd11c50f3dd15125309edea89bc947fb98 Mon Sep 17 00:00:00 2001 From: cnderrauber Date: Thu, 24 Nov 2022 22:51:15 +0800 Subject: [PATCH] set stereo max bitrates to 510000 (#1188) --- pkg/rtc/participant_sdp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rtc/participant_sdp.go b/pkg/rtc/participant_sdp.go index 1407c79c3..ba3e47b85 100644 --- a/pkg/rtc/participant_sdp.go +++ b/pkg/rtc/participant_sdp.go @@ -221,7 +221,7 @@ func (p *ParticipantImpl) configurePublisherAnswer(answer webrtc.SessionDescript attr.Value += ";usedtx=1" } if ti.Stereo { - attr.Value += ";stereo=1" + attr.Value += ";stereo=1;maxaveragebitrate=510000" } m.Attributes[i] = attr }