openvidu-server: support for rtsp SSL IP cameras (rtsps://...)

pull/669/head
pabloFuente 2021-11-12 18:45:05 +01:00
parent c9aed9da7b
commit 90b075cc7f
1 changed files with 1 additions and 1 deletions

View File

@ -1137,7 +1137,7 @@ public class KurentoSessionManager extends SessionManager {
InetAddress ipAddress = null;
String protocol = null;
try {
Pattern pattern = Pattern.compile("^(file|rtsp)://");
Pattern pattern = Pattern.compile("^(file|rtsp|rtsps)://");
Matcher matcher = pattern.matcher(kMediaOptions.rtspUri);
if (matcher.find()) {
protocol = matcher.group(0).replaceAll("://$", "");