DEV Community

Discussion on: How to Code a Video Streaming Server using NodeJS

Collapse
dgiulian profile image
Diego Giuliani

wouldn't that require extra processing power? I thought what they did was generate multiple versions of the file and pick one accordingly to the required bandwidth and quality

Collapse
zoedreams profile image
☮️✝️☪️🕉☸️✡️☯️

yes, however i was refering more to the code you can use to blend a seamless transition between frames when you do that, like adding a simple gaussian blur with wasm. This would help to reduce the jankyness and jitter of switching between streams live.

Thread Thread
dgiulian profile image
Diego Giuliani

right, makes sense. That's what happens when you have a small hiccup in the network and the stream lowers the quality for a moment and resets back to a better quality when it gets better.
Thanks for your reply.

Thread Thread
zoedreams profile image
☮️✝️☪️🕉☸️✡️☯️

:) your welcome.