You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"gain" is the multiplier for the given band. The default value is 0. Valid values range from -0.25 to 1.0,
382
382
where -0.25 means the given band is completely muted, and 0.25 means it is doubled. Modifying the gain could also change the volume of the output.
383
383
384
-
<details>
384
+
<detailsmarkdown="1">
385
385
<summary>Band Frequencies</summary>
386
386
387
387
| Band | Frequency |
@@ -498,7 +498,7 @@ Any smoothing values equal to or less than 1.0 will disable the filter.
498
498
499
499
Plugins can add their own filters. The key is the name of the plugin, and the value is the configuration for that plugin. The configuration is plugin specific. See [Plugins](plugins.md) for more plugin information.
500
500
501
-
<details>
501
+
<detailsmarkdown="1">
502
502
<summary>Example Payload</summary>
503
503
504
504
```json
@@ -571,7 +571,7 @@ Returns a list of players in this specific session.
571
571
GET /v4/sessions/{sessionId}/players
572
572
```
573
573
574
-
<details>
574
+
<detailsmarkdown="1">
575
575
<summary>Example Payload</summary>
576
576
577
577
```yaml
@@ -631,7 +631,7 @@ Response:
631
631
632
632
[Player](#Player) object
633
633
634
-
<details>
634
+
<detailsmarkdown="1">
635
635
<summary>Example Payload</summary>
636
636
637
637
```yaml
@@ -724,7 +724,7 @@ Request:
724
724
725
725
When `identifier` is used, Lavalink will try to resolve the identifier as a single track. An HTTP `400` error is returned when resolving a playlist, search result, or no tracks.
726
726
727
-
<details>
727
+
<detailsmarkdown="1">
728
728
<summary>Example Payload</summary>
729
729
730
730
```yaml
@@ -753,7 +753,7 @@ Response:
753
753
754
754
[Player](#Player) object
755
755
756
-
<details>
756
+
<detailsmarkdown="1">
757
757
<summary>Example Payload</summary>
758
758
759
759
```yaml
@@ -827,7 +827,7 @@ Request:
827
827
| resuming? | bool | Whether resuming is enabled for this session or not |
828
828
| timeout? | int | The timeout in seconds (default is 60s) |
829
829
830
-
<details>
830
+
<detailsmarkdown="1">
831
831
<summary>Example Payload</summary>
832
832
833
833
```json
@@ -846,7 +846,7 @@ Response:
846
846
| resuming | bool | Whether resuming is enabled for this session or not |
847
847
| timeout | int | The timeout in seconds (default is 60s) |
Copy file name to clipboardExpand all lines: docs/api/websocket.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ When opening a websocket connection, you must supply 3 required headers:
19
19
20
20
**\*For more information on resuming see [Resuming](index.md#resuming)**
21
21
22
-
<details>
22
+
<detailsmarkdown="1">
23
23
<summary>Example Headers</summary>
24
24
25
25
```
@@ -37,7 +37,7 @@ Websocket messages all follow the following standard format:
37
37
| op |[OP Type](#op-types)| The op type |
38
38
| ... | ... | Extra fields depending on the op type |
39
39
40
-
<details>
40
+
<detailsmarkdown="1">
41
41
<summary>Example Payload</summary>
42
42
43
43
```yaml
@@ -67,7 +67,7 @@ Dispatched by Lavalink upon successful connection and authorization. Contains fi
67
67
| resumed | bool | Whether this session was resumed |
68
68
| sessionId | string | The Lavalink session id of this connection. Not to be confused with a Discord voice session id |
69
69
70
-
<details>
70
+
<detailsmarkdown="1">
71
71
<summary>Example Payload</summary>
72
72
73
73
```json
@@ -100,7 +100,7 @@ Dispatched every x seconds (configurable in `application.yml`) with the current
100
100
| connected | bool | Whether Lavalink is connected to the voice gateway |
101
101
| ping | int | The ping of the node to the Discord voice server in milliseconds (`-1` if not connected) |
102
102
103
-
<details>
103
+
<detailsmarkdown="1">
104
104
<summary>Example Payload</summary>
105
105
106
106
```json
@@ -162,7 +162,7 @@ A collection of statistics sent every minute.
162
162
163
163
\* The expected amount of frames is 3000 (1 every 20 ms) per player. If the `deficit` is negative, too many frames were sent, and if it's positive, not enough frames got sent.
164
164
165
-
<details>
165
+
<detailsmarkdown="1">
166
166
<summary>Example Payload</summary>
167
167
168
168
```json
@@ -204,7 +204,7 @@ Server dispatched an event. See the [Event Types](#event-types) section for more
204
204
| guildId | string | The guild id |
205
205
| ... | ... | Extra fields depending on the event |
206
206
207
-
<details>
207
+
<detailsmarkdown="1">
208
208
<summary>Example Payload</summary>
209
209
210
210
```yaml
@@ -236,7 +236,7 @@ Dispatched when a track starts playing.
| track |[Track](rest.md#track) object | The track that started playing |
238
238
239
-
<details>
239
+
<detailsmarkdown="1">
240
240
<summary>Example Payload</summary>
241
241
242
242
```json
@@ -287,7 +287,7 @@ Dispatched when a track ends.
287
287
|`replaced`| The track was replaced | false |
288
288
|`cleanup`| The track was cleaned up | false |
289
289
290
-
<details>
290
+
<detailsmarkdown="1">
291
291
<summary>Example Payload</summary>
292
292
293
293
```json
@@ -345,7 +345,7 @@ Dispatched when a track throws an exception.
345
345
|`suspicious`| The cause might not be exactly known, but is possibly caused by outside factors. For example when an outside service responds in a format that we do not expect |
346
346
|`fault`| The probable cause is an issue with the library or there is no way to tell what the cause might be. This is the default level and other levels are used in cases where the thrower has more in-depth knowledge about the error |
347
347
348
-
<details>
348
+
<detailsmarkdown="1">
349
349
<summary>Example Payload</summary>
350
350
351
351
```json
@@ -391,7 +391,7 @@ Dispatched when a track gets stuck while playing.
391
391
| track |[Track](rest.md#track) object | The track that got stuck |
392
392
| thresholdMs | int | The threshold in milliseconds that was exceeded |
393
393
394
-
<details>
394
+
<detailsmarkdown="1">
395
395
<summary>Example Payload</summary>
396
396
397
397
```json
@@ -437,7 +437,7 @@ See the [Discord Docs](https://discord.com/developers/docs/topics/opcodes-and-st
437
437
| reason | string | The close reason |
438
438
| byRemote | bool | Whether the connection was closed by Discord |
0 commit comments