[jitsi-dev] How to use Jitsi Java API to switch the device of the currently ongoing voice call


I am working on a project that uses SIP Communication. I have a
requirement where when there is an active ongoing call, the user should be
able to switch from one device to the other.

For Example :

The User has an Hand Set and an Hands free device attached to his computer.
When the call is going on, if the user clicks on the hands free button,
the call should be switched to the hands free device and vice-versa.

Is this possible in Jitsi? Is there any particular API that I need to look

Thanks in advance