mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: support for rtsp SSL IP cameras (rtsps://...)
parent
c9aed9da7b
commit
90b075cc7f
|
@ -1137,7 +1137,7 @@ public class KurentoSessionManager extends SessionManager {
|
||||||
InetAddress ipAddress = null;
|
InetAddress ipAddress = null;
|
||||||
String protocol = null;
|
String protocol = null;
|
||||||
try {
|
try {
|
||||||
Pattern pattern = Pattern.compile("^(file|rtsp)://");
|
Pattern pattern = Pattern.compile("^(file|rtsp|rtsps)://");
|
||||||
Matcher matcher = pattern.matcher(kMediaOptions.rtspUri);
|
Matcher matcher = pattern.matcher(kMediaOptions.rtspUri);
|
||||||
if (matcher.find()) {
|
if (matcher.find()) {
|
||||||
protocol = matcher.group(0).replaceAll("://$", "");
|
protocol = matcher.group(0).replaceAll("://$", "");
|
||||||
|
|
Loading…
Reference in New Issue