Component:AudioStreamSpawner: Difference between revisions

From Resonite Wiki
Automated: update Categories, SyncDelegates
fix
Line 9: Line 9:
{{Table ComponentFields
{{Table ComponentFields
|BitrateKbps|Float| The bitrate the audio stream should be
|BitrateKbps|Float| The bitrate the audio stream should be
|DeviceID|String|
|DeviceID|String| not a stub
|_bitrateString|String| The bitrate as a string.
|_bitrateString|String| The bitrate as a string.
}}
}}
Line 26: Line 26:


[[Category:Components:Utility:Tools{{#translation:}}|Audio Stream Spawner]]
[[Category:Components:Utility:Tools{{#translation:}}|Audio Stream Spawner]]
[[Category:ComponentStub]]
[[Category:Components{{#translation:}}|Audio Stream Spawner]]
[[Category:Components{{#translation:}}|Audio Stream Spawner]]

Revision as of 16:47, 17 December 2024

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 not a stub
_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