join PTTCall
fun joinPTTCall( context: Context, threadId: String, completion: CompletionCallback?, playSTWSinkCallback: STWAudioSinkPlayCallback, captureSTWSinkCallback: STWAudioSinkCaptureCallback)
Content copied to clipboard
Call this method to join a group call.
Note : the audio sink feature will be enabled automatically for this method.
Parameters
context
Context the application context
thread Id
String the group id
completion
CompletionCallback is a block of code which will be invoked when the call is created
play STWSink Callback
STWAudioSinkPlayCallback is a block of code which will be invoked when the play sink is ready and there is a valid data, and when the play sink is ended
capture STWSink Callback
STWAudioSinkCaptureCallback is a block of code which will be invoked when the capture sink is ready and there is a valid data, and when the capture sink is ended