I am having an issue with generating relay candidates. The steps I follow are written below:
- Calling createWebRTCTransport from mediasoupclient.
- Above api returns DTLS Parameters, ICE Candidates, ICE Parameters.
- I append my TURN creds into ICE Servers properties, and call createSendTransport api of mediasoup-client with the details from Step 2.
- I have NAT restrictions and my stream requires TURN (relay) ICE candidates.
However, the ICE candidates gathered in step 1 are the only ones available and we provide the TURN servers after the ICE candidates are generated at server side.
Is there a way to generate relay candidates separately?
Am I following the correct steps in transport generation?
If all the steps above are correct, my streams are still blocked. Is there a way to debug where the problem exactly lies?