Skip to content

REVO / API version 0.0.10

IAudioOptions

Property Type Details
category?
readonly
string Name of a GTA category or one created by a client script. Playback waits for the category to become available. An empty or omitted name uses the default category.
loop?
readonly
boolean Defaults to false. Live URLs cannot loop.
pos?
readonly
IVector3 Sets the position for spatial audio. Omit for frontend (2D) playback.
streamDistance?
readonly
number Positive streaming radius in metres. Defaults to 200.
volume?
readonly
number Volume in dB, from -100 to 12. Defaults to 0. GTA categories and settings also affect playback.