18

I'd like to write an application for Android for camera streaming to PC (H.263, MPEG_4). I found some libraries: sipandroid, jlibrtp. SIPandroid: RTP packets are streamed (wireshark catches it on PC well), but VLC can't play it.

Jlibrtp: API is shady, stream is not played correctly using VLC.

May be there are some adaptations to these libraries (to make it working for camera streaming), or there are some other libraries with clean API and samples?

Thanks for your answer.

Naight
  • 181
  • 1
  • 3
  • What client app/protocol/api do you want to use? Is VLC the target, or just a test? – Phil Lello Apr 24 '11 at 03:43
  • 1
    If you have problems recieving stram on vlc, check the network interfaces. Get stream from all interfaces eg. udp://@:2000 - udp(legacy) stream all interfaces port 2000. – Lukas Apr 25 '11 at 19:39
  • What do you mean by "stream is not played correctly"? Also, have you checked the VLC messages window for more info? – Ralf Apr 28 '11 at 08:20

1 Answers1

4

VLC has built-in support for RTP, and as @Lukas said, the network interfaces are likely the problem on VLC. If you stream everything to one port, and listen on that port, you will at least get something. You can also look into the RTP packets to see if they are well formed.

VLC itself uses the LiveMedia library, so you may be able to use that.

cdeszaq
  • 30,869
  • 25
  • 117
  • 173