forked from cgvr/DeltaVR
		
	
		
			
				
	
	
	
		
			1.7 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.7 KiB
		
	
	
	
	
	
	
	
Overview
This example demonstrates creating a Voice Chat application using Oculus Platform Rooms (for invites), VOIP (sending and receiving microphone input) and Peer-to-Peer networking (sharing headset positions and rotations). The application works on both Rift and Gear VR. Also, by using an Application Grouping, users will be be able to chat cross-platform.
Application Setup
- Open the Project in Unity 5.4 or later
 - Import the OculusPlatform Unity package
 
Rift
- Create your Rift application on the dashboard
 - Copy the Application ID into the Project (Main Menu -> Oculus Platform -> Edit Settings -> Oculus Rift App Id)
 
GearVR
- Create the GearVR application on the dashboard
 - Move the GearVR application into the Rift application's App Grouping
 - Copy the Application ID into the Project (Main Menu -> Oculus Platform -> Edit Settings -> Gear VR App Id)
 - Copy the OSIG files for the GearVR devices you are testing to Assets\Plugins\Android\Assets
 
Upload your builds
Build executables from Unity and upload them to your Application Dashboard
- Rift
- Add the executable and data folder to a zip file
 - Upload the zip to the Alpha channel on your Dashboard
 - Set the executable name you chose in the zip file
 - Add Friends you are testing with as Subscribed Users for the Alpha channel
 
 - GearVR
- Create an android keystore (if you don't have one) so Unity can sign the build. (Player Settings -> Publishing Settings)
 - Upload the apk to the Alpha channel on your Dashboard
 - Each apk you upload needs a new build number (Player Settings -> Other Settings)
 - Add Friends you are testing with as Subscribed Users for the Alpha channel