openvidu-server: do not munge SDP of IP cameras

pull/600/head
pabloFuente 2020-09-07 22:07:29 +02:00
parent 2fae62d6a2
commit 0b6041d2fa
1 changed files with 2 additions and 2 deletions

View File

@ -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 {}",