how can I record a video on android AR app?


I’m developing AR apps for android ARCore.
I want to record a video of ARobject and real world.
But I have no idea to record that.

Please tell me if there is any way.

Option A : You find a app for andorid that can record the screen.
Option B : Use a asset to integrate into your app to record it from inside your app
This asset might be a option
(NatCorder - Video Recording API | Integration | Unity Asset Store)

Option A : Already answered above

Option B: Only works with Android

You’ll have to play with the resolutions in the Android script here to tweak the bitrate and the resolution of the output video. Works out of the box in portrait mode.