Forum Discussion

Ryan Groom's avatar
Ryan Groom
Copper Contributor
Jun 15, 2021
Solved

STUN/TURN Servers

I have a WebRTC project and have provisioned my own STUN/TURN servers. The Azure Communications Services talks about their STUN/TURN services. I would like to use the Microsoft/Azure STUN/TURN servers as they are probably more robust and geographically installed.

 

I have looked and cannot find the documentation on how to provision these in my Azure subscription and get the IP address of the servers.

 

Please advise and thanks,

 

Ryan

  • Here is our C# SDK: https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/communication/Azure.Communication.NetworkTraversal

8 Replies

  • Hi Ryan Groom

     

    You can find more documentation on how to get a relay token (for using the TURN service) here: https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/relay-token?pivots=programming-language-javascript

    If you don't mind sharing we would love to know more about your scenario and which company you are with 🙂

     

    • Ryan Groom's avatar
      Ryan Groom
      Copper Contributor

      Also, that sample is JavaScript, our app is written in C#. Is there a C# SDK? Or just use the REST API?

      • manoskow-msft's avatar
        manoskow-msft
        Former Employee
        Here is our C# SDK: https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/communication/Azure.Communication.NetworkTraversal
    • Ryan Groom's avatar
      Ryan Groom
      Copper Contributor
      Thanks. So this is just for TURN not for STUN? I am with Kognitiv Spark. We make an app for the HoloLens called RemoteSpark. We worked closely with the MS WebRTC UWP project which is core to our offering. Just looking at ways to make it more robust.

Resources