CALL WORKS, NEEDS TO HAVE LEAVE CALL SETUP AND HOTSWAP FIXED
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using RelayServer.Models.Rtc;
|
||||
using System.Text.Json;
|
||||
using RelayServer.Models.Rtc;
|
||||
using RelayServer.Services.Rtc;
|
||||
|
||||
namespace RelayServer.Endpoints;
|
||||
@@ -86,7 +87,6 @@ public static class RtcEndpoints
|
||||
request.Candidate.candidate,
|
||||
request.Candidate.sdpMid,
|
||||
request.Candidate.sdpMLineIndex
|
||||
// request.Candidate.direction
|
||||
);
|
||||
|
||||
RtcNotificationService.BroadcastToChannel(new RtcNotificationMessage
|
||||
@@ -94,7 +94,7 @@ public static class RtcEndpoints
|
||||
Type = "rtc_candidate_added",
|
||||
ChannelId = request.ChannelId,
|
||||
Username = request.Username,
|
||||
/*Direction = request.Direction*/
|
||||
Direction = JsonSerializer.Serialize(request.Candidate)
|
||||
});
|
||||
|
||||
return Results.Ok();
|
||||
|
||||
Reference in New Issue
Block a user