Streaming Audio over UDP to Android
Posted
by Mr. Pig
on Stack Overflow
See other posts from Stack Overflow
or by Mr. Pig
Published on 2010-04-02T15:10:27Z
Indexed on
2010/04/02
15:13 UTC
Read the original article
Hit count: 1479
Is it possible to have Android (perhaps via MediaPlayer or a different existing class) accept media streams over UDP? I've successfully had MediaPlayer connect to an HTTP stream (as well as static files hosted on an HTTP server) but I'm wondering how one would go about accepting a stream from a UDP source.
I've seen this and suppose a solution similar to that (where I download the stream via an independent UDP socket and then move the data to a MemoryBuffer that I then pass to MediaPlayer) is an option but I'm curious if a method already exists in the SDK, and if it does not, what other options do I have?
Thanks
© Stack Overflow or respective owner