开发者

How should I integrate a live video feed onto a website?

I have a client who wants to display live 24 hour footage on their website, to show off the progress of a number of big refurbishment jobs they are carrying out.

I've looked at IP cameras and to be honest this looks like the most logical technology to use, bu开发者_运维知识库t not sure if I'm missing something. Would it be possible to put the live feed straight from the camera onto their website (via an iFrame maybe)?

The website will be getting quite a few hits but nothing massive, so I think a regular broadband connection at each site should give them enough upload capacity to pull this off.

Am I approaching this from the right direction? Is there anything I should take into consideration before recommending a solution to the client?


Yes, that will work fine. Most IP cameras will provide a motion JPEG stream which is really just a collection of JPEG images. This allows you to decide on what framerate you want to send up to the site.

Providing an iframe with some javascript to refresh the JPEG at your desired framerate would be an easy solution.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜