setMediaMode

fun setMediaMode(mode: Int)

Overrides the system audio mode the SDK runs the call in. The SDK already picks one; this is for apps that must coexist with another audio stack.

Parameters

mode

an AudioManager.MODE_* constant, for example AudioManager.MODE_IN_COMMUNICATION.