Sinch Node.js SDK - v1.6.0
    Preparing search index...

    Interface RecordingEvents

    SVAML commands to execute based on recording lifecycle outcomes.

    interface RecordingEvents {
        onFailure?: SvamlCommand[];
        onFinish?: SvamlCommand[];
    }
    Index

    Properties

    onFailure?: SvamlCommand[]

    Commands to execute if the recording fails to start. If omitted, failures are silently ignored and the call flow continues.

    onFinish?: SvamlCommand[]

    Commands to execute when the recording is successfully stopped. Note that this does not mean that the file is delivered to the configured destination yet.