# Android not able to stream .mp3 file from wowza server

**URL:** <https://community.wowza.com/t/android-not-able-to-stream-mp3-file-from-wowza-server/39274>\
**Category:** Wowza Streaming Engine\
**Created:** [September 12, 2012, 9:20pm UTC](https://community.wowza.com/t/android-not-able-to-stream-mp3-file-from-wowza-server/39274 "2012-09-12T21:20:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deepak\_Rajan](https://avatars.discourse-cdn.com/v4/letter/d/f9ae1b/32.png) [@Deepak\_Rajan](https://community.wowza.com/u/Deepak_Rajan)\
**Post date:** [September 12, 2012, 9:20pm UTC](https://community.wowza.com/t/android-not-able-to-stream-mp3-file-from-wowza-server/39274/1 "2012-09-12T21:20:48Z")

</div>

rtsp://stream4.sli.se:1935/ur/_definst_/mp3:171000-171999/171027-4.mp3 its working with VLC player but not with my android player ?

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [September 12, 2012, 6:04pm UTC](https://community.wowza.com/t/android-not-able-to-stream-mp3-file-from-wowza-server/39274/2 "2012-09-12T18:04:06Z")

</div>

When you playback in VLC, look at Tools \> Codec info? Is there one set of audio and video, or two? If there are two, that indicates that UDP ports are blocked or not mapped properly. VLC is able to failover from UDP to TCP, and that is why you see two audio and two video blocks in that case. However many Android and other devices use UDP and are not able to failover.

Otherwise, it might be an encoding problem. Make sure it is h.264 Baseline 3 or lower video, and AAC audio is recommended.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [September 13, 2012, 1:30pm UTC](https://community.wowza.com/t/android-not-able-to-stream-mp3-file-from-wowza-server/39274/3 "2012-09-13T13:30:45Z")

</div>

This indicates that UDP ports are blocked or not mapped to the Wowza server properly. See #2 under Troubleshooting.

[https://www.wowza.com/docs/how-to-troubleshoot-rtsp-rtp-playback](https://www.wowza.com/docs/how-to-troubleshoot-rtsp-rtp-playback)

VLC is failing-over to TCP. The android doesn’t work because it is limited to UDP, does not fail-over to TCP

Richard

---

<div class="post-metadata">

**Author:** ![Deepak\_Rajan](https://avatars.discourse-cdn.com/v4/letter/d/f9ae1b/32.png) [@Deepak\_Rajan](https://community.wowza.com/u/Deepak_Rajan)\
**Post date:** [September 13, 2012, 1:45pm UTC](https://community.wowza.com/t/android-not-able-to-stream-mp3-file-from-wowza-server/39274/4 "2012-09-13T13:45:58Z")

</div>

> When you playback in VLC, look at Tools \> Codec info? Is there one set of audio and video, or two? If there are two, that indicates that UDP ports are blocked or not mapped properly. VLC is able to failover from UDP to TCP, and that is why you see two audio and two video blocks in that case. However many Android and other devices use UDP and are not able to failover.
> 
> Otherwise, it might be an encoding problem. Make sure it is h.264 Baseline 3 or lower video, and AAC audio is recommended.
> 
> Richard

Hi Richard ,

The Link I provided is for playing Audio ,sorry for not mentioning it earlier.When I checked Codec Details its showing two streams

Stream 0

Type Audio

Codec MPEG Audio Layer/1/2/3(mpga)

Channels 2

Stream 1

Type Audio

Codec MPEG Audio Layer/1/2/3(mpga)

Channels stereo

Sample rate 44100Hz

Bitrate 128kb/s

Can you please guide me whats the problem.

Kind Regards

Deepak

---

<div class="post-metadata">

**Author:** ![Deepak\_Rajan](https://avatars.discourse-cdn.com/v4/letter/d/f9ae1b/32.png) [@Deepak\_Rajan](https://community.wowza.com/u/Deepak_Rajan)\
**Post date:** [September 13, 2012, 7:32pm UTC](https://community.wowza.com/t/android-not-able-to-stream-mp3-file-from-wowza-server/39274/5 "2012-09-13T19:32:48Z")

</div>

Thanks a lot for helping me out 🙂 I will check that

---

<div class="post-metadata">

**Author:** ![Deepak\_Rajan](https://avatars.discourse-cdn.com/v4/letter/d/f9ae1b/32.png) [@Deepak\_Rajan](https://community.wowza.com/u/Deepak_Rajan)\
**Post date:** [September 13, 2012, 7:48pm UTC](https://community.wowza.com/t/android-not-able-to-stream-mp3-file-from-wowza-server/39274/6 "2012-09-13T19:48:06Z")

</div>

Found Answer:

Android devices cannot play MP3 streams over RTSP/RTP in any combination (audio/video or audio only). Android devices that support Flash player 10.1 can play MP3 using RTMP or Flash HTTP. When streaming to an Android device using RTSP/RTP, the RTP portion must flow over UDP. Android does not support RTSP/RTP interleaved (RTP over TCP). This means if UDP is unavailable for RTP playback, RTP over TCP will not work as a failover and your stream will not play.
