From fb8eaf28fbadb6dee86467b79447a9c29b34b066 Mon Sep 17 00:00:00 2001 From: Matthew Stratford Date: Wed, 15 Apr 2020 03:29:44 +0100 Subject: [PATCH] Dammit! SDP needs re-writing on Answer side instead! --- shittyserver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/shittyserver.py b/shittyserver.py index 882329f..da20fa1 100644 --- a/shittyserver.py +++ b/shittyserver.py @@ -274,6 +274,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" await self.pc.setLocalDescription(answer) assert self.websocket is not None