Update README

This commit is contained in:
2025-09-29 02:07:43 +08:00
parent de073fd88f
commit 20c229bfb7
1 file changed
+18
+18
View File
@@ -39,4 +39,22 @@ kotlin {
}
}
}
```
There is a simple airplay2 service
```kotlin
val service = createService(
serviceType = "_airplay._tcp.local.",
serviceName = "AP@RTAST",
hostname = "rtakland.local.",
ipAddress = "192.168.10.104",
port = 7001,
bindAddress = "192.168.10.104",
mdnsPort = 5356,
)
while (true) {
service.broadcast()
delay(2000L)
}
```