[Live-devel] Audio codec supported by Android

Daniel Yacouboff danielya at essence-grp.com
Thu Nov 26 07:07:04 PST 2015


Hello there,
I've been working on a RTSP server that streams both PCM audio (signed 16-bit) and H264 video.
I've sub-classed the MediaSubsession classes and the ByteStream sources to fit my needs, so I receive the data via TCP instead of a file.
Both streams work well when I play them via VLC, but when I try to play it using an Android player (that I wrote), the video is OK but the audio is played in slow motion.
What I did was making WavAudioFileSource, only I do recv() instead of fread(), and the ConvertToULaw flag in on (otherwise it didn't play at all).

-          Which codecs are supported, according to your experience, in Android?

-          How do I convert from 16-bit PCM to a selected codec (other than ULaw) using your library?
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20151126/671f414f/attachment.html>


More information about the live-devel mailing list