SrtConnectionInputNode.startRecording() method

Starts recording this connection’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(sourceName: string, recording: InputRecordingSettings): void;

Parameters

Parameter Type Description

sourceName

string

recording

InputRecordingSettings

Returns:

void