[mirotalk] - fix typo

This commit is contained in:
Miroslav Pejic
2021-03-13 17:54:32 +01:00
parent f30a01f29d
commit eaec665381
3 changed files with 9 additions and 11 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
NGROK_ENABLED=true|false
NGROK_AUTH_TOKEN=YourNgrokAuthToken
# Turn
# Turn
# 1. Goto http://numb.viagenie.ca/
# 2. Create an account
# 3. Check: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
@@ -15,5 +15,5 @@ TURN_URLS=turn:numb.viagenie.ca
TURN_USERNAME=YourNumbUsername
TURN_PASSWORD=YourNumbPassword
# Heroku
# Heroku
# https://devcenter.heroku.com/articles/config-vars
+5 -8
View File
@@ -72,14 +72,11 @@ async function ngrokStart() {
var iceServers = [{ urls: "stun:stun.l.google.com:19302" }];
if (turnEnabled == "true") {
iceServers = [
{ urls: "stun:stun.l.google.com:19302" },
{
urls: turnUrls,
username: turnUsername,
credential: turnCredential,
},
];
iceServers.push({
urls: turnUrls,
username: turnUsername,
credential: turnCredential,
});
}
/**
+2 -1
View File
@@ -621,11 +621,12 @@ function setupLocalMedia(callback, errorback) {
attachMediaStream(localMedia, localMediaStream);
localMedia.poster = null;
resizeVideos();
getHtmlElementsById();
startCountTime();
manageLeftButtons();
handleBodyOnMouseMove();
setupAudioVideoDevices();
startCountTime();
if (callback) callback();
})