I'm a little bit new to the raspberry pi. Currently, I have a raspberry pi camera recording live video. I want to transfer this stream to an android app I developed. I really don't know where to start, and I would appreciate any guidance.
-
1can you give some detail of the android app. Since you've completed that, your pi needs to send the stream in a way that is compatible with the app– Jaromanda XCommented Mar 20, 2020 at 22:09
-
Its an ionic app– AjayCommented Mar 22, 2020 at 17:32
-
'ionic app" does not help– Jaromanda XCommented Mar 22, 2020 at 22:01
-
@Ajay If you got an answer, please post it as a new answer or "accept" one of the answers below if it did work.– Mohi RostamiCommented Mar 22, 2020 at 22:09
1 Answer
We have developed something that you want. You need to install the motion
package on your raspberry pi. It will transmit streams over HTTP/HTTPS protocol with authentication.
You should install motion
then configure it to access the web page over any hosts over LAN or the internet. Then, add these streams to a web-view on your android application.
installation:
Video Streaming from raspberry to an external serverConfiguration:
/etc/motion/motion.conf
You can configure stream quality according your bandwidth limitations.Make it more secure:
Motion security
If you are concerned about the security of the streams, you can make it much more secure with some configuration and insight.