Type alias SignalSource

SignalSource: {
    type: "microphone";
    id: string;
} | {
    type: "camera";
    id: string;
} | {
    type: "systemAudio";
    itemIndex: number;
}

The part of the recording a Signal originated from.

  • microphone: the microphone with the given id.
  • camera: the camera with the given id.
  • systemAudio: the system or application audio recorded by the schema item at itemIndex in the items the recorder was created with, including the audio of a display or window recording. With a single system audio item there is no need to look at the index.

Type declaration

  • type: "microphone"
  • id: string

Type declaration

  • type: "camera"
  • id: string

Type declaration

  • type: "systemAudio"
  • itemIndex: number

Generated using TypeDoc