I want to use my ionic app like an IP camera via Wi-Fi. Any solutions?
Initially, consider using 3 native plugins:
- Http to create a local server (aqui).
- Video Capture Plus (beta) to capture videos without showing in screen (aqui)
- Insomnia to ‘prevent the screen of the mobile device from falling asleep.’ (aqui)
Study these 3 plugins and then create yout first version.
Thank you for your help, I really appreciate your help but I need to stream camera video to IP without recording it in the folder. I could start server via Httpd ionic plugin and now I can get IP of my phone and connect to it with another phone. Put I wish to see my camera stream when I’ll connect to it via another phone.
Thanks a lot
You will not record the video data, you will only stream de data when other device connects to the app. I did not research this subject, but I think you can do that with these plugins and a few blocks of code. Just understand how client x server works based on what Ionic Cordova offers.
I want to know the way to stream camera data
My friend, Ionic works behind webviews, so, you need to create a web http server. To you understand, when you buy a dvr, for example, the device create the same http server. Now, my sugestion to you is do a thorough study on http plugin, searching web for examples and, if possible, some videos tutos.
Thank you a lot for info, sure I have already created http server and now I can connect to my phone via ip. I have googling for some solution for this but still have not found any. Please if you will face with some solutions about my app attach links.
Thanks you a lot again and again.
Sure!! If I found any information about this, I will reference you here. And if you develop the project as you need, tell here too.
Hi, have you tried the solution provided and does it work? @DanielAccorsi did you also tried, and does it work?