As per my understanding from my previous question : Kurento: STUN/TURN
The TURN server configured from webrtcendpoint.conf.ini
is used only for exchanging ice candidates. Also we can specify only one TURN server in webrtcendpoint.conf.ini
because What I have observed is that if i provide 2 or more TRUN server in webrtcendpoint.conf.ini
Kurento media server service fails to start, is this correct ?
Also is there any way to verify which STUN/TURN server is being used at Kurento media server and between two peers?
The STUN/TURN which we provide in conferenceroom.js
will be used for the actual media flow/mediapipeline between peers. Is this correct ?
If we provide multiple TURN servers in conferenceroom.js
then the TURN server neatest/fastest response time will be selected for media flow between the two peers? Same as we get response time form this Link.
Also what I have observed is that if the TURN server provided in webrtcendpoint.conf.ini
and conferenceroom.js
are different then we are not able to see remote participants video but if both the TURN server are the same then I am able to see remote participants video. Is this correct ?
Edit 1:
In groupcall sample example we have onExistingParticipants()
and onNewParticipants()
where we can define iceServers in receiveVideo()
and onExistingParticipants()
so what will happen if we specify TURN server t1 in kurentoUtils.WebRtcPeer.WebRtcPeerSendOnly()
and TURN server t2 in kurentoUtils.WebRtcPeer.WebRtcPeerRecvOnly()
then will these two TURN server communicate between each other as relay chain ?