viro icon indicating copy to clipboard operation
viro copied to clipboard

How to stream camera with AR objects.

Open cloud-github opened this issue 4 years ago • 2 comments

Environment

Please provide the following information about your environment:

  1. Development OS: iPhone X (15.0.2)
  2. xCode version: 13.0
  3. Viro Version: "@viro-community/react-viro": "^2.20.2"

Description

I have successfully install and run Viro starter kit. Now, I want to stream AR enabled camera feed to some third party streaming engine. How can i achieve this.

In ViroARSceneNavigator, there is startVideoRecording() . This basically records and stores in camera roll. I actually want to have continuous streams of camera along with AR objects. I couldn't find any event/api available for accessing camera stream in documentations

Please help on this.

cloud-github avatar Nov 14 '21 07:11 cloud-github

Actually that's a commonly asked feature, we'll work on it.

doranteseduardo avatar Dec 06 '21 04:12 doranteseduardo

Hi, any news on this situation, I am looking for this too. I found one example is using Agora WebRTC + DeepAr, they can do it's by using this follow(IOS) below line:

AgoraSDK.pushExternalVideoFrame(frame) <- here is frame got from `DeepAR SDK`

But Im not sure how implement of pushExternalVideoFrame function. Still waiting for some solution, thanks you

fukemy avatar Jun 23 '23 03:06 fukemy