Open ajesh1234 opened 1 year ago
From what you mention it seems a Stun/Turn problem, you should configure your own server using for example: Coturn (With Ubuntu), then you use this code and modify it with your data:
// first step, ignore default STUN+TURN servers
connection.iceServers = [];
// second step, set STUN url
connection.iceServers.push({
urls: 'stun:yourSTUN.com:port'
});
// last step, set TURN url (recommended)
connection.iceServers.push({
urls: 'turn:yourTURN.com:port',
credential: 'password',
username: 'username'
});
connection.openOrJoin('your-room-id');
Hi, Its working in same country network but if one user from india and another from other country then its not working and not showing any audio/video. Let me know pls if is required any changes in configuration