Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

optionally query stun and turn servers using xep-0215

Philipp Hancke56eb1bda8526
diff --git a/app.js b/app.js
index cf5c5c07fa..ce0061ec5a 100644
--- a/app.js
+++ b/app.js
@@ -35,6 +35,9 @@ function init() {
connection.connect(jid, document.getElementById('password').value, function (status) {
if (status == Strophe.Status.CONNECTED) {
console.log('connected');
+ if (config.useStunTurn) {
+ connection.jingle.getStunAndTurnCredentials();
+ }
if (RTC.browser == 'firefox') {
getUserMediaWithConstraints(['audio']);
} else {