Component:AudioStreamSpawner

From Resonite Wiki
Revision as of 16:47, 17 December 2024 by 989onan (talk | contribs) (fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Audio Stream Spawner component as seen in the Scene Inspector

The AudioStreamSpawner component is used as part of the dash to spawn a selected audio stream.


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.
BitrateKbps Float The bitrate the audio stream should be
DeviceID String the device name of the stream we are spawning
_bitrateString String The bitrate as a string.

Sync Delegates

Triggers
Method Name Method type and Arguments. Description
OnStartStreaming() Delegate<IButton: button, ButtonEventData: eventData> Triggered by a button in order to spawn the stream in the world.

Usage

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also