WebRTC icon indicating copy to clipboard operation
WebRTC copied to clipboard

Invalid URL escape '%'

Open gvillo opened this issue 3 years ago • 2 comments

Facing an issue entity because my camera's password has a '%' on it, and it's throwing an error while trying to parse the URL, e.g. 'rtsp://username:passwordwith%@192.168.0.22:554/video'

gvillo avatar Feb 25 '22 14:02 gvillo

As a workaround, have you tried replacing the % with the percent-encoded equivalent, %25 ?

Additionally, if your setup is "throwing an error", it's helpful to include that error message when you file an issue.

acshef avatar Mar 08 '22 23:03 acshef

The advice to use a percent-encoded equivalent is correct

https://github.com/AlexxIT/WebRTC/issues/211#issuecomment-1015201400

AlexxIT avatar Apr 10 '22 14:04 AlexxIT

I was facing same issue and using @AlexxIT advice now the stream works.

jokerigno avatar Feb 19 '23 08:02 jokerigno