ice4j icon indicating copy to clipboard operation
ice4j copied to clipboard

Using ice4j for TURN only, no ICE

Open dpocock opened this issue 9 years ago • 2 comments

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?

dpocock avatar Nov 24 '15 21:11 dpocock

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.

mondain avatar Nov 25 '15 14:11 mondain

Have you found good solution?

micheljung avatar Jan 15 '16 02:01 micheljung