How To Code A Video Streaming Server in NodeJS

preview_player
Показать описание


How to code a simple server that streams video instead of downloading the whole video.

Coding Begins: 1:53

Рекомендации по теме
Комментарии
Автор

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.

hnasr
Автор

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

gamingllama
Автор

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 ?

edwardmacnab
Автор

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!

midnightcigarettes
Автор

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 :)

alejandropoirier
Автор

Congratulations for this simple but very helpful video. I got a question: when you skipt to a specific point of the video, the intermediate chunks are downloaded too or not?

Thanks and hello from Brazil!

candidodmv
Автор

very cool and I like the way you walk through the video explaining all of the parts. Thanks

franktfrisby
Автор

you explained everything so clearly, loved it

Epistemer
Автор

Extremely informative and straightforward. Thank you.

ArisFilms
Автор

Thank you man, very well explained, with all the details and very good English!

alexandrumarius
Автор

Very clear and easy to understand explanation, thanks so much Abdi!

chadzulu
Автор

Thanks, dude, for showing me how to stream video. It also gave me the motivation to pay attention to http headers.

joselito
Автор

Great tutorial, thanks. How would this work in practice, though? The video blobs will presumably reside on S3/GCS/whatever. When a request for a video comes in, surely the server wouldn't fetch the whole video and keep it in memory, while serving chunks of it? Would it prefetch chunks of the video from blob storage and serve that until the next chunk is required? Or would the server containers somehow connect to a huge local storage area network with all the videos?

arthurk
Автор

Great video! It helped me grasp an upcoming feature we are implementing.

Question, what tests would be applicable to write for this?

kjw
Автор

This is Netflix's architecture. Love to see this Abdi!

markericfairweather
Автор

Great explanation with the pros and cons, and especially the introduction. Keep going brother!

hdadpool
Автор

that was the most clear description, thanks

aghiadalzein
Автор

Thank you brother. I will try this out. I look forward to more tutorials

elad
Автор

Man oh man!! Thank you! I will be waiting for more such content from you.

shivangchaturvedi
Автор

What a great tutorial!!! Just one question, who do I apply this but with a video store in the cloud? If you have any resource I will really appreciate it!

thomasminoungou