paullouisageneau / libjuice

JUICE is a UDP Interactive Connectivity Establishment library
Mozilla Public License 2.0
410 stars 76 forks source link

How to force peer connect using relay #171

Closed apinprastya closed 1 year ago

apinprastya commented 1 year ago

Is there any way to force peer connect using turn relay? I hack it by checking the candidates only process if it contain typ relay. Is that correct path to do it?

paullouisageneau commented 1 year ago

At the moment there is no setting to force TURN relaying. You may indeed filter candidates and pass only relay ones.

apinprastya commented 1 year ago

ok thanks for the answer, will close it.