updating reference server

This commit is contained in:
Peter Li 2026-06-07 19:48:13 -07:00
parent 091e54c599
commit d184c6a663
2 changed files with 19 additions and 3 deletions

View File

@ -13,7 +13,14 @@ GET /api/tracks/:trackId is the canonical audio URL.
## Base URL
Default local server:
Reference server:
```text
HTTP: http://mhsgroove.peterino.com:3001
WS: ws://mhsgroove.peterino.com:3001
```
Local development server:
```text
HTTP: http://localhost:3001
@ -738,7 +745,13 @@ Response:
Connect to live channel state.
Example URL:
Reference server example URL:
```text
ws://mhsgroove.peterino.com:3001/api/channels/default/ws
```
Local example URL:
```text
ws://localhost:3001/api/channels/default/ws
@ -1512,4 +1525,3 @@ A working synced frontend only needs:
7. Queue rendering that accepts sparse `queue` updates.
Everything else is additive.

View File

@ -20,6 +20,10 @@ Use the Blastoise API documented in docs/api-reference.md. The server owns
channel state and time. The client owns UI, local audio playback, local caching,
and drift correction.
Reference server for testing:
- HTTP base URL: http://mhsgroove.peterino.com:3001
- WebSocket base URL: ws://mhsgroove.peterino.com:3001
Core rule:
- Always identify tracks by track.id.
- Always play audio from /api/tracks/:trackId.