The Genvid SDK Prefab for Unity

Note

This feature is currently in beta. The prefab is fully functional, but we expect to make some changes in the future to improve the user experience.

Please visit our forums if you have feedback on this (or any other) feature of the Genvid SDK.

Overview

For an easier integration of the Genvid SDK into your project, we created a Unity prefab to streamline the integration path.

This section covers the files included in the prefab, with detailed descriptions of what they do and how to use them.

Note that the prefab only works if you have the files needed indicated in the Unity sample project: Genvid.dll, GenvidPlugin.dll, and GenvidSDKCSharp.dll. See Genvid Unity Package for information about these files.

Files Included in the Prefab

Genvid Prefab Tree

All the files included in the prefab are below. You can use the game object to drag and drop on your scene or directly use the script if you prefer. Make sure that the data sent is compatible with JsonUtility.ToJson otherwise it will display an error.

All prefab files are in the Genvid/Prefabs/Genvid/ folder. The script file attached to each prefab is available in Genvid/Scripts.

GenvidSessionManager.prefab
The GenvidSessionManager.prefab object initializes and manages the associated GenvidSession.
GenvidSession.prefab
The GenvidSession.prefab object manages the associated audio stream, video stream, data streams, events, and commands.
Video.prefab
The Video.prefab object manages a video stream.
Audio.prefab
The Audio.prefab object manages an audio stream.
Streams.prefab
The Streams.prefab object manages a data stream.
Events.prefab
The Events.prefab object manages events.
Commands.prefab
The Commands.prefab object manages commands.