Files
ersatztv/ErsatzTV.Infrastructure/Streaming/IGraphicsElement.cs
T
Jason DoveandGitHub 76a589b538 add text graphics element to playback troubleshooting (#2282)
* refactor graphics engine; async frame generation

* add text graphics element to playback troubleshooting
2025-08-08 19:18:15 +00:00

19 lines
498 B
C#

using ErsatzTV.Core.Domain;
namespace ErsatzTV.Infrastructure.Streaming;
public interface IGraphicsElement
{
int ZIndex { get; }
bool IsFailed { get; set; }
Task InitializeAsync(Resolution frameSize, int frameRate, CancellationToken cancellationToken);
ValueTask<Option<PreparedElementImage>> PrepareImage(
TimeSpan timeOfDay,
TimeSpan contentTime,
TimeSpan contentTotalTime,
TimeSpan channelTime,
CancellationToken cancellationToken);
}