Remove erroneous route and update dictionary updater (#207)

* Remove erroneous route and update dictionary updater

* Rename dictionary updater
This commit is contained in:
Brendan Le Glaunec
2019-05-23 09:19:04 +02:00
committed by GitHub
parent 47285675b9
commit 2e49587cc2
2 changed files with 4 additions and 2 deletions
-1
View File
@@ -123,7 +123,6 @@ play2.sdp
profile2/media.smp profile2/media.smp
profile5/media.smp profile5/media.smp
rtpvideo1.sdp rtpvideo1.sdp
rtsp://ip-addr
rtsp_live0 rtsp_live0
rtsp_live1 rtsp_live1
rtsp_live2 rtsp_live2
@@ -168,7 +168,10 @@ func loadRoutes(url string, bar *mpb.Bar) {
} }
switch rtspURL { switch rtspURL {
case "", "[Details]", "rtsp://ip-addr/", "http://ip-addr/": case "",
"rtsp://ip-addr/",
"rtsp://ip-addr",
"rtsp://ip-addr:pass@10.0.0.5:6667/blinkhd":
return return
default: default:
route := strings.TrimSpace(strings.TrimPrefix(rtspURL, "rtsp://ip-addr/")) route := strings.TrimSpace(strings.TrimPrefix(rtspURL, "rtsp://ip-addr/"))