No. The steam api should not have anything to do it.
You could (and probably should) add a TURN server to your ICE servers list to facilitate better connectivity across the internet.
TURN server services are normally not free, but I believe there are some limited use ones out there you can try for free to see if they resolve your connection issues.