added routes for call

This commit is contained in:
Beatrice Olivera
2018-08-28 18:26:33 +01:00
parent 3dfbc577b6
commit 4b1636ee78
6 changed files with 36 additions and 19 deletions

View File

@@ -0,0 +1,13 @@
contactsVideo = document.getElementById("contacts-video");
try {
const stream = await navigator.mediaDevices.getUserMedia({
audio: false,
video: true
})
localstream = stream;
contactsVideo.srcObject = stream
contactsVideo.muted = true
} catch (e) {
console.error(e);
}

View File

@@ -61,7 +61,7 @@ a:hover {
.video-content {
height: 485px;
background-color: black;
// background-color: black;
}
.half {