From 62618224daf32efbd3b925d40e6f57bbd49dd79c Mon Sep 17 00:00:00 2001 From: Koen J Date: Tue, 11 Feb 2025 10:32:11 +0100 Subject: [PATCH] Casting server did not bind to an automatically selected port. --- .../main/java/com/futo/platformplayer/casting/StateCasting.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/futo/platformplayer/casting/StateCasting.kt b/app/src/main/java/com/futo/platformplayer/casting/StateCasting.kt index db2e231b..e329a495 100644 --- a/app/src/main/java/com/futo/platformplayer/casting/StateCasting.kt +++ b/app/src/main/java/com/futo/platformplayer/casting/StateCasting.kt @@ -64,7 +64,7 @@ class StateCasting { private val _scopeMain = CoroutineScope(Dispatchers.Main); private val _storage: CastingDeviceInfoStorage = FragmentedStorage.get(); - private val _castServer = ManagedHttpServer(9999); + private val _castServer = ManagedHttpServer(); private var _started = false; var devices: HashMap = hashMapOf();