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:
@ -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 {
|
||||
|
@ -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");
|
||||
|
Reference in New Issue
Block a user