简体   繁体   中英

Unity3D Agora video chat with Ar Foundation Face Tracking

I'm trying make an video chat with Agora and use AR Foundation for Face Tracking effects.

The problem is AR Foundation works with self AR Camera that overlays the Agora camera.

It's possible work with Agora camera as AR Camera for Ar Foundation? I think maybe i can replace the AR Camera from AR Foundation and set it the scripts to Agora camera, but i couldn't found the Agora Camera in scene.

Thanks!

you can do so by using RenderTexture to show the AR camera image and send the raw video data over using Agora's APIs.

Take a look at this tutorial . As a 3rd part of a series, you may find the other two tutorials on this topic in its beginning overview too.

You may not want to build your project using the exact code from this tutorial. But it will help you understand the concept.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM