• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Is it possible to record a video while playing another video simultaneously with android-studio?

Is it possible to record a video while playing a video with android-studio? I would like to record a video via a mobile phone's camera while playing a video via YouTube or any video player. For example using the [camera2 API](https://developer.android.com/reference/android/hardware/camera2/package-summary) for recording videos and storing them on a device and using [VideoView](https://developer.android.com/reference/android/widget/VideoView) to play video simultaneously. Is this possible? If yes, how?

I am happy about any answer that leads me into the right direction. Thank you!
 
Back
Top Bottom