commit 15/10/2025

Overview menu belum beres
This commit is contained in:
2025-10-15 16:13:44 +07:00
parent 2fe4a46e3e
commit 2ca7004b70
5 changed files with 444 additions and 65 deletions

View File

@@ -143,7 +143,8 @@ class WebApp(val listenPort: Int, val userlist: List<Pair<String, String>>) {
}
"getStreamerOutputs" -> {
SendReply(wsMessageContext, cmd.command, objectmapper.writeValueAsString(StreamerOutputs.values.toList()))
val reply : List<StreamerOutputData> = StreamerOutputs.map { so -> StreamerOutputData.fromBarixConnection(so.value) }
SendReply(wsMessageContext, cmd.command, objectmapper.writeValueAsString(reply))
}
else -> {