TrackStuckEvent
The TrackStuckEvent is sent by the server to the client when a track stops providing audio data for longer than the internal threshold.
Structure
Section titled “Structure”| Field | Type | Description |
|---|---|---|
op | string | Always event |
type | string | Always TrackStuckEvent |
guildId | string | The Discord guild ID |
track | object | The Track that is stuck |
thresholdMs | number | The threshold in milliseconds that was exceeded |
Example Payload
Section titled “Example Payload”{ "op": "event", "type": "TrackStuckEvent", "guildId": "1234567890", "track": { "encoded": "...", "info": { ... } }, "thresholdMs": 10000}