Some orgnization, and cleanup to come.
This commit is contained in:
14
RelayServer/Models/Rtc/RtcIceCandidate.cs
Normal file
14
RelayServer/Models/Rtc/RtcIceCandidate.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using SurrealDb.Net.Models;
|
||||
|
||||
namespace RelayServer.Models.Rtc;
|
||||
|
||||
public class RtcIceCandidate : Record
|
||||
{
|
||||
public required string ChannelId { get; set; }
|
||||
public required string Username { get; set; }
|
||||
public required string Candidate { get; set; }
|
||||
public string? SdpMid { get; set; }
|
||||
public int? SdpMLineIndex { get; set; }
|
||||
public required string Direction { get; set; } // "offer" or "answer"
|
||||
public DateTime CreatedAt { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user