Drop bitrate to 128kbps/channel

Ben and I tested it and there's no perceptible difference
This commit is contained in:
Marks Polakovs 2020-05-12 01:40:22 +02:00 committed by GitHub
parent 5ae9779cee
commit af93c4f5c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -298,7 +298,7 @@ class Session(object):
await self.pc.setRemoteDescription(offer) await self.pc.setRemoteDescription(offer)
answer = await self.pc.createAnswer() 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) await self.pc.setLocalDescription(answer)
assert self.websocket is not None assert self.websocket is not None