I use Kurento Media Server 6.0 as an MCU for one-to-many communication. I am trying to revise SDP to switch mediaStreams. For this, I use the following code:
Let webRtcEndPoint be created by endPointUser on a specific MediaPipeline
webRtcEndPoint.processOffer(sdpOffer, function(error, _sdpAnswer) { if (error) { console.log("SdpOffer not accepted by kurento"); return console.log(error); } console.log(_sdpAnswer); });
It returns an error
{[Error: endpoint already agreed] code: 40208, data: {type: 'SDP_END_POINT_ALREADY_NEGOTIATED'}}
How can I redefine a user using the Kurento media server without creating a whole webrtcEndPoint (i.e. without creating a completely new connection between the user and the Kurento Media server)?
source share