bugfix
This commit is contained in:
parent
1b4d371ce8
commit
159bf579c8
@ -262,7 +262,7 @@ bricks.RTCP2PConnect = class {
|
||||
}
|
||||
async send_offer(peer){
|
||||
console.log('send_offer(), peers=', this.peers, 'peer=', peer);
|
||||
pc = this.peers[peer.id].pc;
|
||||
var pc = this.peers[peer.id].pc;
|
||||
var offer = await pc.createOffer();
|
||||
await pc.setLocalDescription(offer);
|
||||
var d = {
|
||||
|
Loading…
Reference in New Issue
Block a user