by the spec TURN is extension to STUN (i.e. if you have turn it will
act as both STUN and TURN)
so I see no need in another config

On Thu, 24 Sep 2020 at 09:26, seba.wag...@gmail.com
<seba.wag...@gmail.com> wrote:
>
> Seems like default recommendation is to have first STUN and then TURN
> config options in the iceCandidates:
> https://doc-kurento.readthedocs.io/en/stable/features/kurento_utils_js.html
>
> *configuration*: It is a JSON object where ICE Servers are defined using
>
>
>    -
>
>    iceServers <https://w3c.github.io/webrtc-pc/#idl-def-RTCIceServer>: The
>    format for this variable is like:
>
>    
> [{"urls":"turn:turn.example.org","username":"user","credential":"myPassword"}][{"urls":"stun:stun1.example.net"},{"urls":"stun:stun2.example.net"}]
>
>
> I think it would try STUN before TURN. And I think there might also be some
> advantage in having both available.
>
> Should we maybe add an option to make both configurable ?
>
> Thanks,
> Seb
>
> Sebastian Wagner
> Director Arrakeen Solutions
> http://arrakeen-solutions.co.nz/
> <https://www.youracclaim.com/badges/da4e8828-743d-4968-af6f-49033f10d60a/public_url>
> <https://www.youracclaim.com/badges/b7e709c6-aa87-4b02-9faf-099038475e36/public_url>



-- 
Best regards,
Maxim

Reply via email to