📄 src/Domain/IFrameExtractor.cs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

namespace Slopper.Domain;

public interface IFrameExtractor
{
    Task<IReadOnlyList<byte[]>> ExtractFrames(
        MediaItem media,
        IReadOnlyList<TimeSpan> timestamps,
        CancellationToken cancellationToken
    );
}