Files
2026-04-28 16:48:04 +08:00

26 lines
796 B
Markdown

# Gyroscope Sample
This sample shows ways to operate the direction of a camera on the remote PC from the mobile device that equipped gyro sensor.
## 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 on mobile device.
3) Open **Menu** scene in Unity Editor and click **Broadcast** button.
![Open Broadcast scene](images/open_broadcast_scene.png)
4) On mobile device, configure signaling settings, and click **Gyro** button.
![Open Gyro scene](images/open_gyro_scene.png)
5) Push the **Start** button on the device and check streaming video.
![Play Gyro sample](images/play_sample_gyro.png)