Added TODOs and fixed some typings
This commit is contained in:
@@ -5,7 +5,7 @@ using Microsoft.Maui.Dispatching;
|
|||||||
using Microsoft.AspNetCore.SignalR.Client;
|
using Microsoft.AspNetCore.SignalR.Client;
|
||||||
|
|
||||||
namespace RelayClient;
|
namespace RelayClient;
|
||||||
|
//TODO: Remove this file
|
||||||
public static class NativeWebRtc
|
public static class NativeWebRtc
|
||||||
{
|
{
|
||||||
[DllImport("webrtc_wrapper.dll")]
|
[DllImport("webrtc_wrapper.dll")]
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ public sealed class RtcLeaveRequest
|
|||||||
|
|
||||||
public sealed class RtcSessionDescription
|
public sealed class RtcSessionDescription
|
||||||
{
|
{
|
||||||
public SignalType Type { get; set; }
|
public string Type { get; set; } = string.Empty;
|
||||||
public string Sdp { 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 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 ChannelId { get; set; }
|
||||||
public required string Username { get; set; }
|
public required string Username { get; set; }
|
||||||
public required string Candidate { get; set; }
|
public required string Candidate { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user