Upload thumbnails to S3

This commit is contained in:
2023-08-01 23:08:57 +01:00
parent 99ad1dc439
commit d2b56c14f9
20 changed files with 482 additions and 110 deletions

View File

@ -22,7 +22,7 @@ public class UserStreamConfiguration : IEntityTypeConfiguration<UserStream>
builder.Property(a => a.Event)
.IsRequired();
builder.Property(a => a.Recording);
builder.Property(a => a.Thumbnail);
builder.Property(a => a.EdgeIp)
.IsRequired();

View File

@ -21,9 +21,9 @@ public class UserStream
public string Event { get; set; } = null!;
/// <summary>
/// Recording URL of ended stream
/// URL of auto-generated thumbnail
/// </summary>
public string? Recording { get; set; }
public string? Thumbnail { get; set; }
public Guid EndpointId { get; init; }
public IngestEndpoint Endpoint { get; init; } = null!;