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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With