Dammit! SDP needs re-writing on Answer side instead!
This commit is contained in:
parent
70a4a4fb98
commit
fb8eaf28fb
1 changed files with 1 additions and 0 deletions
|
@ -274,6 +274,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"
|
||||||
await self.pc.setLocalDescription(answer)
|
await self.pc.setLocalDescription(answer)
|
||||||
|
|
||||||
assert self.websocket is not None
|
assert self.websocket is not None
|
||||||
|
|
Loading…
Reference in a new issue