I wanted to use DCS-933L as an IP camera for the android app : https://play.google.com/store/apps/details?id=vOICe.vOICe
It has an inbuilt option to select either front camera, rear camera or a network camera by its MJPEG streaming URL.
I configured the camera to be connected to the hotspot created by the android device and removed the user authentication for live feed so that any application can access the URL http://[CAMERA_IP]:[PORT]/mjpeg.cgi to get the live video feed. I could see the feed working properly from the web browser on android device.
But when I start the application with these settings, it does not get the feed. I checked the error log by connecting the android device to my computer with ADB and I could see that the following error message is flooding the console:
E/OIC MJPEG: bad header
I tried using a virtual IP camera created by another app on another device, and it is working properly.
I've upgraded the firmware of the camera to the latest one available, and it made no difference.
What can be wrong here? And how can it be corrected?