Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 959 Bytes

File metadata and controls

29 lines (15 loc) · 959 Bytes

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

Hardware acceleration

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

Procedure

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

Launch web server

  1. Build an app in Unity Editor, and launch an application on mobile device.

  2. Open Menu scene in Unity Editor and click Broadcast button.

Open Broadcast scene

  1. On mobile device, configure signaling settings, and click Gyro button.

Open Gyro scene

  1. Push the Start button on the device and check streaming video.

Play Gyro sample