DVR
This commit is contained in:
13
NostrStreamer/Services/Dvr/IDvrStore.cs
Normal file
13
NostrStreamer/Services/Dvr/IDvrStore.cs
Normal file
@ -0,0 +1,13 @@
|
||||
namespace NostrStreamer.Services.Dvr;
|
||||
|
||||
public interface IDvrStore
|
||||
{
|
||||
/// <summary>
|
||||
/// Upload a DVR recording to storage and return the URL
|
||||
/// </summary>
|
||||
/// <param name="source"></param>
|
||||
/// <returns></returns>
|
||||
Task<UploadResult> UploadRecording(Uri source);
|
||||
}
|
||||
|
||||
public record UploadResult(Uri Result, double Duration);
|
Reference in New Issue
Block a user