This commit is contained in:
zedoCN 2024-08-31 04:11:57 +08:00
parent 4d87d0d84f
commit aad1681994

View File

@ -25,15 +25,12 @@ fun main() = runBlocking {
for (client in clientAudios) { for (client in clientAudios) {
launch(Dispatchers.IO) { launch(Dispatchers.IO) {
val t = measureTimeMillis {
for (audio in clientAudios) { for (audio in clientAudios) {
if (audio != client) //if (audio != client)
audio.mix(client.sample) client.mix(audio.sample)
} }
client.send() client.send()
} }
println("server send time: $t")
}
} }
} }
} }