Appearance
HVC Sink Api
- Project:
hvc-sinkapi
Overview
hvc-sinkapi is the "sink" that turns Pexip conference telemetry into finished events. It polls the Pexip Management API for ended conferences, matches them to assigned virtualMeetingRooms, and finalizes the corresponding ScheduledEvents:
- Writes per-participant join/leave
scheduledEventLogEntries. - Marks events completed (
isCompleted,hasLedger,hasRecording,hasChat,status = 'completed', duration notes). - Creates
eventInstancesrows and, in the admin DB,Meetings+MeetingParticipants. - Releases the VMR room so it can be reused.
- Runs periodic cleanup of stale/missed rooms.
Tech Stack
- Target: .NET 7
- Dapper +
Microsoft.Data.SqlClient, Refit (Pexip management API), Flurl.Http, Serilog → Seq - No EF; raw SQL against tenant + admin databases.
Pages
| Page | What it covers |
|---|---|
| Configuration | processors[], connection strings, notify URL |
| Endpoints | Status + Cleanup endpoints |
| Workers | Conference processor + tenant sync background services |
| Data | Tables the service reads/writes |
Related
- HVC Services — receives
eventCompletednotifications. - Api — creates the Pexip VMRs that this service finalizes.