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

    Interface StartRecordingCommand

    Starts recording the call. This is a non-blocking command — execution continues to the next command in the sequence immediately after recording begins.

    interface StartRecordingCommand {
        command: "startRecording";
        events?: RecordingEvents;
        recordingName?: string;
        recordingOptions: RecordingOptions;
    }
    Index

    Properties

    command: "startRecording"

    Command to start recording on the channel

    RecordingEvents

    recordingName?: string

    Identifier for this recording within the session. Must be unique across active recordings in the session. Other commands (e.g., stopRecording) reference this name to target a specific recording. Setting the recording name is useful for stopping the recording using the stopRecording command. If name is not set, recording can only be stopped when the call is disconnected.

    recordingOptions: RecordingOptions

    RecordingOptions