updated to shared lib
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user