openvidu-server: support for rtsp SSL IP cameras (rtsps://...)
This commit is contained in:
parent
c9aed9da7b
commit
90b075cc7f
@ -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("://$", "");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user