Wowza Community

Android Audio Streamning

How can I support Android streaming audio without a empty video?

IOS, MP3 as playlist Audio Stream Works

http://wowza.example.com:1935/myapp/mp3:128.mp3/playlist.m3u8

Android, AAC in MP4 Wrapper Works

rtsp://wowza.example.com:1935/myapp/audio.mp4

Android over RTSP using AAC and MP3 do not work

rtsp://wowza.example.com:1935/myapp/audio.mp3

rtsp://wowza.example.com:1935/myapp/audio.aac

Thanks in advance

Davin,

Try prepending the URL according to the format:

rtsp://wowza.example.com:1935/myapp/mp3:audio.mp3
rtsp://wowza.example.com:1935/myapp/mp4:audio.aac

Note: For live workflows, Android will only support AAC audio

Note: With Wowza Streaming Engine 4.x, prepending the ‘mp4:’ is not necessary with MP4 files as this is inserted by default. Other formats (i.e. FLV, MP3) do require the prefix.

I hope you find this helpful.

-Tim

Hi there,

Take look at the mobile troubleshooting guide:

How to troubleshoot RTSP/RTP playback

Under Device Capabilities / Android, it talks about mp3 capability.

Salvadore

Thanks for the response, I did see that earlier so I was trying AAC, but it had the same problems. Any other ideas?

Use an mp4 or other quicktime container (.mov, .3gp, etc) that only has an AAC audio track, and prefix with mp4:

mp4:audio.mp4

Richard

Using rtsp://wowza.example.com:1935/myapp/mp4:audio.aac I get “Sorry, this video cannot be played” using Galaxy S5 and Nexus 7. For clarity were are only using VOD.

Just went the empty video route.

Using rtsp://wowza.example.com:1935/myapp/mp4:audio.aac I get “Sorry, this video cannot be played” using Galaxy S5 and Nexus 7. For clarity were are only using VOD.

Hi DavinB, were you able to fix the problem? Im interested on the same thing.

Were you able to create a playlist so the player goes through a list of files without having to give the URI to each one?

Thanks!