1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-27 15:42:07 +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

@ -76,6 +76,9 @@ h1, h2, h3, h4 {
width: 100%;
height: 100%;
max-height: 90vh;
/* Black borders when video is not 16/9 */
background-color: #000;
}
.col-chat {

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");