restart hls session in some cases (#1880)

This commit is contained in:
Jason Dove
2024-08-23 12:59:48 -05:00
committed by GitHub
parent 8b911332a6
commit c2b7be66af
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -168,8 +168,8 @@ public class IptvController : ControllerBase
return NotFound();
}
_logger.LogWarning("Unable to locate session worker for channel {Channel}", channelNumber);
return NotFound();
_logger.LogWarning("Unable to locate session worker for channel {Channel}; will redirect to start session", channelNumber);
return RedirectToAction(nameof(GetHttpLiveStreamingVideo), new { channelNumber });
}
[HttpHead("iptv/channel/{channelNumber}.m3u8")]