Re-discussion on Kurento Media Server

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)?

+5
source share
1 answer

Sorry, Kurento Media Server does not yet allow re-negotiation. This is what has been on the roadmap for a long time, but we did not find the time to implement it.

The only option now is to restore WebRtcEndpoint.

+1
source

Source: https://habr.com/ru/post/1244090/


All Articles