Streaming video with Node.js and React: a step-by-step guide

Sdílet
Vložit
  • čas přidán 18. 01. 2023
  • 🔥Welcome to the Ultimate Guide to building a Video Streaming App with Node.js Backend and React Front-end! In this in-depth tutorial, I will walk you through every step of the process. Follow along as we dive deep into the world of video streaming and learn how to harness the power of Node.js and React to create a cutting-edge web application.
    ▶️ Video Timestamps:
    1:45 Setting up the Node.js server
    11:15 Creating the React component
    21:00 Wrapping up
    🌟Don't forget to give this video a thumbs up if you found it helpful, and subscribe to the channel for more awesome tutorials like this one!
    📚 Resources & Links:
    Node.js: nodejs.org/
    React: reactjs.org/
    GitHub Repository: github.com/Nitij/node-video-s...
    🌐 Be sure to follow us on social media for updates and more tutorials:
    🔴 My Channel: / coderadiance
    🔴 View Playlists: / coderadiance
    🔴 My Github: github.com/Nitij
    🎮 Join our community on Discord!
    Our Discord community is the perfect place to meet other developers, share your projects, and get help with any problems you encounter. Join our Discord server now and become a part of this amazing community: Discord: / discord
    🔔 Subscribe to the channel!
    By subscribing, you'll get notifications for all my latest videos and tutorials, ensuring you never miss a single tip, trick, or piece of advice. Click the link below to subscribe: / coderadiance
    💬 If you have any questions, suggestions, or feedback, please leave a comment below. I'd love to hear your thoughts on this tutorial, and I'm always happy to help out if you need any assistance.
    #NodeJS #React #VideoStreaming #WebDevelopment #Tutorial
    Happy coding! 🎉
  • Věda a technologie

Komentáře • 32

  • @davidavanderburgh
    @davidavanderburgh Před rokem

    Thank you thank you thank you! This was an excellent tutorial :D

  • @tejasshaha569
    @tejasshaha569 Před 11 měsíci

    great video, your teaching technique is best... Thank you ❤

  • @Latigo
    @Latigo Před 8 měsíci

    Excellent information. Thank you very much!

  • @abdouspaindz5270
    @abdouspaindz5270 Před rokem

    Thank you very much sir, please can you provide as a link of the code also if this streaming is on real time in lan or widely ?
    Thanks in advance

  • @rifatnoor9956
    @rifatnoor9956 Před rokem

    Helped a lot. Thanks

  • @grinfluencers
    @grinfluencers Před 9 měsíci

    Just. Amazing. Thanks a lot 🙂

  • @shivamkumarkashyap9273
    @shivamkumarkashyap9273 Před 11 měsíci

    You really help me a lot ... Thank you :)

  • @nitishagrahari9943
    @nitishagrahari9943 Před 8 měsíci

    do you need to pass the range header from front end or it loads entire video from api as there are two options

  • @mamunahmed8950
    @mamunahmed8950 Před 3 měsíci

    In production where I can put the videos also without bufferless ?

  • @surajshrestha4164
    @surajshrestha4164 Před rokem

    Can we use this api for mobile development

  • @godmarshall91
    @godmarshall91 Před 8 měsíci +1

    am i missing something or is the chunksize set to be the entire video? could we not set the chunksize ourselves using something like 10**6 for a megabyte etc

  • @gugugugu99999
    @gugugugu99999 Před rokem

    감사합니다 !!

  • @ofelyahakobyan2344
    @ofelyahakobyan2344 Před 7 měsíci

    Can you please make video for range header also. When we send data to the frontend in chunks

  • @alihsnz9196
    @alihsnz9196 Před 10 měsíci

    Thank you very much, dooset daram

  • @HuyLe-mi2uo
    @HuyLe-mi2uo Před 6 měsíci

    thanks you

  • @JinoLeGeek
    @JinoLeGeek Před 8 měsíci

    great video , good luck

  • @michael_ibeh
    @michael_ibeh Před 4 měsíci

    is this possible with python?

  • @destinyuduebholo6260
    @destinyuduebholo6260 Před 7 měsíci

    why the -1 and the +1 ?

  • @sazawal
    @sazawal Před 6 měsíci

    I have an issue if the video is big. When the player is in buffering state and I click on the video, it displays an error on the browser, "AbortError: The fetching process for the media resource was aborted by the user agent at the user's request." Any idea why it is happening? Thanks for the video.

    • @jameswill2334
      @jameswill2334 Před 2 měsíci +1

      You have to dertermin your chunksize for example : const chunkSize = 10 ** 6
      Then listent on that readStream event "data" with your readStream and fire a callback function that give you that chunk of data and what you have to do is sending that chunk with "res.write(chunk)". I think the fact that with the pipe method, it can't handle a large file or something like that, with a small file under 2GB, it's great !
      Anyway, thank for his video of this chanel, it's a great tut video !

  • @yigitruzgaruzun7289
    @yigitruzgaruzun7289 Před rokem +1

    Thanks

  • @SameerShaikh-zf9gm
    @SameerShaikh-zf9gm Před rokem

    I guess it's not secure beacuse we can download video from network tab

  • @ehSamurai3483
    @ehSamurai3483 Před 2 měsíci +1

    What if I have authentication too on my endpoint?

    • @bisw4sh
      @bisw4sh Před 2 měsíci

      If you haven't already done. Simply put token in header or token, and the middleware runs through auth, on subsequent partial chunks doesn't seem to be bothered with req.

    • @ehSamurai3483
      @ehSamurai3483 Před 2 měsíci

      @@bisw4sh I can't send token in header in the hardcoded url in the src of the video tag.

  • @salaheddineelmahjour8956
    @salaheddineelmahjour8956 Před 4 měsíci

    💯

  • @devalefe
    @devalefe Před rokem

    Hi bro, nice work! I need to use this method but with jwt auth and block user download, could you help me? +1 sub! 😄

  • @reazourrahamanrabbi5594

    very helpful bro,, Can you provide me code please ?

    • @CodeRadiance
      @CodeRadiance  Před rokem

      Sure, here you go. github.com/Nitij/node-video-stream

  • @Lorem7701
    @Lorem7701 Před měsícem

    it doesnt work with movies, it just stops when you skip too far

  • @facts-no2kp
    @facts-no2kp Před 4 měsíci

    ?

  • @NASA_VAULT
    @NASA_VAULT Před 6 měsíci

    what is range, what is stat? you are just simply pasting code, Where is explanation?
    Ahh, we can say that you are just creating whole functionality not the explained logic.