-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MM does not show camera #8
Comments
Your URL is wrong. use this: |
Thanks! but, Installed RTSPToWeb with docker and via some searching found the config.json. |
I had the same problem. Could get the stream and codec info, but got a 404 on the webpage. pi@pi04:~ $ curl http://demo:demo@192.168.47.153:8083/stream/0f10d9e2-225d-482a-a407-cbb63a0d89a4/channel/0/codec pi@pi04:~ $ curl http://192.168.47.153:8083/stream/0f10d9e2-225d-482a-a407-cbb63a0d89a4/channel/0/webrtc |
By watching the http debug while I loaded the stream via the web interface, it looks like it wants the url in this form:
You can use the IP address, or 127.0.0.1, if RTSPtoWeb is running on the same raspberry pi. |
Thanks for the suggestion. I tried following your format but still got a 404 with curl or a web browser. |
I believe it needs to be a POST request rather than a GET request, which is default for browsers/curl. https://reqbin.com/req/c-g5d14cew/curl-post-example If I remember right, when I tried the above with curl, I got a non-404 message. When I used that url in the config.js it worked. |
Anyone have any luck with this - I have tried every example listed in all these issues and can't get anything to display. |
In the end I found that my MagicMirror would slow down and crash after a few minutes when using this module, so I just went back to https://github.com/shbatm/MMM-RTSPStream which is kind of hacky but works consistently. (I have omxplayer set to restart using a cron job every 15 minutes or else the stream gets behind or goes blank) |
I finally got the format correct and it seems to be working ok, its ran a few days now. I have used MMM-RTSPStream for a few years and just got tired of the long delay to pull up a video (i use carousel so switch to a new screen when the camera is displayed) as well as the constant crashes and it taking over the screen overlay. Hoping this works better although my setup is slightly different. I hope to move this to an existing Home Assistant restream using go2RTC but can't get that to work yet. For the record and anyone else looking here is the working config format - at least works for me, it uses the GUID of the stream not the name.. . I also did not add the additional characters in the URL mentioned in this thread. Note: This won't work in a browser as-is
|
Same problem here. Video is not displayed in MMM. Where do I find the GUID of the stream I want to display? In RTSPtoWEB the stream seems to be only referenced by name..... EDIT: Okay, got it - by using CURL to list the streams I get:
|
Hello, GUID/UUID of the HomeAssistant server seems:
Which letters shall be added? Proposed MM config just show black windows, even if Stream is nicely visible in RTSPtoWEB surface...
|
For all searching for same challenge, never use H.265, only H.264.... ;-) String: |
Hi,
Have installed and things work mostly. Via the RTSPToWeb page (on 8083) configured 5 camera's and they can be streamed.
In config.js of MM i added the lines as per example:
Yet this does not show the camera. Can't figure out if i am doing something wrong.
Also tried this via remote PC browser:
http://<raspberrypi-ip>:8083/stream/mystream/channel/0/webrtc
This brings a small 404 not found page.
Am i doing something wrong?
In advance thanks for the help.
The text was updated successfully, but these errors were encountered: