mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
564 B
23 lines
564 B
using ErsatzTV.Core.Domain; |
|
|
|
namespace ErsatzTV.Infrastructure.Streaming; |
|
|
|
public interface IGraphicsElement |
|
{ |
|
int ZIndex { get; } |
|
|
|
bool IsFailed { get; set; } |
|
|
|
Task InitializeAsync( |
|
Resolution squarePixelFrameSize, |
|
Resolution frameSize, |
|
int frameRate, |
|
CancellationToken cancellationToken); |
|
|
|
ValueTask<Option<PreparedElementImage>> PrepareImage( |
|
TimeSpan timeOfDay, |
|
TimeSpan contentTime, |
|
TimeSpan contentTotalTime, |
|
TimeSpan channelTime, |
|
CancellationToken cancellationToken); |
|
} |