Keep live decoding low latency and preserve publisher stop controls

This commit is contained in:
evgeny committed 2026-10-12 22:15:11 +02:00
1 parent b4ebaa8863
commit 7addfb5aa3
3 files changed
+4 -1

No files matched your search

@@ -82,6 +82,8 @@ fun StreamScreen(channelId: String, channelName: String, sources: List<StreamSou
key(group, selected.id, selected.epoch) { LiveStreamView(group, selected.id, selected.epoch, selected.self) }
}
TextButton(onClick = { onSelect(null); onBack() }) { Text(stringResource(R.string.stream_close_view)) }
if (selected.self && local?.ongoing == true) Button(onClick = StreamController::stop,
enabled = local.phase != StreamPhase.STOPPING) { Text(stringResource(R.string.stream_stop)) }
return@Column
}
if (local?.ongoing == true) {