hi all,
anyone who have this lib :WebRTC Client & Server : Source Codes
I set up the b4j server on a vps and it works fine
but it only works if the clients are on the same network, if they are on different networks (on the internet behind nat) then the connection did not established and have this error on the logs:
PeerConnectionState: CONNECTING
IceConnectionState: FAILED
PeerConnectionState: FAILED
Critical error: ICE connection failed.
stop
Closing peer connection.
In the above thread, they mentioned that the b4j server contains a turn server that relay the connection if there is no direct connection between clients, maybe this turn server must be configured in someway
anyone who have this lib :WebRTC Client & Server : Source Codes
I set up the b4j server on a vps and it works fine
but it only works if the clients are on the same network, if they are on different networks (on the internet behind nat) then the connection did not established and have this error on the logs:
PeerConnectionState: CONNECTING
IceConnectionState: FAILED
PeerConnectionState: FAILED
Critical error: ICE connection failed.
stop
Closing peer connection.
In the above thread, they mentioned that the b4j server contains a turn server that relay the connection if there is no direct connection between clients, maybe this turn server must be configured in someway