Man this is pretty cool, thanks Abdi!! Keep it up Since the videoSize is unlikely to change, I would move the call to obtain the statsSync outside the /video endpoint.
Im on a mission to build one as well but have no clue to go about it.. Im currently debating whether or not I should set up my own server or piggyback off of something like a Soundcloud. Would you kindly please share your journey so far?
I don't know why you don't do more videos like this. By just watching stuff like this people learn a lot and what might seem easy and obvious to you is pretty obscure to many of us. Thank you for this nice little presentation , It was very informative. But please, could we have more ?
Nice video, I'm a front end developer and I was contacted by a streaming company to have a chat, they offered my a position and I have to learn all this stuff as soon as posible :)
Thank you for this tutorial, it is very cool and practical, we can let everyone access the server to see the video; I have a request, how do we send webcam video stream to server and let everyone views like youtube live stream ? It would be awesome if you can make such a tutorial and I think everyone wants to know how to achieve it !!!
Great tutorial Abdi. It would be helpful if you can also highlight how do we elevate this concept to streaming cloud storage contents i.e google cloud storage, aws s3.
Very cool video, i like your code style and explanations. Just one thing, i believe this is not good to use statSync (or any sync IO function) inside a request handler, cause this would block the JS runtime event loop.
Hi there, thanks for the video! Im trying to build an audio streaming site but have no clue how to go about it.. Im currently debating whether or not I should set up my own server or piggyback off of something like a Soundcloud as an example. Would you kindly please share any tips for this kind of approach?
Hey I really did the clear explanation of both the overview and the line-by-line code. And such a simple code to illustrate the point. From the figure you have at 1:10, the two-way arrows got me wondering: how could we send recorded video from a client to the server in the same kind of bit-by-bit stream? I've build a client-side page that records video that I can then send to a server, but am looking to speed up the process and avoid saving anything client-side. Any ideas? Cheers!
This is cool man, as soon as I saw your post, I immediately jumped into implementing it, I feel so great about this after implementing it, thanks for sharing, can you do more tutorial about streaming and pipes, buffering, I see the network tab is having media ping with every time streaming is done, is that normal ? or can we hide that 206
Hey I wanted ask but in containerized environments the video will not be on localhost, so what would be the ideal place to story them would s3 make sense ?.
Can you please make a video which can demonstrate how to handle the pre-existing video data in frontend. As you suggested in the last part of the video. Please reply.
Your video is really interesting . I have a challenge in this . I am downloading the file from a FTP location and the the received file is in the form of a stream . How to send that stream as chunks without storing the ftp received file in the local system ?
If I use fetch get request to get the video then where should I include ranges. When I include in header the subsequent requests shows 401 because of authentication middleware
I think that pipe(res) maybe cause a memory leak if the peer close the connection, there is no code to close the stream if this happens, maybe you could use pipeline instead, this way it automatically close the stream. But good video
i really like your concept, i have a question if you can answer. how do i switch between audio track if video file have multiple audio tracks? i couldnt find this solution where i can change my audio track in video controller. thank you
Man this is pretty cool, thanks Abdi!! Keep it up
Since the videoSize is unlikely to change, I would move the call to obtain the statsSync outside the /video endpoint.
I’m happy you liked it! I’m a fan of your channel 😄 And that makes a lot of sense, thanks for the feedback!
oh wow, I'm a big fan Hussein ❤
use stat method
But what if this method is fetching the video dynamically.?
this feels like a PR comment from senior engineer 😂
it is rare nowadays that yt feeds me content this valuable. well done, we need more creators like you...subbed!
Great explanation with the pros and cons, and especially the introduction. Keep going brother!
I'm trying to build an audio streaming server instead, and this is helping me get the blocks I need to piece things together.
Thanks Abdi!
Im on a mission to build one as well but have no clue to go about it.. Im currently debating whether or not I should set up my own server or piggyback off of something like a Soundcloud.
Would you kindly please share your journey so far?
I don't know why you don't do more videos like this. By just watching stuff like this people learn a lot and what might seem easy and obvious to you is pretty obscure to many of us. Thank you for this nice little presentation , It was very informative. But please, could we have more ?
That is because he really don't know what he's doing. he's just copy pasting a tutorial
very cool and I like the way you walk through the video explaining all of the parts. Thanks
Man oh man!! Thank you! I will be waiting for more such content from you.
Very clear and easy to understand explanation, thanks so much Abdi!
You know I have no idea who you are but just from that introduction I can already tell you'll have 100K subs within the next year
One month later and he's 10% of the way. He's ahead of schedule xD
Looks like this won't happen
@@ShahriyarAlam1 it will happen
@@ShahriyarAlam1 he just stopped uploading videos
Bruh
you explained everything so clearly, loved it
Thank you man, very well explained, with all the details and very good English!
Extremely informative and straightforward. Thank you.
You've earned yourself another subscriber. Awesome tutorial!
Great Video! Hope to see more content! Young and Talented!
Nice video, I'm a front end developer and I was contacted by a streaming company to have a chat, they offered my a position and I have to learn all this stuff as soon as posible :)
This is really good! Keep going!
that was the most clear description,thanks
Thanks, dude, for showing me how to stream video. It also gave me the motivation to pay attention to http headers.
They are super important! Happy to have helped :)
Thank you brother. I will try this out. I look forward to more tutorials
This was amazing for clearing basics.
Amazing 🔥 content ..... This channel is so underrated
Keep it up! Good Work Buddy...Very Helpful
Thanks! 😁
Clear and straightforward! Thx.
This is Netflix's architecture. Love to see this Abdi!
This is great! Exactly what I was looking for. I am curious to know how you would implement view count. Thanks so much!
Hey man, this is really helpful. Thanks
Keep going bro. You’ve got good explanation
Thanks for the support!
Really good explanation. keep it up.
Love you man, you're great.
a very cool tutorial.. Thanks mhan
You deserve more subscribers buddy!!
Awesome video!
you've earned a subscriber, thanks dude!
Awesome, thank you!
Awesome tutorial ,thank you soo much ♥️♥️♥️
It worked perfect Sir!
awesome. have subscribed.. looking forward for more videos to learn!!!
Thanks this was very helpful. Keep it up
Glad it helped! 😁
You are the best❤
I'll try to implement this in Next.js
Really helpful, Thank you so much. keep going please ...
Nice video man. Thanks a lot.
Amazing tutorial, Thank you
Loved it. Thanks.. I will build upon this
great video! Thank you!
Love you for this video!!! Instant sub
That was really helpful, thanks
got a lot of info here, thanks
awesome !! loved it!!
Thank you buddy, you should do more videos like this
amazing bro!!!
This was amazing
really good! appreciate it
Thanks for the simple but useful video
Glad it was helpful!
thats great bro, thank for video.
Thanks for this video!
Great content man
Subscribing hoping for more awesome content
Well explained!
You are great man
Thanks! very useful
Thank you for this tutorial, it is very cool and practical, we can let everyone access the server to see the video; I have a request, how do we send webcam video stream to server and let everyone views like youtube live stream ? It would be awesome if you can make such a tutorial and I think everyone wants to know how to achieve it !!!
great content thank you so much
Great tutorial Abdi.
It would be helpful if you can also highlight how do we elevate this concept to streaming cloud storage contents i.e google cloud storage, aws s3.
Great video! It helped me grasp an upcoming feature we are implementing.
Question, what tests would be applicable to write for this?
thanks for this! :)
Thank you so much, you are the best :'D
Super Awesome explanation & topic ++++++++++++++++++++++ Thank You
Thx, it was helpfull!!!
Very cool video, i like your code style and explanations.
Just one thing, i believe this is not good to use statSync (or any sync IO function) inside a request handler, cause this would block the JS runtime event loop.
Amazing !!!
great video, make some more in details videos like that
this is awesome thank you
Thanks, this really helped.
Glad it helped!
its lit💥, thanks bruv.
Thank you! 🙏🏾
Good job mate
MashAllah keep up my dawg
fantastic!
Sir you make so good
You're so awesome!!! 😎😎😎😎
awesome, thank you!
exactly what am I searching... 👍🏿👍🏿👍🏿
Hi there, thanks for the video! Im trying to build an audio streaming site but have no clue how to go about it.. Im currently debating whether or not I should set up my own server or piggyback off of something like a Soundcloud as an example.
Would you kindly please share any tips for this kind of approach?
thanks a lot for the video ...
Hohooooo... this is it.
Tanks bredda.
thank you bro . you rock
Really appreciate your work ...Can you make more detail full stack live streaming project....
Zindabad
Brother
Hey I really did the clear explanation of both the overview and the line-by-line code. And such a simple code to illustrate the point.
From the figure you have at 1:10, the two-way arrows got me wondering: how could we send recorded video from a client to the server in the same kind of bit-by-bit stream? I've build a client-side page that records video that I can then send to a server, but am looking to speed up the process and avoid saving anything client-side.
Any ideas? Cheers!
I think that could work! You’ve got a good idea 😁
can you make a like time video streamer like a tv video which doesn't allow you to go forward or backward but steam at the same time for all people ?
thank you bro
This is cool man, as soon as I saw your post, I immediately jumped into implementing it, I feel so great about this after implementing it, thanks for sharing, can you do more tutorial about streaming and pipes, buffering, I see the network tab is having media ping with every time streaming is done, is that normal ? or can we hide that 206
There's no hiding
You are awesome
Appreciate it! 🙌
Hi, how can we implement video quality option upon the user choice for HD, 1080, 720 etc.
Hey I wanted ask but in containerized environments the video will not be on localhost, so what would be the ideal place to story them would s3 make sense ?.
Can you please make a video which can demonstrate how to handle the pre-existing video data in frontend.
As you suggested in the last part of the video.
Please reply.
Your video is really interesting . I have a challenge in this . I am downloading the file from a FTP location and the the received file is in the form of a stream . How to send that stream as chunks without storing the ftp received file in the local system ?
what if we have more than one client, how do server handle more than one client at the same time? not just about video streaming but in general?
If I use fetch get request to get the video then where should I include ranges. When I include in header the subsequent requests shows 401 because of authentication middleware
I think that pipe(res) maybe cause a memory leak if the peer close the connection, there is no code to close the stream if this happens, maybe you could use pipeline instead, this way it automatically close the stream. But good video
i really like your concept, i have a question if you can answer.
how do i switch between audio track if video file have multiple audio tracks?
i couldnt find this solution where i can change my audio track in video controller.
thank you
Abdi, thank you so much for your video. For some reason regular expression /D/g wasn't working for me. I replace it with /[^0-9]/ and it workde.
Yea that’s weird, glad you were able to figure something else out!
excellent