Hello everyone and Merry Christmas!
So, I wrote a B4A application to capture and display the MJPG stream from an IP camera and everything works fine using the cam url and port.
As I do not want to address my camera by its url, I wrote a php script that makes a redirection to this camera.
I therefore I replaced the url and the port of the camera by those of this PHP script, and there, nothing works or almost:
- the socket connection is ok, but no "newdata" event raises after initializing the asyncstreams and sending the http header get request.
Note that the addressing of this script via a browser works perfectly: I can see the video
If someone can help me, it would be a nice Christmas gift for me!
Thank you in advance for your assistance
So, I wrote a B4A application to capture and display the MJPG stream from an IP camera and everything works fine using the cam url and port.
As I do not want to address my camera by its url, I wrote a php script that makes a redirection to this camera.
I therefore I replaced the url and the port of the camera by those of this PHP script, and there, nothing works or almost:
- the socket connection is ok, but no "newdata" event raises after initializing the asyncstreams and sending the http header get request.
Note that the addressing of this script via a browser works perfectly: I can see the video
If someone can help me, it would be a nice Christmas gift for me!
Thank you in advance for your assistance