From af93c4f5c66e36caf4dbad0b67dc06164d586350 Mon Sep 17 00:00:00 2001 From: Marks Polakovs Date: Tue, 12 May 2020 01:40:22 +0200 Subject: [PATCH] Drop bitrate to 128kbps/channel Ben and I tested it and there's no perceptible difference --- shittyserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shittyserver.py b/shittyserver.py index 29f6d28..c61f516 100644 --- a/shittyserver.py +++ b/shittyserver.py @@ -298,7 +298,7 @@ class Session(object): await self.pc.setRemoteDescription(offer) answer = await self.pc.createAnswer() - answer.sdp += "\na=fmtp:111 minptime=10;useinbandfec=0;maxaveragebitrate=393216;stereo=1;sprop-stereo=1;cbr=1" + answer.sdp += "\na=fmtp:111 minptime=10;useinbandfec=0;maxaveragebitrate=262144;stereo=1;sprop-stereo=1;cbr=1" await self.pc.setLocalDescription(answer) assert self.websocket is not None