updating reference server
This commit is contained in:
parent
091e54c599
commit
d184c6a663
|
|
@ -13,7 +13,14 @@ GET /api/tracks/:trackId is the canonical audio URL.
|
||||||
|
|
||||||
## Base 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
|
```text
|
||||||
HTTP: http://localhost:3001
|
HTTP: http://localhost:3001
|
||||||
|
|
@ -738,7 +745,13 @@ Response:
|
||||||
|
|
||||||
Connect to live channel state.
|
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
|
```text
|
||||||
ws://localhost:3001/api/channels/default/ws
|
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.
|
7. Queue rendering that accepts sparse `queue` updates.
|
||||||
|
|
||||||
Everything else is additive.
|
Everything else is additive.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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,
|
channel state and time. The client owns UI, local audio playback, local caching,
|
||||||
and drift correction.
|
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:
|
Core rule:
|
||||||
- Always identify tracks by track.id.
|
- Always identify tracks by track.id.
|
||||||
- Always play audio from /api/tracks/:trackId.
|
- Always play audio from /api/tracks/:trackId.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue