Skip to content

TypeScript API reference

Every export of the TypeScript SDK’s packages, generated from the code’s doc comments.

  • @caprid/relay is the product SDK: connect, publish, subscribe, and supervise connections. Its @caprid/relay/node entry point connects over native QUIC, and @caprid/relay/media holds the media publishing and subscribing policy.
  • @caprid/relay-quic and @caprid/relay-websocket are transport adapters, for Node and for networks without UDP.
  • @caprid/moq-media and @caprid/moq-mediabunny are the LOC/MSF format helpers and the optional Mediabunny file-input adapter.
  • @caprid/moq-core is the generic MOQT protocol core.

For how to use them, start with the TypeScript guide.