Dammit! SDP needs re-writing on Answer side instead!

This commit is contained in:
Matthew Stratford 2020-04-15 03:29:44 +01:00
parent 70a4a4fb98
commit fb8eaf28fb

View file

@ -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