【Unity】【WebRTC】How to use Unity instead of the browser to receive remote images

【background】

In the previous articles, we discussed how to set up the signaling server, how to send the picture to the remote end and how to use the browser to view the synchronized picture. Today we will discuss how to receive the picture internally in Unity.
Before reading this article, please read several previous blog posts on web server settings and basic remote screen functions. (View under the same column)

【step】

  1. Start Web.app.Insert image description here

  2. Build a sample project and run the project.

  3. Open a sample project in the Unity editor and click the BroadCast button.
    Insert image description here4. Click the Receiver button again, Start.Insert image description here

Guess you like

Origin blog.csdn.net/weixin_41697242/article/details/135105801