SrtOutputSettingsCommon.onRecording property

Events from a recording started with SrtOutputNode.startRecording(): started, each segment start (where it is in which file, for a byte-range playlist), a gap (the disk fell behind and data was dropped to the next segment start), stopped, failed.

Signature:

onRecording?: (event: SrtRecordingEvent) => void;