bugfix
This commit is contained in:
parent
159bf579c8
commit
00b8aac240
@ -240,7 +240,7 @@ bricks.RTCP2PConnect = class {
|
|||||||
await pc.setRemoteDescription(offer);
|
await pc.setRemoteDescription(offer);
|
||||||
var answer = await pc.createAnswer();
|
var answer = await pc.createAnswer();
|
||||||
await pc.setLocalDescription(answer);
|
await pc.setLocalDescription(answer);
|
||||||
this.signal_send({
|
this.signaling_send({
|
||||||
type:'answer',
|
type:'answer',
|
||||||
answer:pc.localDescription,
|
answer:pc.localDescription,
|
||||||
msgto:data.msgfrom
|
msgto:data.msgfrom
|
||||||
@ -270,7 +270,7 @@ bricks.RTCP2PConnect = class {
|
|||||||
offer:pc.localDescription,
|
offer:pc.localDescription,
|
||||||
msgto:peer
|
msgto:peer
|
||||||
};
|
};
|
||||||
this.signal_send(d);
|
this.signaling_send(d);
|
||||||
}
|
}
|
||||||
|
|
||||||
send_candidate(peer, event){
|
send_candidate(peer, event){
|
||||||
|
Loading…
Reference in New Issue
Block a user