How to set audio input device via libjitsimeet js using selenium code?

Like the following selenium java code, I want to set the audio input device in the settings -> devices tab.

  public void changeLocalDisplayName(String userId) {
if (userId == null) {
  // default
  ((JavascriptExecutor) webDriver)
      .executeScript("APP.conference.changeLocalDisplayName(APP.conference.getMyUserId())");
}
((JavascriptExecutor) webDriver)
    .executeScript("APP.conference.changeLocalDisplayName(\"" + userId + "\")");

}

How could I use the libjitsimeet js library to achieve this?
Any help is highly appreciated…