Skip to content

Commit

Permalink
Update to take scope
Browse files Browse the repository at this point in the history
  • Loading branch information
hokyungh committed Jun 18, 2021
1 parent 54fc89b commit 02f5c5a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import com.amazonaws.services.chime.sdk.meetings.utils.logger.Logger
import com.xodee.client.audio.audioclient.AudioClient
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.SupervisorJob
import kotlinx.coroutines.launch

class DefaultAudioClientController(
Expand All @@ -30,7 +31,7 @@ class DefaultAudioClientController(
private val audioClient: AudioClient,
private val meetingStatsCollector: MeetingStatsCollector,
private val eventAnalyticsController: EventAnalyticsController,
private val audioClientScope: CoroutineScope = CoroutineScope(Dispatchers.IO)
private val audioClientScope: CoroutineScope = CoroutineScope(Dispatchers.IO + SupervisorJob())
) : AudioClientController {
private val TAG = "DefaultAudioClientController"
private val DEFAULT_PORT = 0 // In case the URL does not have port
Expand Down

0 comments on commit 02f5c5a

Please sign in to comment.