Component:AudioStreamSpawner: Difference between revisions

From Resonite Wiki
add info
fix
 
(2 intermediate revisions by 2 users not shown)
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
|DeviceName|String| The name of the selected audio stream
|DeviceID|String| the device name of the stream we are spawning
|_bitrateString|String| The bitrate as a string.
|_bitrateString|String| The bitrate as a string.
}}
}}

Latest 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 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