deepch / RTSPtoWeb

RTSP Stream to WebBrowser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No video stream if the rtsp string has wildcards like ? or &

mr-graf opened this issue · comments

commented

Hello!
I'm getting video streaming from the DVR channels. The rtsp string looks like:
rtsp://user:pass@DVR-IP/cam/realmonitor?channel=7&subtype=0
In all video players I can see the video, but in RTSPtoWEB I can't.
In debug mode I see that the rtsp string is cut off:

2024/07/02 10:46:08 [PLAY rtsp://DVR-IP:554/cam/realmonitor/ RTSP/1.0
CSeq: 5
Authorization: Digest username="user", realm="a9c7e2d71273aff4", nonce="ABYHu22I8C77S0FJpc0K3e84FK3F4U0I", uri="rtsp://DVR-IP:554/cam/realmonitor/", response="bcd0d769d74e748be6179b4264ecd8cd"
User-Agent: Lavf58.76.100
Session: 44754370

If I add the rtsp string via "Add stream" in the web interface, the string in config.json changes to:
rtsp://user:pass@DVR-IP/cam/realmonitor?channel=7\u0026subtype=0