Open leap0x7b opened 2 years ago
RTMP also doesn't work. I have the following config:
paths:
logo:
runOnInit: ffmpeg -re -loop 1 -framerate 25 -i /logo_320.png -c:v libx264 -pix_fmt yuv420p -vf scale=320:240 -f rtsp rtsp://localhost:$RTSP_PORT/$RTSP_PATH
wolfman:
source: publisher
fallback: /logo
I can connect to /logo and it works fine but if I try to connect to wolfman, no matter if rtsp, rtmp or hls I get nothing. Example log entries:
2023/04/24 06:52:46 INF [RTMP] [conn 192.168.10.1:48030] opened
2023/04/24 06:52:46 INF [RTMP] [conn 192.168.10.1:48030] closed (no one is publishing to path 'wolfman')
Same here. Fallback does not start at all:
rtsp: no
webrtc: no
srt: no
rtmp: yes
rtmpAddress: :1935
rtmpEncryption: "no"
hls: yes
hlsAddress: :8080
hlsAlwaysRemux: yes
hlsVariant: mpegts
hlsSegmentCount: 10
hlsSegmentDuration: 1s
hlsPartDuration: 200ms
hlsSegmentMaxSize: 50M
paths:
nostream:
runOnInit: ffmpeg -re -stream_loop -1 -i ./nostream.flv -c copy -f flv rtmp://localhost:1935/nostream
runOnInitRestart: yes
"~^demo/":
source: publisher
sourceOnDemand: no
sourceOnDemandStartTimeout: 10s
sourceOnDemandCloseAfter: 10s
overridePublisher: yes
fallback: /nostream
Which version are you using?
v0.19.2
Which operating system are you using?
Describe the issue
All paths in RTSP sends fallbacks correctly when there's no source but not HLS.
Describe how to replicate the issue
Did you attach the server logs?
Did you attach a network dump?
no