first commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Fragalytics.Web.Models;
|
||||
|
||||
namespace Fragalytics.RenderWorker.Services;
|
||||
|
||||
public interface IClipRenderBackend
|
||||
{
|
||||
string Name { get; }
|
||||
Task<RenderedClipResult> RenderAsync(ClipJobRecord clipJob, CancellationToken cancellationToken);
|
||||
}
|
||||
|
||||
public sealed class RenderedClipResult
|
||||
{
|
||||
public string FilePath { get; set; } = string.Empty;
|
||||
public string FileName { get; set; } = string.Empty;
|
||||
public string ContentType { get; set; } = "video/mp4";
|
||||
}
|
||||
Reference in New Issue
Block a user