How to know the current audio source is from the loud speaker or the earpiece?

Hi,
I need to display the current audio source. I only found an API to switch audio source. But How can I get the current audio source.

Hi fei.wang,

Thanks for using Zoom SDK. We do not have the interface to get audio source at the moment. I will forward this to the engineering team as a feature request and we will investigate the possibility of having this in the future.

Thanks!