Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70916

How to display Motion JPEG binary data stream on Ionic App?

$
0
0

@jianming_tom wrote:

Hi, I'm coding an app for a device, such device will receive a POST request, and send back a multipart/x-mixed-replace binary data stream. I must display such stream on one section of my app's home page.

I searched through, there's very limited resource on such case. So far, I found that if the Motion JPEG is sent from a specific URL, then maybe it's possible to use iframe/image tag to display it. However, my case is different, it seems I have to parse such binary stream then create an Observable to alter the image element on an image html tag once I get a frame from the Motion JPEG binary stream.

Is there a simpler way to do that ? I found https://gist.github.com/legege/5301477, can I use this ?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>