Forum Discussion
Ryan Groom
Jun 15, 2021Copper Contributor
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 server...
- Jun 15, 2021Here is our C# SDK: https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/communication/Azure.Communication.NetworkTraversal
manoskow-msft
Jun 15, 2021Former Employee
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
Jun 15, 2021Copper Contributor
Also, that sample is JavaScript, our app is written in C#. Is there a C# SDK? Or just use the REST API?
- manoskow-msftJun 15, 2021Former EmployeeHere is our C# SDK: https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/communication/Azure.Communication.NetworkTraversal
- manoskow-msftJun 15, 2021Former EmployeeWe currently only return URLs for TURN, support for STUN is coming soon (currently being worked on)!
You could technically edit the TURN token I guess... but it is coming soon so maybe best to just wait 🙂- Ryan GroomJun 15, 2021Copper ContributorCool. I will continue to use our STUN servers and replace our TURN with yours. I am going to give this a try this afternoon.
Our these the same servers the Teams network uses?
- Ryan GroomJun 15, 2021Copper ContributorThanks! I have been like a dog chasing its tail. This was been very helpful, now to write some code!