Hi there,
I have a DAHUA IP Camera setup & trying to vizualise & control movement on my website.
On my website I'm sending an AJAX call to my server side .php file.
The server side code connects by DIGEST AUTHENTICATION with the API (see videostream.png attachment) & gives us a response.
Now here comes the issue. I don't have any idea how I can handle the response (see mjpeg_response.png attachment) returned after the successful API call.
Can someone please advice me what I should do to get the streaming video in HTML?
Should this response be added to an iframe?
I'm really desperate to find a solution to get this up and running on my clients website.
Thanks in advance for any help / tips.
Best regards,
Sem
I have a DAHUA IP Camera setup & trying to vizualise & control movement on my website.
On my website I'm sending an AJAX call to my server side .php file.
The server side code connects by DIGEST AUTHENTICATION with the API (see videostream.png attachment) & gives us a response.
Now here comes the issue. I don't have any idea how I can handle the response (see mjpeg_response.png attachment) returned after the successful API call.
Can someone please advice me what I should do to get the streaming video in HTML?
Should this response be added to an iframe?
I'm really desperate to find a solution to get this up and running on my clients website.
Thanks in advance for any help / tips.
Best regards,
Sem