Kick from edge forward

This commit is contained in:
2023-08-01 11:25:31 +01:00
parent 9a8aca72ab
commit 0634622c4d
20 changed files with 523 additions and 74 deletions

View File

@ -24,6 +24,12 @@ public class UserStreamConfiguration : IEntityTypeConfiguration<UserStream>
builder.Property(a => a.Recording);
builder.Property(a => a.EdgeIp)
.IsRequired();
builder.Property(a => a.ForwardClientId)
.IsRequired();
builder.HasOne(a => a.Endpoint)
.WithMany()
.HasForeignKey(a => a.EndpointId);