Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android MediaRecorder in streaming

Its possible to "stream" result of MediaRecorder?

The unique method i can see is mediaRecorder.setOutputFile that receives a FileDescriptor. So i can write the result to a File or send via socket to receiver.

I tried the second solution but the result video is corrupted because is not "seekable" in stream.

The idea is to use the camera of android device to publish result to Red5.

like image 822
David Rodriguez Avatar asked Sep 06 '11 13:09

David Rodriguez


1 Answers

Yes, it possible, there are many examples for that. You can checkout sipdroid example. Or even Android IP camera which is much more simple.

Good Luck

like image 55
Lior Ohana Avatar answered Oct 03 '22 10:10

Lior Ohana