Premium
Streaming Lab Beta
Video and Audio Use in a Scene
Tutorial
Beginner
30 Mins
Overview
Overview
You have completed 0% of this Tutorial.
1.
Why Media?
2.
Add Video and Audio in Your Scene
Summary
By the end of this tutorial, you’ll be able to:
  • Add 2D and 3D audio to your scene to increase immersion.
  • Include video clips in your scene to display useful information
Topics we'll cover
Language
English
Recommended Unity Versions
2018.3
Tutorial
Video and Audio Use in a Scene
Streaming Lab Beta
This tutorial contains a Streaming Lab
The Streaming Lab takes 2-5 minutes to load. Launch the Lab to load it in a new tab, and return to continue this tutorial. When you get to the Streaming Lab step, your Lab should be ready. Note that you have 15 minutes to return to your Lab before you have to reload it.
Streaming Labs are currently in Beta and optimized for North American usage.
1.
Why Media?
Media refers to audio and video in your Unity scene. Each of which is important in VR because we, for the most part, experience audio everyday in the real world, and we’re used to video––whether Netflix or Amazon video, news or ad. Think of a media player like an iPod, and an item in your iTunes library like an audio or video file. The iPod in this case makes it easy for you to watch or listen to that media.
It might sound strange but in virtual reality, media-centric applications like Netflix, Hulu, Oculus Venues, NextVR, and more have proven to captivate audiences.

And outside of just sports and entertainment, video is used to great effect as a means of communication for a range of purposes. But how is audio relevant?
Audio is used to add ambient noise to an environment. Sound can come from object noise or people speaking, but it’s heard all around us everyday. Audio should also sound like it’s coming from a particular place, as in the depiction below thus giving you a sense of the expanse of a space.
What you will learn:
By the end of this tutorial, you’ll be able to:
  • Add 2D and 3D audio to your scene to increase immersion.
  • Include video clips in your scene to display useful information


Streaming Lab Beta
2.
Add Video and Audio in Your Scene
You’ll work with two sample files, a popping noise and a video trailer respectively, each will introduce the notion of how media players work on GameObjects and the configuration best practices for XR for Automotive. The popping sound is used for its dynamic range and waveform with clearly louder areas than others.
What Will You Do?
In this Streaming Lab, you’ll create a moving object that emits sound and a video player. To do this, you will need to:
  1. Configure a cube gameobject to play a popping sound, using Unity’s spatialized audio system.
  2. Add a video trailer to a virtual screen (Quad)