Keep call display format internal to the Android application

This commit is contained in:
evgeny committed 2026-10-15 00:47:42 +02:00
1 parent b6961f5fbc
commit 1c5ef12c8f
1 file changed
+1 -1
@@ -37,7 +37,7 @@ class CallVideoEngine(private val context: Context, private val id: Long) {
private val handler = Handler(thread.looper)
private val manager = context.getSystemService(CameraManager::class.java)
private val player = CallVideoPlayer(id) { message -> handler.post { report(message) } }
val display: StateFlow<CallVideoFormat?> = player.display
internal val display: StateFlow<CallVideoFormat?> = player.display
private val previewFrames = MutableStateFlow<Bitmap?>(null)
val preview: StateFlow<Bitmap?> = previewFrames
private var previewAt = 0L