Skip to content

Commit

Permalink
Enable WebRTC diagnostics on development builds (release too) (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielNovak authored Nov 16, 2023
1 parent 7f40e40 commit 1cba0fa
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ import io.getstream.video.android.core.RealtimeConnection
import io.getstream.video.android.core.call.state.ChooseLayout
import io.getstream.video.android.mock.StreamPreviewDataUtils
import io.getstream.video.android.mock.previewCall
import io.getstream.video.android.tooling.util.StreamFlavors
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch

Expand Down Expand Up @@ -120,7 +121,8 @@ fun CallScreen(
call = call,
layout = layout,
enableInPictureInPicture = true,
enableDiagnostics = BuildConfig.DEBUG,
enableDiagnostics = BuildConfig.DEBUG ||
BuildConfig.FLAVOR == StreamFlavors.development,
onCallAction = {
when (it) {
ChooseLayout -> isShowingLayoutChooseMenu = true
Expand Down

0 comments on commit 1cba0fa

Please sign in to comment.