Update: Edited to change JSON formatting.

This commit is contained in:
2026-04-03 15:22:53 -04:00
parent 776889932e
commit f24a255d12
4 changed files with 69 additions and 56 deletions

View File

@@ -2,11 +2,13 @@
namespace RelayServer.Models.Rtc;
public class RtcActiveCall : Record
public sealed class RtcActiveCall : Record
{
public required string ChannelId { get; set; }
public required string OfferUser { get; set; }
public bool IsActive { get; set; }
public string? OfferUser { get; set; }
public RtcSessionDescription? Offer { get; set; }
public RtcSessionDescription? Answer { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
public bool IsActive { get; set; }
}

View File

@@ -0,0 +1,7 @@
namespace RelayServer.Models.Rtc;
public sealed class RtcSessionDescription
{
public required string Type { get; set; }
public required string Sdp { get; set; }
}