Skip to content

Latest commit

 

History

History
44 lines (24 loc) · 1.47 KB

File metadata and controls

44 lines (24 loc) · 1.47 KB

Receiver Sample

This sample shows that displaying a video streamed from another Unity.

This sample can use in combination with other samples below.

ReceiveVideo Sample

Note

In this version, it was checked on only iOS devices. Android and other devices are not supported by this sample.

Note

If no codec is available on both sender and receiver, the video can not stream. Please note that the compatibility of codecs is different corresponding to platforms and graphics API.

Usage

Hardware acceleration

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

Procedure

This procedure is for using it with the Broadcast sample.

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

Launch web server

  1. Build a 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.