1.1 KiB
1.1 KiB
Web Browser Input Sample
This sample demonstrates to stream the video from Unity to the web browser, and operate input events on the browser as Unity events.
you can see the list of supported browsers on The Web Application page.
[!NOTE] This sample has the same behavior as Broadcast sample, but only the input control method is different. For normal case, we recommend using the Broadcast sample.
Usage
Procedure
- Launch the signaling server using public mode. Please refer to this link for launching.
- Open Menu scene in Unity Editor, and click
WebBrowserInput
button.
-
Click on the Play button in Unity Editor.
-
Open your web browser and access
http://localhost
. You can see the top page. Click aVideoPlayer Sample
link.
- You can see the Unity scene on the browser, and control a camera in the Unity scene.