Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Android / Screen recording on Android

Author
Message
YesItsASpoon
9
Years of Service
User Offline
Joined: 3rd Feb 2015
Location: Southern California
Posted: 5th May 2018 00:45 Edited at: 5th May 2018 02:37
My ultimate goal is to figure out how to record from an Android camera & save the video, so I can then use that video file later in my app.

I'm trying to use StartScreenRecording to screen capture on Android. I figured out how to save the video to a custom Android directory. I've also had success showing the camera on-screen using SetDeviceCameraToImage. I figured that if I combine the two, I should be able to capture video from the camera.

Except its not working for me. Whenever I run the following, the app abruptly shuts down right after the first Sync() following StarScreenRecording().



To be clear: if I disable EITHER the SetDeviceCameraToImage() OR the StartScreenRecording() functionality, the other one works as expected. I'm only having a problem trying to do both together.

Are these two abilities that just weren't designed to work together? If so, is there another way of capturing the camera to a video file?

Login to post a reply

Server time is: 2024-03-29 04:51:21
Your offset time is: 2024-03-29 04:51:21