Replies: 3 comments 1 reply
-
|
Hello, Currently the only way to do this is building your own video page and using hls.js to point to the video path https://github.com/aler9/rtsp-simple-server/blob/main/internal/core/hls_index.html Nonetheless, you're making a point, the page that shows "404 not found" when a stream is not present is not pleasant and should be replaced by a page that is able to refresh itself when the stream becomes available. I've created a feature request in order to track the feature: #1444 |
Beta Was this translation helpful? Give feedback.
-
The link is broken. |
Beta Was this translation helpful? Give feedback.
-
|
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have rtsp-simple-server (RSS) acting as a proxy, for streams that exist behind firewalls. Streams are activated locally and sent to the server (using ffmpeg -f rtsp). Currently, the stream is a random token (ABCDEF234..). [I could change this if necessary]
The client webpages have a
This works.
But there is an issue with timing.
If the webpage tries to load before the stream has been initiated it fails.
My question is vague because I suspect there is something I am missing or an easier way to accomplish my needs.
Is there a way to have invalid connections from the webpage show nothing (or a placeholder) until the stream become available?
Is there a way to change the underlying mapping from INPUT to OUTPUT streams on the fly?
Or is the only viable solution to continually poll RSS and not send the webpage the ABCDEF234 path until I see it in the /v1/paths/lists api?
Is there a way better way to do this?
Beta Was this translation helpful? Give feedback.
All reactions