code: function startRecording() {
    if (room !== undefined) {
      if (!recording) {
        room.startRecording(localStream, (id) => {
          recording = true;
          recordingId = id;
        });
      } else {
        room.stopRecording(recordingId);
        recording = false;
      }
    }
  }
docs: eslint-disable-next-line no-unused-vars