I have a few Channels servers. My main Channels server (192.168.12.30) has a custom channel config for my LinkPi/ADBTuner. I have a Channels server running in docker (192.168.12.41) where I am connecting to the main Channels server via m3u (http://192.168.12.30:8089/devices/M3U-LinkPi/channels.m3u?format=ts).
This works fine (usually). However today I noticed a stuck m3u session on my main Channels server
Looking at the logs it appears that when 192.168.12.41 attempted to tune ESPN, it failed for some unknown reason.
Channels Docker (192.168.12.41)
2024/05/18 10:48:23.143312 [TNR] Opened connection to M3U-LinkPi for ch5843 ESPN
2024/05/18 10:48:32.961707 [TNR] Opened connection to M3U-LinkPi for ch5843 ESPN
2024/05/18 10:48:32.961729 [HLS] Starting live stream for channel 5843 from 173.xx.xx.xx
2024/05/18 10:48:34.047725 [HLS] Probed live stream in 1.085927226s: h264 1920x1080 progressive 9616192bps
2024/05/18 10:48:35.073081 [HLS] Couldn't generate stream playlist for ch5843-dANY-eaf5e829067b: HLS: 901 Tuner Unreachable: Could not tune to ch5843 after 12s
2024/05/18 10:48:35.073230 [HLS] Stopping transcoder session ch5843-dANY-eaf5e829067b (out=2.090667s finished=false first_seq=0 last_seq=-1)
2024/05/18 10:48:35.082733 [TNR] Closed connection to M3U-LinkPi for ch5843 ESPN
2024/05/18 10:48:35.082809 [SNR] Buffer statistics for ch5843 ESPN: buf=0% drop=0%
Main Channels server (192.168.12.30)
2024/05/18 10:48:23.142133 [TNR] Opened connection to M3U-LinkPi for ch5843 ESPN
2024/05/18 10:48:32.960942 [TNR] Opened connection to M3U-LinkPi for ch5843 ESPN
2024/05/18 10:48:35.089638 [SNR] Buffer statistics for 192.168.12.41 (192.168.12.41) for ch5843 ESPN: buf=0% drop=0%
2024/05/18 10:48:35.089823 [TNR] Closed connection to M3U-LinkPi for ch5843 ESPN
On my main channels server it looks like the msu connection was closed and all is well, however it still shows active. This has happened a few times and the only way to get the stuck session to clear is to restart the DVR.
It may have failed becuase of the timeout. ADBTuner sometimes takes a little bit of time to tune. Would it be possible to increase the 12second timeout?
Tuner Unreachable: Could not tune to ch5843 after 12s
I've submitted diags
Main Channels Server 192.168.12.30: 50253c75-5225-4b67-b3f1-12b2ef6c9d49
Docker Channels Server 192.168.12.41: 223de517-949f-4932-a39b-195e178f872b