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.
26 lines
833 B
26 lines
833 B
using ErsatzTV.Core.Domain; |
|
using ErsatzTV.Core.FFmpeg; |
|
using ErsatzTV.Core.Graphics; |
|
|
|
namespace ErsatzTV.Core.Interfaces.Streaming; |
|
|
|
public record GraphicsEngineContext( |
|
string ChannelNumber, |
|
MediaItem MediaItem, |
|
List<GraphicsElementContext> Elements, |
|
Resolution SquarePixelFrameSize, |
|
Resolution FrameSize, |
|
int FrameRate, |
|
DateTimeOffset ChannelStartTime, |
|
DateTimeOffset ContentStartTime, |
|
TimeSpan Seek, |
|
TimeSpan Duration); |
|
|
|
public abstract record GraphicsElementContext; |
|
|
|
public record WatermarkElementContext(WatermarkOptions Options) : GraphicsElementContext; |
|
|
|
public record TextElementContext(TextGraphicsElement TextElement, Dictionary<string, string> Variables) |
|
: GraphicsElementContext; |
|
|
|
public record ImageElementContext(ImageGraphicsElement ImageElement) : GraphicsElementContext; |