UnityRenderStreaming/com.unity.renderstreaming/Documentation~/data-streaming.md

1.7 KiB

Data Streaming Component

Data streaming is using RTCDataChannel of the WebRTC package internally.

Using the data streaming feature, Unity Render Streaming provides a component to send messages of Input System.

InputSender component reference

This component sends input events fired from all input devices connected machine.

InputSender inspector

Properties

Parameter Description Default
Local Channel is local or remote False
Label Channel label Empty

InputReceiver component reference

This component receives input events from Unity.

InputReceiver inspector

Properties

Parameter Description Default
Local Channel is local or remote. False
Label Channel label. Empty
Actions The set of Input Actions associated with the player. To receive input, each player must have an associated set of Actions. See documentation on Actions for details. None
Default Map Which Action Map in Actions to enable by default. If set to None, then the player starts with no Actions being enabled. None
Events Uses a separate UnityEvent for each individual type of message. Empty