|
|
@ -1,6 +1,7 @@ |
|
|
|
using System.Threading.Channels; |
|
|
|
using System.Threading.Channels; |
|
|
|
using Bugsnag; |
|
|
|
using Bugsnag; |
|
|
|
using ErsatzTV.Application.Channels; |
|
|
|
using ErsatzTV.Application.Channels; |
|
|
|
|
|
|
|
using ErsatzTV.Application.Graphics; |
|
|
|
using ErsatzTV.Application.Maintenance; |
|
|
|
using ErsatzTV.Application.Maintenance; |
|
|
|
using ErsatzTV.Core; |
|
|
|
using ErsatzTV.Core; |
|
|
|
using ErsatzTV.Core.Domain; |
|
|
|
using ErsatzTV.Core.Domain; |
|
|
@ -88,6 +89,8 @@ public class StartFFmpegSessionHandler : IRequestHandler<StartFFmpegSession, Eit |
|
|
|
idleTimeout = Option<TimeSpan>.None; |
|
|
|
idleTimeout = Option<TimeSpan>.None; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
await _mediator.Send(new RefreshGraphicsElements(), cancellationToken); |
|
|
|
|
|
|
|
|
|
|
|
IHlsSessionWorker worker = GetSessionWorker(request, targetFramerate); |
|
|
|
IHlsSessionWorker worker = GetSessionWorker(request, targetFramerate); |
|
|
|
|
|
|
|
|
|
|
|
_ffmpegSegmenterService.AddOrUpdateWorker(request.ChannelNumber, worker); |
|
|
|
_ffmpegSegmenterService.AddOrUpdateWorker(request.ChannelNumber, worker); |
|
|
|