bootstrapping-microservices / video-streaming-example Goto Github PK
View Code? Open in Web Editor NEWA Node.js/Express example that demonstrates streaming video that works in both Chrome and Safari.
A Node.js/Express example that demonstrates streaming video that works in both Chrome and Safari.
When I'm trying to stream a 2GB mp4 file it's 206 error.
I am using your solution to serve a video on my website and I found out an interesting bug.
If you serve a webm video encoded with the vp9 codec (not supported by Safari), there is a glitch in Safari and the browser will request many chunks of the video. It will consequently use multiple connections and quickly reach the maximum number of connections if you are behind Apache. After a few seconds, you server won't be responding to any request. I had to close the page to stop the loop and reload Apache to put back my server on feet.
But I do not know why I cannot reproduce the bug in local, it occurs only on my production server...
Of course I changed the video for one with the vp8 codec but I wanted to share my experience because I struggled to understand why my server was breaking down today for no reason.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.