P2P Signaling for WebRTC with SignalHub

Поділитися
Вставка
  • Опубліковано 16 гру 2024

КОМЕНТАРІ •

  • @wmhilton-old
    @wmhilton-old 6 років тому +9

    The README for signalhub on GitHub has a list of publicly available signalhub servers you can use for free! (I made them. 😁)

    • @kylerobinsonyoung
      @kylerobinsonyoung  6 років тому +2

      Oh right on! Thanks for making those! Everyone else see this link: github.com/mafintosh/signalhub#publicly-available-signalhubs

    • @EnricoPietrocola
      @EnricoPietrocola 4 роки тому +1

      @@kylerobinsonyoung Thanks for this guys

    • @ilyesbourouba5311
      @ilyesbourouba5311 3 роки тому

      Thanks bro...

  • @vishalsharma123
    @vishalsharma123 4 роки тому

    It is good if you increase the font size in the editors also max resolution available is 480p so it's not quite clear when you walkthrough the code... Will check on PC if its good there ...

  • @franciscobach
    @franciscobach 6 років тому

    Hi Kyle! For what I've been reading around the internet, it seems that in order to establish a connection P2P(not LAN) after the signaling process, the connection between the peers to effectively being able to transfer data needs to go through the so called STUN server, which if I'm not wrong has the task to figure out a way to resolve the external address and set up a port mapping that can be used by the peer. It has so many people saying alot of stuff about webrtc that I'm getting confused. Is really necessary to have a STUN server and all that architecture(STUN/TURN, and I don't know what else)? I apreciate if you can help me figure this out. Thanks Kyle!

  • @muddassirahmed3342
    @muddassirahmed3342 6 років тому

    Hi there Kyle,
    Im just having problems hosting the whole app to heroku?
    Can you please help me with that?
    Cause, we have to run the signalling server in the cli and the node app in another cli. How to achieve this in Heroku? We can only run node app on it I suppose but not our signalling server

  • @peterlang7332
    @peterlang7332 5 років тому

    Can we add the user ID in a database and allow calling to a specific person saved on that database? If so, can you make a tutorial about this? It will be much appreciated. Thanks.

  • @durchschnittlich
    @durchschnittlich 6 років тому +3

    You could run the signalhub server on glitch.com

    • @kylerobinsonyoung
      @kylerobinsonyoung  6 років тому +3

      Oh wow! I didn't know. I just added "start": "signalhub listen" to a package.json there and voila, a signalhub server. So cool. Nice! Thanks for the tip!

    • @wmhilton-old
      @wmhilton-old 6 років тому +1

      now.sh also makes it super easy. If you have the now CLI, you just type 'now mafintosh/signalhub'. Just run it once though, don't put it in the npm start script, because it'll start a new signalhub server by grabbing it from github and give you a permanent URL for your new server.

  • @EthanRooke
    @EthanRooke 6 років тому

    Probably worth noting signal hub doesn't work in firefox. There's an issue explaining the problem and a pull request to fix it. You can manually install that version, but just doing npm install signalhub wont work.

  • @shermammiranda
    @shermammiranda 6 років тому +1

    Hey Kyle, It is good to have you back. I really like your videos. Just one observation, I tried here the signalHub lib, but it does not seem to be using WebRTC. In my case it seems to be using long pooling. Still it is great to do the handshake when using something like simplepeer. My doubt came from the fact that when I stopped the signalhub server after the clients were already conected the communication stopped. Am I missing something here? Again great job man.

    • @kylerobinsonyoung
      @kylerobinsonyoung  6 років тому +4

      I could of swore that signalhub did use WebRTC at one point but you are correct, it doesn't use webrtc. I totally got that wrong. In order to use webrtc with signalhub, we also need webrtc-swarm: github.com/mafintosh/webrtc-swarm
      I'll update the title of this video and work on an update video to clarify. Thanks a bunch for the correction!

  • @mdsalahuddin2841
    @mdsalahuddin2841 6 років тому

    would you please create something with simple-peer?

  • @TheOlian04
    @TheOlian04 6 років тому

    Using github pages would work, if you didn't have to host the signal server as well.

    • @kylerobinsonyoung
      @kylerobinsonyoung  6 років тому

      Yeah true. I was hoping to provide a list of free signaling servers but I couldn't find any reliable ones.
      Another free option that might work is firebase.google.com. They provide free (for low traffic) HTTPS hosting and you can run Node.js services on their cloud functions. I use firebase but haven't yet tried running a P2P app with it.

  • @789alizaidi
    @789alizaidi 6 років тому

    this is just amazing... hey kyle can we also do some livestreaming using this signaling??

  • @anishpr5658
    @anishpr5658 6 років тому

    Cool video