Norsk logo Developer Documentation
  • Norsk Media Typescript SDK
  • Type Aliases
  • SrtRecordingEvent
1.4.2-nightly-3021b63f 1.2.1 1.1.0 1.0.402

SrtRecordingEvent type

see SrtOutputSettingsCommon.onRecording

Signature:

export type SrtRecordingEvent = {
    event: "started";
    fileName: string;
} | {
    event: "segmentStart";
    segment: FileTsSegmentStart;
} | {
    event: "gap";
    droppedBytes: number;
} | {
    event: "stopped";
} | {
    event: "failed";
    reason: string;
};

References: FileTsSegmentStart

SrtRawCodec SrtStreamIdParsed

The source code for this UI is licensed under the terms of the MPL-2.0 license.