RTSP over HTTP player example #785
-
Is there an example of a RTSP over HTTP player? (I need it because I have a web page containing an RTSP player displaying an RTSP stream from an AXIS camera, but the remote access happen by means of a device which only allows TCP connections over ports 80, 443, 3389 and 5900, so plain RTSP doesn't work). I've studied these examples but as far as I know they work with plain RTSP. Please correct me if I'm wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This automatically generated reply acts as a friendly reminder. Answers to your questions will most often come from the community, from developers like yourself. You will, from time to time, find that Axis employees answers some of the questions, but this is not a guarantee. Think of the discussion forum as a complement to other support channels, not a replacement to any of them. If your question remains unanswered for a period of time, please revisit it to see whether it can be improved by following the guidelines listed in Axis support guidelines. |
Beta Was this translation helpful? Give feedback.
-
Hi @AlessandroMartinelli , <!DOCTYPE html>
<html>
<head>
<title>Example MP4 video streaming via HTML5 src attribute</title>
</head>
<body>
<div style="position: fixed; width: 960px; height: 540px">
<video
src="http://10.176.12.130/axis-cgi/media.cgi?resolution=1920x1080&fps=30&videocodec=h264&container=mp4 "
style="position: absolute; width: 100%; height: 100%"
autoplay
controls
></video>
</div>
</body>
</html> This may work for you as this uses the RTSP over HTTP 😄 |
Beta Was this translation helpful? Give feedback.
Hi @AlessandroMartinelli ,
If the partner is OK with allowing anonymous viewing the following example will work without login Pop up: example-streams-web/test/mp4.html or you may need to enter the credentials every time you open the page.
This …