AudioGraphSettings.build property

Build the processing graph and declare its output(s). Return a single node for one output (which inherits the source’s stream key), or a record of renditionName → output for multiple independently-subscribable outputs — each emits a stream whose key carries that renditionName, so downstream subscribes to a specific one by rendition. Outputs may have different channel layouts, and each may pin analysis-tap readings into its qualityMetrics (the { node, measurements } form).

Signature:

build: (graph: AudioGraphBuilder) => AudioNode | Record<string, AudioGraphOutputSpec>;