Cross-browser solution for displaying MJPEG stream

后端 未结 2 1544
温柔的废话
温柔的废话 2020-12-02 23:49

Is there a lightweight, free, and reliable way to display MJPEG in a cross-browser environment? I\'m trying to display an MJPEG stream from an Axis 2120 IP camera on a site

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-03 00:08

    I've just came out with a solution a couple of months ago. It's cross-platform, and doesn't need third-party plugins such as Flash or Java.

    Basically, it's a node.js proxy which parses m-jpeg boundaries and delivers images in a defined interval.

    Fork it at https://github.com/rodowi/Paparazzo.js

提交回复
热议问题