Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wowza .mp3 RTSP stream on android

I want to play wowza .mp3 stream on android using default MediaPlayer Library. But I have tried playing the stream using the API demos provided by android itself and it does not work. Although the android documentation states that it does.

http://developer.android.com/guide/appendix/media-formats.html

I checked the wowza documentation and I found that .mp3 rtsp streams cannot be played on any Android device. http://www.wowza.com/forums/content.php?62

I am confused that what is the real issue here because one documentation states that it does and the other states that it doesn't? Can someone please tell me ?

like image 591
Ahmad Ali Nasir Avatar asked Oct 21 '22 20:10

Ahmad Ali Nasir


1 Answers

You should use HTTP streaming for MP3 files, this is supported by Wowza, reference: http://broadcastengineering.com/products/wowza-expands-media-server-2-http-streaming-ability

You can also find the MP4 specs for Android or even those which are supported by multiple platforms and use those. Depending on your connection bandwidth, 480p or 720p with AAC audio should work anywhere.

like image 163
tazzix Avatar answered Nov 15 '22 05:11

tazzix