Audio codec supported by Android
2015-11-26 15:07:04 GMT
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.
_______________________________________________ live-devel mailing list live-devel <at> lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel