From 0b6041d2fab4748deffa2dd9f55e8882c6782f86 Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Mon, 7 Sep 2020 22:07:29 +0200 Subject: [PATCH] openvidu-server: do not munge SDP of IP cameras --- .../openvidu/server/kurento/core/KurentoSessionManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvidu-server/src/main/java/io/openvidu/server/kurento/core/KurentoSessionManager.java b/openvidu-server/src/main/java/io/openvidu/server/kurento/core/KurentoSessionManager.java index 27a7fd32..d5ee509c 100644 --- a/openvidu-server/src/main/java/io/openvidu/server/kurento/core/KurentoSessionManager.java +++ b/openvidu-server/src/main/java/io/openvidu/server/kurento/core/KurentoSessionManager.java @@ -374,8 +374,8 @@ public class KurentoSessionManager extends SessionManager { boolean isTranscodingAllowed = kSession.getSessionProperties().isTranscodingAllowed(); VideoCodec forcedVideoCodec = kSession.getSessionProperties().forcedVideoCodec(); - // Modify sdp if forced codec is defined - if (forcedVideoCodec != VideoCodec.NONE) { + // Modify sdp if forced codec is defined and this is not an IP camera + if (forcedVideoCodec != VideoCodec.NONE && !participant.isIpcam()) { String sdpOffer = kurentoOptions.sdpOffer; try { log.debug("PARTICIPANT '{}' in Session '{}' SDP Offer before munging: \n {}",