mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: do not munge SDP of IP cameras
parent
2fae62d6a2
commit
0b6041d2fa
|
@ -374,8 +374,8 @@ public class KurentoSessionManager extends SessionManager {
|
||||||
boolean isTranscodingAllowed = kSession.getSessionProperties().isTranscodingAllowed();
|
boolean isTranscodingAllowed = kSession.getSessionProperties().isTranscodingAllowed();
|
||||||
VideoCodec forcedVideoCodec = kSession.getSessionProperties().forcedVideoCodec();
|
VideoCodec forcedVideoCodec = kSession.getSessionProperties().forcedVideoCodec();
|
||||||
|
|
||||||
// Modify sdp if forced codec is defined
|
// Modify sdp if forced codec is defined and this is not an IP camera
|
||||||
if (forcedVideoCodec != VideoCodec.NONE) {
|
if (forcedVideoCodec != VideoCodec.NONE && !participant.isIpcam()) {
|
||||||
String sdpOffer = kurentoOptions.sdpOffer;
|
String sdpOffer = kurentoOptions.sdpOffer;
|
||||||
try {
|
try {
|
||||||
log.debug("PARTICIPANT '{}' in Session '{}' SDP Offer before munging: \n {}",
|
log.debug("PARTICIPANT '{}' in Session '{}' SDP Offer before munging: \n {}",
|
||||||
|
|
Loading…
Reference in New Issue