connectFlowChannel

@ExperimentalCoroutinesApi
fun connectFlowChannel(    context: Context,     channelId: String,     isVisitorChannel: Boolean): Flow<STWAudioSink>

Call this method to connect to a channel.

Note : the audio sink feature will be enabled automatically for this method

Return

Flow STWAudioSink : abstract class can be : STWAudioSinkCall : the call is started, it contain an instance of the call or the error if the start fail. STWAudioSinkCapture : when the capture is ready, has data and when it is ended(each state is identified by an event from AudioSinkEvent. STWAudioSinkPlay : when the capture is ready, has data and when it is ended(each state is identified by an event from AudioSinkEvent.

Parameters

context

Context the application context

channelId

String the group id

isVisitorChannel

Boolean true when it is for a visitor channel