[mirotalk] - fix typo
This commit is contained in:
@@ -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 });
|
||||
|
||||
@@ -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
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user