-
|
Does anyone know of a good way to add a secured Axis camera stream to a website? I am trying to get a stream to autoplay when the page loads without prompting the user for credentials to an angular site with a .NET backend. I have tried a couple of different approaches, but with no success. Here is what I have tried. url in img tag img tag http request intercept and add basic authentication header to request media-stream-library-js (Client side) request proxy If anyone has any solutions, guidance, suggestions, tips, pointers or tidbits of advice it would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
If you followed media-stream-player examples where request is made to usergroup.cgi to authenticate then you notice there is no-cors mode. Having this mode causes that you can't send authorization header with request. So you need to do one of the following things:
Hope this helps. Wish I had complete answer but hopefully someone is able to answer my question about CORS so you would get answer too. |
Beta Was this translation helpful? Give feedback.
-
|
HI, I need some sample on how to embed the Axis IP camera in the website. We use ASP dot net application. We need to use RTSP live streaming protocol |
Beta Was this translation helpful? Give feedback.
-
|
Do you have a sample example on how to integrate the camera in the web page
.
We are seeing delay in the stream of the live view.
…On Tue, May 23, 2023 at 4:04 PM David Garcia ***@***.***> wrote:
@shahnidhi20 <https://github.com/shahnidhi20> You aren't going to be able
to use RTSP natively in a browser. You'll want to use HTTP or HTTPS with
MJPEG (image tag in HTML) or MP4 (video tag in HTML).
—
Reply to this email directly, view it on GitHub
<#226 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AENCIQF2V2VUOEVD54UKMQLXHU66XANCNFSM6AAAAAAXEZQ7GA>
.
You are receiving this because you were mentioned.Message ID:
<AxisCommunications/discussions/repo-discussions/226/comments/5983263@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
|
Thank you. we have implemented it in the same way as it is described in the
samples.
The problem we are facing is the delay on a video stream.
If I open two camera feeds and move the camera for some time. After some
time we see one of the camera live view responds with a delay. We saw
sometimes a delay of 5 sec up to 30 sec.
example: I opened the Axis web page of the camera in the browser and opened
my web page which also shows a live view of the camera. After a couple of
mins, we saw the delay on either our web page or the Axis web page.
If you can share some light on what could be the issue or any settings in
the camera that needs to be done that will be helpful.
Thanks
Nidhi Shah
…On Wed, May 24, 2023 at 3:26 AM David Garcia ***@***.***> wrote:
There are a number of examples here
https://github.com/AxisCommunications/media-stream-library-js/tree/main
—
Reply to this email directly, view it on GitHub
<#226 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AENCIQD3L36EVQWPN34WFUDXHXO45ANCNFSM6AAAAAAXEZQ7GA>
.
You are receiving this because you were mentioned.Message ID:
<AxisCommunications/discussions/repo-discussions/226/comments/5987969@
github.com>
|
Beta Was this translation helpful? Give feedback.
There are a number of examples here https://github.com/AxisCommunications/media-stream-library-js/tree/main