Streaming from android to ion camera

I use the same version of Peepers code to stream from the native android.hardware.Camerato the http port and then displaying it in Ionic, so instead of launching the Peepers app, I put the code in the Android service.

Although the feed seems very slow, it has been running for a while and then no longer appears. I don't see anything strange in logcat, and in Chrome debugging it only says GET http://localhost:8080/ net::ERR_CONNECTION_TIMED_OUT.

The basic requirement is that I need to do some processing of the Camera stream in the service (since it can be distributed among applications), is there a better way to transfer the Camera channel to Ionic applications? possibly using native code and cordova plugin

+4
source share

Source: https://habr.com/ru/post/1673555/


All Articles