The Audio activity supports playback of files over the internet using HTTP progressive streaming, and HTTP live streaming on devices running Android 3.1 or newer.
Currently supported by the Audio Activity:
- HTTP progressive streaming
- HTTPS progressive streaming (Android 3.1 and newer)
- HTTP/HTTPS live streaming (Android 3.1 and newer)
Note that HTTP/HTTPS live streaming and HTTPS are only supported on the newest devices (Android 3.0 or newer).
Currently not supported by the Audio Activity:
- RTSP (RTP, SDP)
See Network Protocols for more information about the network protocols supported on Android devices.
They are all essentially text files that contain one or more stream URLs. When an audio activity downloads a playlist, it interprets the contents and displays each stream URL as a separate track. Within the playlist, you can supply a title for each "track" along with the URL.
Using playlists also allows you to change the list of streams remotely, without needing to rebuild your app, simply by editing the playlist files.