Webrtc One To Many Broadcast - SFU (ion-sfu)

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 45

  • @raghav042
    @raghav042 3 года назад

    Finally pion pe tutorial aa gya

  • @jselbie
    @jselbie 2 года назад

    Nice walkthough. Quick question. At the end of the video you mention: "you will need a TURN server if you deploy this to the cloud". If the ion-sfu server is on the public internet with all Ephemeral ports being open and forwarded, why would a relay server be needed? The ICE methodology would insure a connection unless UDP was completely blocked. Is there a client NAT configuration in which connectivity to TURN would be more reliable that direct connection to the ion-sfu?

    • @jasonshen
      @jasonshen  2 года назад

      turn is only need it in some strict networks, yeah like udp is disable or most hotel WiFis, if u want 100% connect rate turn is recommended

  • @aminehero9948
    @aminehero9948 2 года назад +1

    can build a twitch clone with ion-sfu with chat and one to many broadcasting ? and thaks for sharing your knowledge

  • @richardparker426
    @richardparker426 3 года назад +1

    Great video! The tutorial is working great on loclhost. But when i deployed ios-sfu server on aws
    Client.ontrack was not getting fired and client was not able to receive live stream. How can i solve this? Thanks please help 😀

    • @jasonshen
      @jasonshen  3 года назад

      Cheers buddy nice to hear you liked the tut, you need ssl for production, aws is an totally different topic to setup, join my slack channel, happy to help, cheers

  • @HisSonsMusic
    @HisSonsMusic 3 года назад

    Hey Jason Great video, I can't see the stream on my end, even when i fork your repo, What could be the problem?, Am using a Mac Air M1

    • @jasonshen
      @jasonshen  3 года назад +1

      As far as I know I am sure it works on m1 chips, but to ensure you should try to deploy it on the cloud and test it out

    • @HisSonsMusic
      @HisSonsMusic 3 года назад +1

      @@jasonshen Thank you Jay

  • @jasonshen
    @jasonshen  3 года назад

    not sure why all the comments are gone @Rohit kumar varma please ask again if you still have questions

    • @kissmeifyouloveme5983
      @kissmeifyouloveme5983 7 месяцев назад

      How to use this SDK in react native? Is it possible or not?

  • @kangshaojun
    @kangshaojun 3 года назад +2

    That's good

  • @sevensignslk4393
    @sevensignslk4393 Год назад +1

    Does ion sfu supports simulcast ?

    • @jasonshen
      @jasonshen  Год назад

      Yes it does

    • @sevensignslk4393
      @sevensignslk4393 Год назад

      @@jasonshen do we have to configure anything to work or it works automatically ?

    • @jasonshen
      @jasonshen  Год назад

      You have to enable it from the front end

  • @raghav042
    @raghav042 3 года назад +1

    Please make video on pion flutter (ion app flutter)

    • @jasonshen
      @jasonshen  3 года назад

      That is coming soon, subscribe and and hit the bell as well, once uploaded u will get notify

    • @jasonshen
      @jasonshen  3 года назад +1

      Btw reactjs is coming first then flutter

  • @MrSandy3ind
    @MrSandy3ind 3 года назад +1

    Hi Jason, great video. I want to build live video stream for my teaching app. How many participants ion sfu can support? Does it support around 1000 participants?

    • @jasonshen
      @jasonshen  3 года назад

      With some optimization yes it can go up to 1k no problems, or u can scale it out, there are many options

    • @MrSandy3ind
      @MrSandy3ind 3 года назад

      @@jasonshen Thanks for the reply. Can you please give me any reference link how to optimize and scale it. Is it better than Jitsi meet in terms of scaling up to 1k participants?

    • @jasonshen
      @jasonshen  3 года назад +1

      Well there isn’t any reference as such, you just need to figure out unfortunately like any other opensource project, or u find someone to do it for you, and yes for sure, personally don’t like jitsi, the advantage of using jitsi is you have almost everything out of the box, but saying that if you wanna customize it, it’s not the easiest job in the world.

    • @MrSandy3ind
      @MrSandy3ind 3 года назад +1

      @@jasonshen Great thanks

    • @combinedcognitions1905
      @combinedcognitions1905 2 года назад

      @@MrSandy3ind hey man did you manage to optimize it ?

  • @DMPGamingYoutubeTube
    @DMPGamingYoutubeTube 3 года назад

    Hey buddy, just wondering what your vs code theme is. Thanks

    • @jasonshen
      @jasonshen  3 года назад

      Sorry for the late reply, the theme is one dark pro

    • @jasonshen
      @jasonshen  3 года назад

      The color theme is cobalt2

    • @DMPGamingYoutubeTube
      @DMPGamingYoutubeTube 3 года назад +1

      Jason Shen no worries, Appreciate it!

  • @combinedcognitions1905
    @combinedcognitions1905 2 года назад

    ive manage to get this to work inside my network but one i slip outside my servers network on which Ion sfu is running on nginx with ssl and wss websockets setup.. it works in the same network .. outside the network its make contact to the wss server and stuff but cant publish or get track 🤧..

    • @jasonshen
      @jasonshen  2 года назад

      Is ur server behind a nat?

    • @jasonshen
      @jasonshen  2 года назад

      What server u using, you also need to open the udp ports to enable the webrtc part to work

    • @combinedcognitions1905
      @combinedcognitions1905 2 года назад

      @@jasonshen own server runing Nginx on public IP thanks .. ive shared it in your slack

  • @yadude101
    @yadude101 3 года назад

    is this essentially how youtube live, instagram live or twitch, etc. would work? do they use webrtc? is it a one to many Broadcast - using SFU?

    • @jasonshen
      @jasonshen  3 года назад +1

      I think they use a mcu for their scale, they must mux and compress the video, but for a smaller scale app sfu will do the job nicely

    • @yadude101
      @yadude101 3 года назад

      @@jasonshen thanks for the answer, it's probably the 10th time I've asked it, & u were the first to answer😀So an mcu is a Multipoint Conferencing Unit? & it utilizes mux instead of webrtc? thnx

    • @jasonshen
      @jasonshen  3 года назад +1

      No mcu stands for Multipoint Control Units, it is still webrtc mux means mix but it’s a term is used to mix video and audio

    • @combinedcognitions1905
      @combinedcognitions1905 2 года назад

      @@yadude101 my guess would be they use webrtc for ingest and push it to a cdn and its served to millions from there

  • @Gigabyteserviceofficial
    @Gigabyteserviceofficial 2 года назад

    can we send this stream to another pion/ion-sfu server so if we have e.g 10 pion/ion-sfu server and one can stream 1000 users that means if we have 10 then we can stream 10K users, if it's do that then please a video for that, thanks

  • @AhmedElShiekh-n1
    @AhmedElShiekh-n1 Год назад

    How to get view broadcaster by id because your code is already for. One broadcaster what i mean is watch broadcast by id and set broadcast by id
    Broadcast?id=streamerid
    Watch?id=streamerid

    • @jasonshen
      @jasonshen  Год назад

      That u will have to make the logic on top of this

    • @AhmedElShiekh-n1
      @AhmedElShiekh-n1 Год назад

      @@jasonshen can you help me in my code pls ..i would to be in touch with you 😉😉