Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 1.46 KB

File metadata and controls

37 lines (20 loc) · 1.46 KB

Broadcast Sample

The Broadcast sample can stream video and audio to multi Unity applications.

This sample can use in combination with other samples below.

This sample uses build-in render pipeline. If you want to try High-Definition Render pipeline or Universal Render Pipeline, please try Render Pipeline Sample.

Usage

Hardware acceleration

Recommend enabling Hardware Encoder support on the Render Streaming inspector to improve performance using hardware acceleration.

Procedure

  1. Launch the signaling server using public mode. Please refer to this link for launching.

Launch web server

  1. Build a scene as a receiver (ex. Receiver scene) in Unity Editor, and launch an application.

  2. Open Broadcast scene.

Open Broadcast scene

  1. Specify IP address of the signaling server to the Signaling URL parameter on the inspector.

Signaling url on inspector

  1. Click on the Play button in Unity Editor.

  2. Operate the receiver and check the streaming video/audio correctly.