I'm using Kurento Media Server 6.0 as MCU to do one-to-many communication. I'm trying to renegotiate the SDP for mediaStreams switching. For this I'm using following code :
Let webRtcEndPoint is the created endPointUser on certain MediaPipeline
webRtcEndPoint.processOffer(sdpOffer, function(error, _sdpAnswer) {
if (error) {
console.log("SdpOffer not accepted by kurento");
return console.log(error);
}
console.log(_sdpAnswer);
});
It is returning error
{ [Error: Endpoint already negotiated] code: 40208, data: { type: 'SDP_END_POINT_ALREADY_NEGOTIATED' } }
How could I renegotiate a user with Kurento Media Server without creating whole webrtcEndPoint( i.e. without creating whole new connection between user and Kurento Media Server)?