There are issues with IPTV streams that use the DISCONTINUITY tag in the HLS playlist, causing dropouts, freezing, etc. Compiling ffmpeg with support for this flag will be an improvement for IPTV users. See this thread and scroll down to around the May 2020 time frame for a discussion of the issue for Kodi and ffmpeg with Pluto and Stirr: https://forums.whirlpool.net.au/archive/9nk7ly73