Mediasoup/Coturn configuration

I have seen many topics here about integrating mediasoup with a TURN server like Coturn but couln’t find an actual solution.

I just want to use a couple ports for media instead of a big range which my router does not support.

I have both Coturn and Mediasoup on the same machine inside two docker containers with pirts exposed. What do I need now to make these two work with eachother? What configuration do I need on both sides?

I just want to use a couple ports for media instead of a big range which my router does not support.

If your server is publicly accessible and clients can reach it directly, WebRTCServer can be sufficient. For more details, check out this discussion: Need help regarding setting up turn server with mediasoup server - #7 by ibc.

2 Likes

Thank you so much! That was exactly what I needed. Took me 5 minutes to set it up and then it all worked!