setPTTDefaultAudioLatency

open fun setPTTDefaultAudioLatency(@NonNull context: Context, option: Int)

Call this method to choose whether you want play the PTT and channel audio latency on default or opensles or aAudio

Parameters

context

Context:The application context

option

int:

The audio latency option :

Note that: OPENSLES is Deprecated and should not be used, otherwise the audio Latency will be forced toDEFAULT