Is the an immersive multipltaform player prepared to join and participate in an immersive telepresence experience which combines audio and live 360 video. It's part of the Open Telepresence initiative. The core player is based on Unity plus a thin layer that makes use of gstreamer for video processing.
- Unity 2021.3.2f1
- Gstreamer 1.14.5 runtime
Download and install Unity LTS version LTS Release 2021.3.2f1 for Windows 64 bits
- Download Gstreamer 1.0 both 1.14.5 runtime installer and 1.14.5 development installer and for both of them just use the following instructions:
- Click Custom to check that the C:/ is selected (sometimes the installer choose D:/ as well)
- Press Back button and choose Complete option for installation. At the end you should have a new folder called gstreamr at your C:/
- Add gstreamer to your PATH env variable so windows can find its libraries when loading the plugin:
- Computer ->
System properties -> Advanced System Settings -> Advanced Tab -> Environment Variables... -> System Variables
- Update PATH:
Path -> Edit -> New -> C:\gstreamer\1.0\x86_64\bin (adjust this path to your installation)
- Refresh PATH: open a cmd terminal and write:
> PATH=C
, close the cmd termina and restart it - Introduce
> echo %PATH%
to make sure that the PATH has been update correctly.
- Computer ->
- Clone/Download this project to your directory of choice
- Launch Unity and select the option
Open
(to open a new project) - Browse to the Directory
open-telepresence-player
and select the Directory Unity - Drag & Drop the scene
Assets > Test Scenes > Local-clip
to the Hierarchy window - Click on Quad element and adjust the field URI to point to some file, i.e: file:///D:/movies/test.mkv
- Click Play button and you should see your movie playing on the white screen
- Download Android GStreamer dev package and extract it in a folder of your choice
- Download Android NDK (tested with r17c version) and extract it in a folder of your choice
- Modify the variables
GSTREAMER_ROOT_ANDROID
andNDK_ROOT
accordingly to match your selected directories - Go the the folder
Plugin -> GUB -> Project -> Android
- Launch the
build.cmd
script. Resulting libraries are generated onPlugin\GUB\Project\Android\GUB\libs
- Copy the generated libraries to your Unity project
- Better error reporting (when sync fails, for example)
Player based on project: https://github.com/ua-i2cat/gst-unity-bridge