Added TODOs and fixed some typings

This commit is contained in:
2026-04-13 17:02:31 -04:00
parent 627d67be39
commit 28be2ae6c3
2 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ using Microsoft.Maui.Dispatching;
using Microsoft.AspNetCore.SignalR.Client;
namespace RelayClient;
//TODO: Remove this file
public static class NativeWebRtc
{
[DllImport("webrtc_wrapper.dll")]

View File

@@ -103,7 +103,7 @@ public sealed class RtcLeaveRequest
public sealed class RtcSessionDescription
{
public SignalType Type { get; set; }
public string Type { get; set; } = string.Empty;
public string Sdp { get; set; } = string.Empty;
}
@@ -121,8 +121,8 @@ public sealed class RtcAnswer
public RtcSessionDescription SessionDescription { get; set; } = new();
}
public class RtcIceCandidate : Record
{
public class RtcIceCandidate : Record //TODO: Swap names with DBIceCandidate.
{ //TODO: Update all Record extensions to be DB*, all communication objects to be Rtc*
public required string ChannelId { get; set; }
public required string Username { get; set; }
public required string Candidate { get; set; }