Git Product home page Git Product logo

Comments (9)

Renjithcse avatar Renjithcse commented on July 19, 2024 2

Not working with different network.With in same network working fine. I tested on our side and also your demo.

found any solutions on this ?

Its due to turn/stun server. U can get free one from xirsys or implement your own turn.stun server

from video-call-app-nodejs.

amirsanni avatar amirsanni commented on July 19, 2024 1

Unfortunately, I cannot recreate this. Which browsers are you using? Also, is there any error in the browser console?

from video-call-app-nodejs.

amirsanni avatar amirsanni commented on July 19, 2024 1

The different network issue is most likely due to the turn/stun server used. It's a free one provided by xirsys and has a monthly limit, which is usually exhausted because many people use it on the demo. I'll advise you get a free one yourself or use any other one.

from video-call-app-nodejs.

Till0196 avatar Till0196 commented on July 19, 2024

Is it possible to support https for the local network?

from video-call-app-nodejs.

amirsanni avatar amirsanni commented on July 19, 2024

Yes but you'll have to set that up yourself.

from video-call-app-nodejs.

Till0196 avatar Till0196 commented on July 19, 2024

I wrote the code to support https easily. But it doesn't work. Please help me.

var express = require('express');
var app = express();
var fs = require('fs');

var options = { 
key: fs.readFileSync('./private.pem'),
cert: fs.readFileSync('./cert.pem') };  

var server = require('https').createServer(options, app);
var io = require('socket.io')(server);
var stream = require('./ws/stream');
var path = require('path');
var favicon = require('serve-favicon');

app.use(favicon(path.join(__dirname, 'favicon.ico')));
app.use('/assets', express.static(path.join(__dirname, 'assets')));

app.get('/', (req, res)=>{
    res.sendFile(__dirname+'/index.html');
});


io.of('/stream').on('connection', stream);

server.listen(3000);

from video-call-app-nodejs.

nikhillad01 avatar nikhillad01 commented on July 19, 2024

Not working with different network.

from video-call-app-nodejs.

nikhillad01 avatar nikhillad01 commented on July 19, 2024

Not working with different network.With in same network working fine. I tested on our side and also your demo.

found any solutions on this ?

from video-call-app-nodejs.

amirsanni avatar amirsanni commented on July 19, 2024

I just found out my xirsys account was disabled by Xirsys, hence the issue. If you encounter this issue, please get a TURN/STUN server of your choice and use.

image

from video-call-app-nodejs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.