File size: 682 Bytes
ebc517d 66a180a ebc517d 66a180a ebc517d 66a180a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | ---
title: Sound Transport Relay
emoji: "🔊"
colorFrom: blue
colorTo: green
sdk: docker
app_port: 7860
pinned: false
---
# Sound Transport Relay (HF)
This Space runs a simple WebSocket relay at `/ws`. Clients should connect with:
```json
{"role":"sender","code":"123456789"}
```
or
```json
{"role":"receiver","code":"123456789"}
```
After both sides connect with the same code, the relay forwards all text/binary
messages both directions.
Notes
- HF free Spaces can sleep when idle; the first connection after sleep will have
a cold-start delay.
- This relay does not authenticate or validate passwords. Your app should handle
authentication and encryption end-to-end.
|