Replies: 2 comments
-
|
HLS streams can't be used directly as source of a <video> tag, this is not supported by all browsers except Safari. You have to load the stream with a library like https://github.com/video-dev/hls.js/ |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This discussion is being locked automatically because the last update was more than 2 years ago. Do not use the content of this discussion as reference since it's probably outdated! The official documentation is the only place in which you can find up-to-date answers. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Been looking and can't find this in the discussions.
Been using jQuery to pop open a small window with the stream:
$("#videoMe").click(function () {
let vidWindow = window.open("http://localhost:8888/proxied", "video", vidParams,)
vidWindow.moveTo(500, 100);
vidWindow.focus();
})
but when I try to embed it in my web app with a video tag, the server doesn't get notified to start streaming. I've tried:
paths:
proxied:
# url of the source stream, in the format rtsp://user:pass@host:port/path
source: rtsp://admin:[email protected]:554/cam/realmonitor?channel=1?subtype=0
sourceOnDemend: no
and
command to run when a client connects to the server.
this is terminated with SIGINT when a client disconnects from the server.
the server port is available in the RTSP_PORT variable.
runOnConnect: yes
the restart parameter allows to restart the command if it exits suddenly.
runOnConnectRestart: yes
Thanks for you help.
Beta Was this translation helpful? Give feedback.
All reactions