opentok-android-sdk-samples
opentok-android-sdk-samples copied to clipboard
Is it possible to disable Audio ?
Hi,
I am using the SDK to stream the video only, i removed audio/bluetooth permission that are intrusive/useless in our case.
The streaming works nice but, i have still some error in Log for Audio :
E/IAudioFlinger: createRecord returned error -22
And a stacktrace for Bluetooth :
E/BluetoothAdapter: Application does not have bluetooth permission, registering is failed E/BluetoothAdapter: java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10365 nor current process has android.permission.BLUETOOTH.
How can i add setting to the Session object to avoid these ?
Thanks
For the audio error that was my fault, i miss to add setAudioTrack(false) but that not fix the bluetooth issue...
The BluetoothAdapter seems to be called even if audiotrack set to false..