4 ms·
What's the replacement? What's the way to live stream video without javascript?
by emilfihlman 9y ago
What's the replacement?
What's the way to live stream video without javascript?
- haldean 9y agoYou can stream video with the HTML5 <video> tag.
- joshribakoff 9y agoVideo tag pointing to an MP4 will use byte range requests in chrome, which is pseudo streaming. For real streaming look into something like rtmp or hls, which does require js in some browsers. The main difference is one can handle live feeds the other cannot to my knowledge. Also real streaming has adaptive bitrate (switch to lower quality to avoid stuttering and buffering). The distinction between streaming and pseudo streaming is blurry. My litmus test is it can it handle live feeds? Html5 video tag cannot without hacks, per my understanding Our app does something like this by loading an image with an xhr then immediately requesting the next image when the previous one finishes
- zimbatm 9y agoMultipart+JPEG is easily 5x more expensive than MP4 in terms of bandwidth. All new IP cameras come with MP4 as a replacement. Steaming can be done in various ways, usually with the help of some JavaScript + video tag.