Updatedededed...? Still needs testing.

This commit is contained in:
2026-04-04 17:06:35 -04:00
parent 3aec6e23b2
commit 7af1295754
4 changed files with 147 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ public static class RtcEndpoints
{
await rtcCallService.WriteOfferAsync(request.ChannelId, request.Username, request.SessionDescription);
RtcNotificationService.Broadcast(new RtcNotificationMessage
RtcNotificationService.BroadcastToChannel(new RtcNotificationMessage
{
Type = "rtc_offer_updated",
ChannelId = request.ChannelId,
@@ -59,7 +59,7 @@ public static class RtcEndpoints
// Sdp = request.Sdp
// });
RtcNotificationService.Broadcast(new RtcNotificationMessage
RtcNotificationService.BroadcastToChannel(new RtcNotificationMessage
{
Type = "rtc_answer_updated",
ChannelId = request.ChannelId
@@ -93,7 +93,7 @@ public static class RtcEndpoints
request.Direction
);
RtcNotificationService.Broadcast(new RtcNotificationMessage
RtcNotificationService.BroadcastToChannel(new RtcNotificationMessage
{
Type = "rtc_candidate_added",
ChannelId = request.ChannelId,
@@ -126,7 +126,7 @@ public static class RtcEndpoints
{
await rtcCallService.LeaveCallAsync(request.ChannelId, request.Username);
RtcNotificationService.Broadcast(new RtcNotificationMessage
RtcNotificationService.BroadcastToChannel(new RtcNotificationMessage
{
Type = "rtc_call_left",
ChannelId = request.ChannelId,