Skip to content

A collection of demos that shows how to use VirtualCam prefab for Unity

License

Notifications You must be signed in to change notification settings

AgoraIO-Community/UnityVirtualCamDemos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityVirtualCamDemos

A collection of demos that shows how to use VirtualCam prefab for Unity

Any scene of this project can run successfully alone.

This project contains these scenes:

  • SampleARScene: runs in mobile phone with AR setting. Shares the view from the ARCamera.
  • SampleMinScene: runs in any platform (including Editor). Shares any assigned camera.

Prerequisites

  • Agora Account and App IDs (tokens optional)
  • Unity 2019 LTS (Recommended) and up
  • Agora Unity SDK v3.x.x

How to Run

  • set your AppID and token (optional) to AgoraVirtualCamera game object in the scene.
  • check Join/Leave/Microphone/Quit button set up on AgoraVirtualCamera
  • hit Play for Editor and check the shared camera view on a different device using Agora WebDemo app or another Agora app (e.g. Unity Demo) using the same AppId and Channel information.
  • For AR demo on mobile devices, following the standard Unity ARFoundation package set up. Also read the README file from Agora Video SDK for configuration recommendations.

SampleMinScene_-_VirtualCamSample

Help Resources

License

The MIT License (MIT).

About

A collection of demos that shows how to use VirtualCam prefab for Unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages