What does audioHelper.setSpeaker(true/false) do?

Description
I would like some documentation about what .setSpeaker does on the audio helper.

If it is set to false, it still uses the speaker on my device, if it is set to true nothing changes, but I experience a bug with wired headphones:

When I start a call and using a pair of wired headphones. It sometimes chooses the speaker instead.
It doesn’t always happens, but when it first happens, it persists until the app is restarted.

Which Android Video SDK version?
Tested on both 1.9.0 and 1.13.3

To Reproduce(If applicable)
Start af few call until it happens where .setSpeaker(true) is called when connecting.

Smartphone:
Samsung A8 tablet with android 14