Render MJPEG streams in React-Native

21 Dec

Rendering MJPEG streams in React-Native on iOS or Android is relatively simple.  You leverage a WebView component and the right configuration to size it and it will look like a native video stream.

Here is an example – just update the formatHtml() method to use the Url to your mjpeg stream.

Leave a Reply

Your email address will not be published. Required fields are marked *