Open abuharsky opened 8 months ago
Something like this
this
camera.html
`<!DOCTYPE html>
`
motionjpeg.js
` function motionjpeg(id) { var image = $(id), src;
if (!image.length) return;
src = image.attr("src");
if (src.indexOf("?") < 0) {
image.attr("src", src + "?"); // must have querystring
}
image.on("load", function() {
// this cause the load event to be called "recursively"
this.src = this.src.replace(/\?[^\n]*$/, "?") +
(new Date()).getTime(); // 'this' refers to the image
});
}
https://stackoverflow.com/questions/19346775/rendering-mjpeg-stream-in-html5
Hi, for some reason video not playing from node app on my car Head Unit browser.
Does any h264 video play at all in your browser? If not, I think it may be easier/simpler to fix that instead of trying to render a sequence of h264 frames as images
Jmuxer sample not working
@abuharsky Is it possible at all to get some console logs from that browser? That would help us understand a bit more about why it's failing. Also if you could check if the browser has a chrome://gpu
or about:support
page, a screenshot of that would be helpful as well
Hi, for some reason video not playing from node app on my car Head Unit browser.
Is it possible to stream it as sequense of images, that can be rendered inside <image src...?
what type of data inside message with type "Video"?