Code Monkey home page Code Monkey logo

Comments (5)

TannerGabriel avatar TannerGabriel commented on June 8, 2024 2

I have not reproduced your problem yet, but I think the problem could occur if you have not defined a TURN server in your script (This repository only adds a STUN server because they are publicly accessible).

Creating your own TURN server can be done using Coturn or by running a TURN server example of the Golang WebRTC pion library.

You can then add the TURN server in your script using the following syntax in your config:

const config = {
  iceServers: [
      { 
        "urls": "stun:stun.l.google.com:19302",
      },
      { 
        "urls": "turn:TURN_IP?transport=tcp",
        "username": "USERNAME",
        "credential": "PASSWORD"
      }
  ]
};

I also plan on writing an article about how you can set up and configure your own Turn server.

I hope this helps, and I will take a look at a closer look at the issue as soon as possible.

from webrtc-video-broadcast.

TannerGabriel avatar TannerGabriel commented on June 8, 2024 1

That sounds like very interesting findings. I will check this problem out myself in the coming weeks and try to find a fix.

from webrtc-video-broadcast.

MATTiVOLTARii avatar MATTiVOLTARii commented on June 8, 2024

Hi, I have the same issue that most of the times on the viewer site nothing displayed.
I also spent hours testing and changing the lifecycle. Nothing works. On Localhost viewer works every time.
I would be very thankful for a fix.

Im not a expert but i guess the multiple executions have something to do with candidate negotiation.

from webrtc-video-broadcast.

rajgits avatar rajgits commented on June 8, 2024

Its working on STUN and TURN own server but i cant see multiple devices when i add tabs on Brodcast.

from webrtc-video-broadcast.

TannerGabriel avatar TannerGabriel commented on June 8, 2024

The application currently only supports only one broadcaster, and it will stay that way. Still, I'm planning to also make a WebRTC application that features different chat rooms that you can connect to using some kind of ID or URL like Zoom.

from webrtc-video-broadcast.

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.