Coder Social home page Coder Social logo

Comments (10)

mkhahani avatar mkhahani commented on July 20, 2024

Hi
Probably firewall issue. Check your console log for both the client and server.

from mediasoup-sample-app.

madabhaviamit avatar madabhaviamit commented on July 20, 2024

Hi
Probably firewall issue. Check your console log for both the client and server.

Hi @mkhahani,

I have setup the application on my google cloud VM instance, Firewall is disabled and all the ingress and egress ports are open. Service is up and running now.

Use the link to access the same, https://34.93.234.144:3000.
Also, there are no error logs on the server side, and i would want to understand how callback() function is working here.

Request you to access the link once and let me know if further details are required.

from mediasoup-sample-app.

mkhahani avatar mkhahani commented on July 20, 2024

You need to provide a domain. HTTPS connection can not be validated over IP. Check the error log in your browser console.

from mediasoup-sample-app.

madabhaviamit avatar madabhaviamit commented on July 20, 2024

from mediasoup-sample-app.

mkhahani avatar mkhahani commented on July 20, 2024

Unfortunately the link is not opened for me (the IP seems to be blocked).
You should be able to see the error log via the Chrome console using F12 key.

from mediasoup-sample-app.

madabhaviamit avatar madabhaviamit commented on July 20, 2024

Unfortunately the link is not opened for me (the IP seems to be blocked).
You should be able to see the error log via the Chrome console using F12 key.

Hi @mkhahani ,

The service was shutdown yesterday, It is up and running now. I am not able to see any errors on the console. Can u please try to access it now.

from mediasoup-sample-app.

mkhahani avatar mkhahani commented on July 20, 2024

Some thing must be wrong with your configuration. Have you set the announcedIp in the configuration file? Read more here.

Chrome webrtc-internals shows that it's trying to establish connection to IP 10.160.0.2 which is different than 34.93.234.144:

image

Also make sure you've opened the UDP port range in your server firewall.

from mediasoup-sample-app.

madabhaviamit avatar madabhaviamit commented on July 20, 2024

Hi @mkhahani,

My server's private IP is 10.160.0.2 and the public IP is 34.93.234.144.

What shall i set in the following configuration for listenIPs?

webRtcTransport: {
listenIps: [
{ip: '192.168.1.100', announcedIp: null}
],
maxIncomingBitrate: 1500000,
initialAvailableOutgoingBitrate: 1000000,
}

from mediasoup-sample-app.

madabhaviamit avatar madabhaviamit commented on July 20, 2024

Hi @mkhahani,

I have set IP as private IP and announced IP as Server's Public IP. Now It is working.

Thank you so much for your help.

We here, are trying to build a Live Streaming App with recording on server with the help of mediasoup. We are still looking at how things work in mediasoup.

from mediasoup-sample-app.

mkhahani avatar mkhahani commented on July 20, 2024

Very good.

We here, are trying to build a Live Streaming App with recording on server with the help of mediasoup. We are still looking at how things work in mediasoup.

Good luck then.

from mediasoup-sample-app.

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.