Creating RTP Packets from Android Camera to Send

I don’t know if this library includes something to stream the packets to the pc,
but if not, you’ve a problem, because android only supports RTP streaming since version 3.1 (API level 12). if your level is lower, you have to write your own “rtp-server” which is able to stream the packets from your device to the pc.

for more information check out the sipdroid project. they have created their own “rtp-server”: http://code.google.com/p/sipdroid/source/browse/trunk/src/org/sipdroid/sipua/ui/VideoCamera.java

UPDATE:

another possibility is to use the ffserver from the ffmpeg libraries, but therefore you have to compile the libraries for android. here is a small tutorial how to do this and how to work with the libraries: How to Build FFmpeg for Android

UPDATE2:

the spydroid application is a very good example to stream videos from an android device without any external libraries.

Leave a Comment