1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-27 20:22:16 +02:00

WebRTC session exchange working

This commit is contained in:
Alexandre Iooss
2020-09-24 11:24:13 +02:00
parent 02399e7e26
commit 097766141f
6 changed files with 278 additions and 46 deletions

View File

@ -12,7 +12,7 @@ peerConnection = new RTCPeerConnection({
peerConnection.oniceconnectionstatechange = e => {
console.log(peerConnection.iceConnectionState)
switch (myPeerConnection.iceConnectionState) {
switch (peerConnection.iceConnectionState) {
case "closed":
case "failed":
console.log("FIXME Failed");