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; }
}