Skip to main content

StreamPlayer Node

The audio player node can load audio streams from URLs and play them.

Number of inputs0
Number of outputs1

This node is only available on macOS and iOS.


Configuration

This object does not provide any configuration options.


Properties

Inherits properties from its parent, SingleBusAudioSourceNode.


Actions

Inherits actions from its parent, SingleBusAudioSourceNode.

play

Starts the audio playback.

Parameters

None.

Return Value

None.

stop

Stops the audio playback and resets the playback head to the beginning.

Parameters

None

Return Value

None.

load

Loads an audio file into memory.

Parameters

NameTypeDescription
urlStringThe url of the audio to load.

Return Value

None.


Events

Inherits events from its parent, SingleBusAudioSourceNode.

This object does not provide any events.