WebRTC icon indicating copy to clipboard operation
WebRTC copied to clipboard

Too many colons in address

Open movanet opened this issue 3 years ago • 9 comments

My rtsp camera entity is working fine, but the web rtc card is getting this error:

image

movanet avatar Dec 30 '21 03:12 movanet

So. The problem's been described pretty well. Too many colons in the address.

AlexxIT avatar Dec 30 '21 07:12 AlexxIT

Thanks. This is my config, is there anything I am missing?

Config.yaml

  • platform: generic name: camerartsp still_image_url: http://xx.xx.xx.xxx:xxxx/stream/snapshot.jpg stream_source: rtsp://username:[email protected]:554/h264_vga.sdp verify_ssl: false username: "username" password: "password" authentication: digest

Card:

type: custom:webrtc-camera entity: camera.camerartsp

movanet avatar Dec 30 '21 09:12 movanet

You have hidden the URL, in a WebRTC error. Is it similar to the URL in your generic config?

AlexxIT avatar Dec 30 '21 10:12 AlexxIT

yes, they are both the same url, just different path and port

movanet avatar Dec 30 '21 11:12 movanet

Try remove port from URL. Because it is default port

AlexxIT avatar Dec 30 '21 11:12 AlexxIT

still the same response (too many colon in address). I also tried removing the username and password but it gets invalid authentication

movanet avatar Dec 30 '21 11:12 movanet

The problem is probably with my camera. I use tp link nc220. https://github.com/reald/nc220 I changed user to admin and now receive this error...

image

movanet avatar Dec 30 '21 12:12 movanet

Is your link work in VLC player?

AlexxIT avatar Apr 11 '22 08:04 AlexxIT

Just to chime in here as I had the same issue (too many colons) with my Reolink NVR.

Changing the password of the NVR to something simpler (without special chars) did the trick for me. It was a long struggle to get to that point. 😅 Also left out the port since 554 is the default port for the protocol.

ra-pha avatar May 28 '22 08:05 ra-pha

Check my new project. Maybe it handle this situation https://github.com/AlexxIT/go2rtc

AlexxIT avatar Aug 21 '22 11:08 AlexxIT