• 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?

ashcliuewkanc

Lurker
Jan 26, 2021
1
0
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!
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones