Options that are set when creating a new audio resource.
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
T | No | the type for the metadata (if any) of the audio resource |
Whether or not inline volume should be enabled. If enabled, you will be able to change the volume of the stream on-the-fly. However, this also increases the performance cost of playback. Defaults to
false
.Optional metadata that can be attached to the resource (e.g. track title, random id). This is useful for identification purposes when the resource is passed around in events. See metadata