android - Video recording without specifing any output file -


i'm aware of there way of recording videos , saving specific file. here's code sample:

mediarecorder recorder = new mediarecorder();     recorder.setaudiosource(mediarecorder.audiosource.default);         recorder.setvideosource(mediarecorder.videosource.default);          camcorderprofile cphigh = camcorderprofile                 .get(camcorderprofile.quality_high);         recorder.setprofile(cphigh);         recorder.setoutputfile("/sdcard/videocapture_example.mp4"); //saving file sd card         recorder.setmaxduration(50000);          recorder.setmaxfilesize(5000000);  

my question: possible record video without specifing output file, output byte array built record? target prevent saving file sd card. don't mind using 3rd party libraries, prefer not to.

thanks in advanced!

this idea has been used in spydroid project here check videostream class.

the output set local socket, data retrieved localsocket stream , may manipulated desired (writing byte[]).


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -