angular-img-http-src icon indicating copy to clipboard operation
angular-img-http-src copied to clipboard

Ability to support multipart/jpeg (streaming)

Open pliablepixels opened this issue 6 years ago • 2 comments

Hi, thanks for your directive. I am considering using this in a system that uses <img src=xxxx> to stream multipart JPEG images from cameras. It is an open source home security system. The problem with multipart JPEG is the $http.get will never terminate. The standard browser <img src> takes care of this automatically. Is it possible to support this? thanks.

pliablepixels avatar Apr 07 '18 00:04 pliablepixels

Interesting - the browser like auto updates the image every time a new part is received?

Supporting it here would probably depend on what's available from Angular?

dougmoscrop avatar Apr 07 '18 01:04 dougmoscrop

Yes. The image keeps getting updated after each multipart segment is received.

pliablepixels avatar Apr 07 '18 02:04 pliablepixels