Stream an audio file to multiple android phones

427 views Asked by At

I'm want to make an app that would let users connect to other android devices and play music on all devices simultaneously(much like Samsung's Group Play). I did a little reading over the internet and learnt that the MediaPlayer in android can do rtsp. I'm not exactly sure what it is or how it works, but it seems that it can help me stream audio. I want to know how I could

1.Set up a kind of a server that all devices would connect to.

2.Get a client to connect to the "server". Multiple clients would connect.

3.Stream audio to all connected clients.

Any help is appreciated. Thank You!

0

There are 0 answers