-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested
Description
Which version are you using?
v0.14.0
Which operating system are you using?
OS
- [x ] Linux
- Windows
- macOS
Architecture
- [x ] amd64
- arm64
- arm7
- arm6
Describe the issue
fallback dont works as described - "url to redirect clients to when nobody is publishing to this path".
Describe how to replicate the issue
- start the server
- publish with config:
paths:
# For Debugging - my proxied home camera
test:
source: record
sourceProtocol: automatic
sourceOnDemand: yes
sourceOnDemandStartTimeout: 10s
sourceOnDemandCloseAfter: 10s
#publishIps: [127.0.0.1]
fallback: rtsp://127.0.0.1:8554/fallback
fallback:
source: record
runOnDemand: ffmpeg -re -stream_loop -1 -i "/opt/icmedia/fallback.mp4" -c copy -an -r 1 -f rtsp "rtsp://127.0.0.1:8554/fallback" -hide_banner
runOnDemandRestart: yes
sourceProtocol: automatic
sourceOnDemand: yes
sourceOnDemandStartTimeout: 10s
sourceOnDemandCloseAfter: 10sFallback movie src:
https://github.com/brandousov/pix/blob/main/fallback.mp4
When I have not publishing to path, or stops publishing, VLC just stops translation and trying to reconnect, no alternative (fallback) video shown instead.
Did you attach a network dump?
no
==> /opt/icmedia/logs/rtsp.log <==
2021/02/08 03:24:12 [I] [0/0/0] [client 10.0.0.2:13252] disconnected
2021/02/08 03:24:14 [I] [1/0/0] [client 10.0.0.2:13254] connected (plain)
2021/02/08 03:24:14 [I] [1/0/0] [client 10.0.0.2:13254] ERR: no one is publishing to path 'test'
2021/02/08 03:24:14 [I] [0/0/0] [client 10.0.0.2:13254] disconnected
2021/02/08 03:24:14 [I] [1/0/0] [client 10.0.0.2:13255] connected (plain)
2021/02/08 03:24:14 [I] [0/0/0] [client 10.0.0.2:13255] disconnected
2021/02/08 03:24:25 [I] [1/0/0] [client 10.0.0.2:13258] connected (plain)
2021/02/08 03:24:25 [I] [1/1/0] [client 10.0.0.2:13258] is publishing to path 'test', 1 track with udp (its me by ffmpeg)
2021/02/08 03:24:37 [I] [2/1/0] [client 10.0.0.2:13259] connected (plain)
2021/02/08 03:24:37 [I] [2/1/1] [client 10.0.0.2:13259] is reading from path 'test', 1 track with udp
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested