StreamPlayer Node
The audio player node can load audio streams from URLs and play them.
Number of inputs | 0 |
Number of outputs | 1 |
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
Name | Type | Description |
---|---|---|
url | String | The url of the audio to load. |
Return Value
None.
Events
Inherits events from its parent, SingleBusAudioSourceNode.
This object does not provide any events.