setAudioInputDevice in lib-jitsi-meet?

I see in that there is an option to select audio and video devices.

I’m trying to do something similar on our implementation using lib-jitsi-meet, but I can’t find any functions in the docs to allow for that.
I see in the jitsi-meet external-api code there is a function “setAudioInputDevice”, that triggers a “transport.sendRequest” (but I’m not clear what that does…)

is there some way to accomplish something similar using lib-jitsi-meet.js?
Thank you

for what it’s worth, just sharing that I accomplished a similar functionality (not sure if it’s the way they did it…) by first removing the local audio track, then creating and adding a new audio track specifying the new device id. Seems to be working so far…