Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 2.45 KB

File metadata and controls

53 lines (36 loc) · 2.45 KB

Streaming Management

Unity Render Streaming automatically creates and destroys streams as needed. It also allows the developer to customize the mechanism for controlling the stream. For a description of components related to individual streams, see the section on components for streaming.

RenderStreaming component

Render Streaming includes the following features.

  • Communication with signaling servers
  • Streaming input from cameras
  • Associating browser input with events

Render Streaming Inspector

Properties

Parameter Description Default
Signaling Type Class type of the signaling (See About Signaling Type). WebSocketSignaling
Signaling URL Set the signaling server URL
If you use WebSocket as a signaling protocol, you should specify a URL starting with ws or wss.
ws://localhost
Ice Servers Set a list of STUN/TURN servers. (See TURN Server)
Urls Set URLs of STUN/TURN servers. [stun:stun.l.google.com:19302\]
Username The username to use when logging into the TURN server.
Credencial The credential to use when logging into the TURN server.
Credencial Type This attribute specifies what kind of credential is to be used when connecting to the TURN server. Password
Interval Set the polling frequency (in seconds) to the signaling server
Valid only if you are using Http as the signaling protocol.
5 (sec)
Hardware Encoder Support Enable the checkbox to make this video encoding replace values that use a hardware encoder. False
Handlers List of handlers of signaling process.
Run On Awake Automatically started when called Awake method. True

SingleConnection component

This component lists components that stream media or data via a single peer connection.

Single Connection inspector

Properties

Parameter Description Default
Streams List of streams []

Broadcast component

This component lists components that stream media or data via multiple peer connections.

Broadcast inspector

Properties

Parameter Description Default
Streams List of streams []