* rework hls segmenter to start more quickly * don't use realtime encoding for hls until we're at least a minute ahead * ugly but functional playlist filtering
22 lines
524 B
C#
22 lines
524 B
C#
using System;
|
|
|
|
namespace ErsatzTV.Application.Streaming.Queries
|
|
{
|
|
public record GetConcatProcessByChannelNumber : FFmpegProcessRequest
|
|
{
|
|
public GetConcatProcessByChannelNumber(string scheme, string host, string channelNumber) : base(
|
|
channelNumber,
|
|
"ts",
|
|
DateTimeOffset.Now,
|
|
false,
|
|
true)
|
|
{
|
|
Scheme = scheme;
|
|
Host = host;
|
|
}
|
|
|
|
public string Scheme { get; }
|
|
public string Host { get; }
|
|
}
|
|
}
|