diff --git a/RelayClient/WebRTC.cs b/RelayClient/WebRTC.cs index 20b2ab5..14122dc 100644 --- a/RelayClient/WebRTC.cs +++ b/RelayClient/WebRTC.cs @@ -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")] diff --git a/RelayShared/Rtc/RtcModels.cs b/RelayShared/Rtc/RtcModels.cs index a3ad885..5791275 100644 --- a/RelayShared/Rtc/RtcModels.cs +++ b/RelayShared/Rtc/RtcModels.cs @@ -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; }