Updatedededed...? Still needs testing.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user