API ReferenceEvent Referencelive.stream.event.v1

live.stream.event.v1

Constant

import { EVENT_NAMES } from "@platform/contracts";
 
EVENT_NAMES.LIVE_STREAM_EVENT_V1;

Publishers

No service currently publishes this event.

Subscribers

Payload schema

z.object({
  event_type: z.string(),
  session_id: z.string().uuid().nullable(),
  brand_id: z.string().nullable(),
  stream_call_id: z.string().nullable(),
  occurred_at: z.string().datetime(),
  payload: z.record(z.unknown()).default({}

Delivery semantics

  • At-least-once delivery. Consumers must dedupe by event ID.
  • Fanned out to both NATS (in-cluster) and EventBridge (durable). See Events concept.