LiveStreamer icon indicating copy to clipboard operation
LiveStreamer copied to clipboard

Can not record video along with camera streaming

Open Liverpudlian88 opened this issue 7 years ago • 1 comments

Hello, I hope that you still check this library.

I import Live-555-server-android to my application. I start device Camea1 preview, in Server application create new customized TexttureSurface to encode the surface frame then stream to Client application successfully. However, i can not record video in Server application using that surface follow Android video record tutorial: https://developer.android.com/guide/topics/media/camera. It might be that the surface in conflicted between video record & preview streaming function.

So my question is can i record the video file using Camera1 while still streaming using Live-555-server-android? Thank you.

Liverpudlian88 avatar Jun 21 '18 11:06 Liverpudlian88

@Liverpudlian88 Have you tried using VirtualDisplay to create a new display for MediaRecorder? I don't have used due VirtualDisplay at the same time, you can give it a try.

papan01 avatar Jun 21 '18 14:06 papan01