Skip to content

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 eventInstances rows 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

PageWhat it covers
Configurationprocessors[], connection strings, notify URL
EndpointsStatus + Cleanup endpoints
WorkersConference processor + tenant sync background services
DataTables the service reads/writes
  • HVC Services — receives eventCompleted notifications.
  • Api — creates the Pexip VMRs that this service finalizes.

Released under the MIT License.