Verify RTS Push to JS (fixes to application)

This commit is contained in:
2026-04-17 16:47:30 -04:00
parent 88c5d597d3
commit b70189c619
3 changed files with 31 additions and 8 deletions

View File

@@ -70,6 +70,12 @@ public static class RtcEndpoints
{
return Results.Ok(await rtcCallService.GetAnswersAsync(channelId));
});
//app.MapGet("/api/rtc/participants/{channelId}", (string channelId) => // TODO: UNCOMMENT AND ADD
//{
// var participants = RtcChannelPresenceService.GetUsernamesInChannel(channelId);
// return Results.Ok(participants);
//});
// Return the latest answer stored for the specified channel.
app.MapGet("/api/rtc/answer/{channelId}", async (string channelId, RtcCallService rtcCallService) =>