UdpTsInputNode.startRecording() method
Starts recording the source’s bytes as they arrive, before any demux, while the input runs: the contributor stays connected throughout. Starting again stops the current recording first. Events arrive on onRecording; a source that is not there yet fails the recording, not the input.
Signature:
startRecording(recording: InputRecordingSettings, sourceName?: string): void;