-
Hello, We use pion on our encoders using SetNAT1To1IPs with ICECandidateTypeHost. This works perfectly when pion is directly accessible from the internet with firefox and chrome browsers. So we have configured Coturn in mode: Janus has been configured :
With janus it works with chrome and firefox if you put the private ip in the nat mapping and with the keep_private_host With pion, the ICECandidate Type Host is not usable with private ip. So we used a Srflx type, and indicated the public and private ip. So we need to be able to send candidates by pion in the same way as janus of the type:
Is there a standard way to configure/use pion to rewrite sent candidates? Or another way to do it. While remaining host type to avoid a configuration by STUN when STUN/TURN is not used and which works as well under chrome as firefox ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @mysolo So FireFox will not attempt to use Pion's srflx candidate if FireFox only has host candidates? I think that is worth investigation on the FireFox side, that might be hurting their connectivity success rates. Unfortunately I don't see anything we can do without breaking public API. The quickest way to implement this on your side would de strings.ReplaceAll and rewrite |
Beta Was this translation helpful? Give feedback.
Hey @mysolo
So FireFox will not attempt to use Pion's srflx candidate if FireFox only has host candidates? I think that is worth investigation on the FireFox side, that might be hurting their connectivity success rates.
Unfortunately I don't see anything we can do without breaking public API. The quickest way to implement this on your side would de strings.ReplaceAll and rewrite
typ srflx
->typ host