An open source prefab that makes it easy to live stream from a Unity virtual camera into an Agora stream. This repo should be included as a submodule for on-going Agora project development. For quick integration, please go to the Release section for downloading the exported prefabs.
Use TokenClient for token association. See the repo for this.
-
Drag the Agora Virtual Camera Prefab onto the Scene Hierarchy.
-
Add your Agora AppID and either a temp token or enable UseTokenClient for a TokenClient plugin.
2b. The Agora TokenClient prefab assumes the token server returns the same JSON response as the Agora Token Server in Golang guide.