RTCForge API Reference v1.1.1
    Preparing search index...

    Interface AuditEvent

    A single security/compliance audit record delivered to SignalingServerOptions.auditLog on room and peer lifecycle transitions.

    interface AuditEvent {
        detail?: Record<string, unknown>;
        peerId?: string;
        roomId: string;
        ts: number;
        type: AuditEventType;
    }
    Index

    Properties

    detail?: Record<string, unknown>

    Optional extra context (e.g. { reason } on a peer-kicked event).

    peerId?: string

    Id of the peer involved, when the event is peer-scoped.

    roomId: string

    Id of the room the event pertains to.

    ts: number

    Wall-clock time of the event, in epoch milliseconds.

    Which lifecycle transition this record describes.