DEV Community

Discussion on: Video Chat with Unity3D, the ARFoundation Version

Collapse
raymondpols profile image
Raymond J.W. Pols • Edited on

@icywind Excellent tutorial! We tried it, but noticed the following: in the AR Client we do see the video of the Standard client (so we see the video in AR floating around). However, we dont see the video stream from the AR Client in the Standard client. Could it be that the AR Client is using the back camera for the AR view and is not able to stream the front camera at the same time? If so, would this be possible too? If not, how could we make this work?

Collapse
icywind profile image
Rick Cheng Author

HI Raymond, please check out my two other Blogs if you haven't seen them yet:

dev.to/icywind/video-chat-with-uni...
dev.to/icywind/video-chat-with-uni...

Collapse
raymondpols profile image
Raymond J.W. Pols

Hi Rick, thanks for reaching out. Yes, i looked at the other 2 blogs. Great stuff! I only don't see how to work with 2 AR devices simultaniously. Also in these 2 other blogs, there is 1 AR client and 1 normal client application. So the bottom line: is it possible that the AR Client uses the back camera for the AR view and simultaniously the front camera for sending your own local video to the other devices?

Thread Thread
icywind profile image
Rick Cheng Author

Currently not possible. Both hardware and software limitation exist. First, you will need latest iOS and Android device that can turned on both camera at the same time. Secondly the SDK needs to be able to send the camera images as separate stream. Current it can't. It may come in the future release of the SDK.