ice4j
ice4j copied to clipboard
Using ice4j for TURN only, no ICE
If I receive an SDP offer without any ICE candidates from the caller, I can't use the ICE Agent to perform connectivity checks but I may sometimes want to use ice4j to setup a TURN relay. Then I would just put the TURN server IP into my SDP answer in the "c=" line.
Is this possible with the ice4j API?
Could the Agent.nominate() method be used, or does that require the peer to be responding to checks?
Could a RelayedCandidate be constructed manually perhaps or should it be done through the Agent class or some other application-facing API needs to be added for this?
You can use the Agent in trickle mode and postpone connectivity checks until after you have candidates, via your signal channel or however you do it. While my post doesn't answer your question, I hope it helps; also I too am curious about the TURN portion of your inquiry.
Have you found good solution?