Files
webRtc/Packages/com.unity.renderstreaming@3.1.0-exp.9/Documentation~/sample-multiplay.md

30 lines
872 B
Markdown
Raw Normal View History

2026-04-28 16:48:04 +08:00
# Multiplay Sample
The `Multiplay` sample can stream video and audio to multi Unity applications. This sample works with the combination of Unity-Unity or Unity-Browser.
## Usage
### Procedure
1) Launch the signaling server using public mode. Please refer to [this link](webapp.md) for launching.
![Launch web server](images/launch_webserver_public_mode.png)
2) Build an app in Unity Editor, and launch an application.
3) Click `Multiplay` button on the app.
![Open Multiplay scene](images/open_multiplay_scene.png)
4) Select **host** option and click `Start` button.
![Open Multiplay scene](images/sample_multiplay_select_host.png)
5) Click on the Play button in Unity Editor, and click `Multiplay` button.
6) Select **guest** option and click `Start` button.
7) Displayed same scene each screens.
![Play Multiplay sample](images/play_sample_multiplay.png)