You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2019/03/15 03:24:30 UTC

[openmeetings] branch master updated: [OPENMEETINGS-2029] ice url should be fixed

This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new 5c7a354  [OPENMEETINGS-2029] ice url should be fixed
5c7a354 is described below

commit 5c7a3547b18dc98bf9e9d3ff13bf1cbbfeded566
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Fri Mar 15 10:24:19 2019 +0700

    [OPENMEETINGS-2029] ice url should be fixed
---
 .../main/java/org/apache/openmeetings/core/remote/KurentoHandler.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/openmeetings-core/src/main/java/org/apache/openmeetings/core/remote/KurentoHandler.java b/openmeetings-core/src/main/java/org/apache/openmeetings/core/remote/KurentoHandler.java
index a940255..475f8d6 100644
--- a/openmeetings-core/src/main/java/org/apache/openmeetings/core/remote/KurentoHandler.java
+++ b/openmeetings-core/src/main/java/org/apache/openmeetings/core/remote/KurentoHandler.java
@@ -281,7 +281,9 @@ public class KurentoHandler {
 					turn.put("username", turnUser)
 						.put("credential", turnSecret);
 				}
-				turn.put("url", String.format("turn:%s", turnUrl));
+				final String fturnUrl = "turn:" + turnUrl;
+				turn.put("url", fturnUrl); // old-school
+				turn.put("urls", fturnUrl);
 				arr.put(turn);
 			} catch (NoSuchAlgorithmException|InvalidKeyException e) {
 				log.error("Unexpected error while creating turn", e);