updated to shared lib

This commit is contained in:
2026-04-11 18:42:29 -04:00
parent a67f94b08e
commit 085507519a
6 changed files with 46 additions and 62 deletions

View File

@@ -20,7 +20,7 @@ public static class RtcEndpoints
RtcNotificationService.BroadcastToChannel(new RtcNotificationMessage
{
Type = "rtc_offer_updated",
Type = SignalType.OfferUpdated,
ChannelId = request.ChannelId,
Username = request.Username
});
@@ -58,7 +58,7 @@ public static class RtcEndpoints
RtcNotificationService.BroadcastToChannel(new RtcNotificationMessage
{
Type = "rtc_answer_updated",
Type = SignalType.AnswerUpdated,
ChannelId = request.ChannelId
});
@@ -91,7 +91,7 @@ public static class RtcEndpoints
RtcNotificationService.BroadcastToChannel(new RtcNotificationMessage
{
Type = "rtc_candidate_added",
Type = SignalType.CandidateAdded,
ChannelId = request.ChannelId,
Username = request.Username,
Direction = JsonSerializer.Serialize(request.Candidate)
@@ -124,7 +124,7 @@ public static class RtcEndpoints
RtcNotificationService.BroadcastToChannel(new RtcNotificationMessage
{
Type = "rtc_call_left",
Type = SignalType.CallLeft,
ChannelId = request.ChannelId,
Username = request.Username
});