Create jitsi track from existing media devices

Hi, I’m trying to search for a way to create a JitsiTrack of type ‘desktop’ from an existing media device. Is this in any ways possible? I noticed you can provide a cameraDeviceId for type ‘video’, but thats not what I need