[mirotalk] - fix typo

This commit is contained in:
Miroslav Pejic
2022-02-03 19:27:41 +01:00
parent fe94de4ebd
commit 2f475e7247
3 changed files with 2 additions and 49 deletions
+1
View File
@@ -432,6 +432,7 @@ io.sockets.on('connect', (socket) => {
if ('Locked' in peers[channel]) delete peers[channel];
break;
}
log.debug('connected peers grp by roomId', peers);
for (let id in channels[channel]) {
await channels[channel][id].emit('removePeer', { peer_id: socket.id });
-48
View File
@@ -208,54 +208,6 @@ body {
font-size: 15px;
}
/*--------------------------------------------------------------
# Pulse class effect
--------------------------------------------------------------*/
.pulsate {
animation: pulsate 3s ease-out;
animation-iteration-count: infinite;
-webkit-animation: pulsate 3s ease-out;
-webkit-animation-iteration-count: infinite;
opacity: 0.5;
}
@-webkit-keyframes pulsate {
0% {
opacity: 0.5;
}
50% {
opacity: 1;
}
100% {
opacity: 0.5;
}
}
@keyframes pulsate {
0% {
opacity: 0.5;
}
50% {
opacity: 1;
}
100% {
opacity: 0.5;
}
}
@-webkit-keyframes pulsate {
0% {
opacity: 0.5;
}
50% {
opacity: 1;
}
100% {
opacity: 0.5;
}
}
/*--------------------------------------------------------------
# Status menù (time-name-audio-video)
--------------------------------------------------------------*/
+1 -1
View File
@@ -1834,7 +1834,7 @@ function takeSnapshot(video) {
context = canvas.getContext('2d');
context.drawImage(video, 0, 0, width, height);
dataURL = canvas.toDataURL('image/png'); // or image/jpeg
console.log(dataURL);
// console.log(dataURL);
saveDataToFile(dataURL, getDataTimeString() + '-SNAPSHOT.png');
}