Component:AudioStreamController

From Resonite Wiki
This page contains changes which are not marked for translation.
Component image 
Audio Stream Controller component as seen in the Scene Inspector

The AudioStreamController component is an old legacy component.

This shouldn't be used! For a modern component that does the same thing and is customizable, see AudioStreamInterface.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Stream IAudioStream The audio stream this is controlling.
AudioOutput AudioOutput The audio output being used to play the stream.
IsPlayingForOwner raw output of Bool Whether the audio stream is playing for the user who spawned it.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
OnToggleBroadcast:ButtonEventHandler ButtonEventHandler X Used to change the audio to broadcast.
OnTogglePlayForOwner:ButtonEventHandler ButtonEventHandler X Used to make the audio play for the stream owner.

Usage

Legacy.

Examples

Legacy.

See Also