--- 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.