Skip to content
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

Failed to start WebRTC stream: webrtc #428

Open
denisvarga opened this issue Nov 14, 2024 · 15 comments
Open

Failed to start WebRTC stream: webrtc #428

denisvarga opened this issue Nov 14, 2024 · 15 comments

Comments

@denisvarga
Copy link

When i start stream of my camera, it goes well, and after like 10s it gives me this error

Failed to start WebRTC stream: webrtc: streams: exec/rtsp [rtsp @ 0x7f79080000] method DESCRIBE failed: 404 Not Found [in#0 @ 0x7f79412b00] Error opening input: Server returned 404 Not Found Error opening input file rtsp://127.0.0.1:18554/camera.nvr2_main_orginal?audio. Error opening input files: Server returned 404 Not Found

@loopion
Copy link

loopion commented Nov 15, 2024

I have the same issue. Trying to resolve it in a proper way.

@CodeMayhemByAJO
Copy link

Same issue here :(

@kingp0dd
Copy link

Same issue on HomeAssistant

@denisb88
Copy link

Same for me

@ABroodryk
Copy link

ABroodryk commented Nov 23, 2024

I've found that if you disable the RTSP over TLS and this will get the streams going again. Not ideal but a work around for the interim until the RTSP over TLS is fixed. This was on the dahua nvr buried in the settings

image

@Ewyckoff
Copy link

Aww man this sucks. I strange because I can connect some cameras to view live but most show the picture and update when motion is detected but it wont show live I get the same error.

@rroller
Copy link
Owner

rroller commented Nov 28, 2024

I'm having trouble reproducing this. Not sure if it's something with the latest update of HA or something else. Do you have any repro steps?

@fu-raz
Copy link

fu-raz commented Dec 4, 2024

I think this did happen on the latest update. My error is a little different and complains about the URL markup:
Failed to start WebRTC stream: webrtc: streams: parse "rtsp://[[my username]]:[[my password here with special characters]]@192.168.100.250:554/cam/realmonitor?channel=1&subtype=0": invalid port ":[[my password here with special characters]]" after host, exec/rtsp [rtsp @ 0x7f632dbe0000] method DESCRIBE failed: 404 Not Found [in#0 @ 0x7f632de12c00] Error opening input: Server returned 404 Not Found Error opening input file rtsp://127.0.0.1:18554/camera.nvr_main?audio&source=ffmpeg:camera.nvr_main%23audio%3Dopus%23query%3Dlog_level%3Ddebug&log_level=debug. Error opening input files: Server returned 404 Not Found

Maybe it should be url encoded here?

@qvanlem
Copy link

qvanlem commented Dec 8, 2024

My error is similar but on the overview page I can see the stream, when I click on it brings up a mini window showing the stream for 3 or 4 seconds and then I get.

Failed to start WebRTC stream: webrtc: streams: parse "rtsp://[Username]:[Password]@113.192.0.239:554/cam/realmonitor?channel=1&subtype=0": net/url: invalid userinfo, exec/rtsp [rtsp @ 0x7f9f5fbe0000] method DESCRIBE failed: 404 Not Found [in#0 @ 0x7f9f5fe12c00] Error opening input: Server returned 404 Not Found Error opening input file rtsp://127.0.0.1:18554/camera.9_back_garden_main?audio&source=ffmpeg:camera.9_back_garden_main%23audio%3Dopus%23query%3Dlog_level%3Ddebug&log_level=debug. Error opening input files: Server returned 404 Not Found

@Ewyckoff
Copy link

Ewyckoff commented Dec 8, 2024 via email

@Ewyckoff
Copy link

Ewyckoff commented Dec 8, 2024

I can confirm making a new user in my cameras with no special characters in the PW worked for me. I did not find a working solution using the original PW I cant see why this works because I do have a camera that was working with the pw that had a # in it. I will just make new users for all my cameras as it will provide another small layer of security.
The only thing I can think of that was different between the camera that I had working with the password with special characters is the fact that before the update I had not added that camera ever so it was my first time adding that particular camera. the rest were already added or had been added before.

@CodeMayhemByAJO
Copy link

CodeMayhemByAJO commented Dec 8, 2024

Strange! I already tried a new user with a pw without any special charachters and that didn´t help me :(

Still, whats even more strange is that i get the snapshot when looking at the entities and can download a current snapshot but when trying to load the stream it won´t let me.

UPDATE! Just tried this again after the latest HA update and can confirm that this works!

bild

@Ewyckoff
Copy link

Strange! I already tried a new user with a pw without any special charachters and that didn´t help me :(

Still, whats even more strange is that i get the snapshot when looking at the entities and can download a current snapshot but when trying to load the stream it won´t let me.

UPDATE! Just tried this again after the latest HA update and can confirm that this works!

bild

When you say it works.. does that mean you get the live video stream again? Or just that snapshot. What you have posted is what mine has looked like since it broke. I could see the snapshots but it does not load when clicked.

@CodeMayhemByAJO
Copy link

Strange! I already tried a new user with a pw without any special charachters and that didn´t help me :(

Still, whats even more strange is that i get the snapshot when looking at the entities and can download a current snapshot but when trying to load the stream it won´t let me.

UPDATE! Just tried this again after the latest HA update and can confirm that this works!

bild

When you say it works.. does that mean you get the live video stream again? Or just that snapshot. What you have posted is what mine has looked like since it broke. I could see the snapshots but it does not load when clicked.

Yep, live video is working as well. Set up another user with a simple password without any special characters and it fired up again.

@Ewyckoff
Copy link

Strange! I already tried a new user with a pw without any special charachters and that didn´t help me :(

Still, whats even more strange is that i get the snapshot when looking at the entities and can download a current snapshot but when trying to load the stream it won´t let me.

UPDATE! Just tried this again after the latest HA update and can confirm that this works!

bild

When you say it works.. does that mean you get the live video stream again? Or just that snapshot. What you have posted is what mine has looked like since it broke. I could see the snapshots but it does not load when clicked.

Yep, live video is working as well. Set up another user with a simple password without any special characters and it fired up again.

Glad to hear. I hope this gets fixed as I like having special characters even for the dummy accounts I made for HA. Unfortunately the doorbell can only have one user name a pw and to change it you have to factory rest it and set up again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants