Answer the question
In order to leave comments, you need to log in
How to transfer video from the camera to the android application?
I'm almost new to IT, I'm writing my application for broadcasting video. I have a camera (eg ESP32) which I use as an IP camera. By entering her address in the browser, I can observe what she is filming. The essence of the question: how to display this image from the browser in the Android application? My knowledge of terminology is very poor, I apologize in advance if I described something wrong.
Answer the question
In order to leave comments, you need to log in
The easiest option to check out is the WebView. Perhaps it will work.
If it doesn't work, you need to do it through MediaPlayer https://developer.android.com/reference/android/me...
I think first you need to know the protocol by which the camera sends the video stream
if there is support for rtsp ( and if not ), then this is in principle a good option
, many programs can easily work with it, as an example:
mpv --aid=no rtsp://login:[email protected]/0
there are also many clients for android to play rtsp
at a lower level you can use the same ffmpeg - How to Use FFmpeg in Android with Example?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question