Skip to content

kaytat/SimpleProtocolPlayer

Repository files navigation

Simple Protocol Player

Links:

Play store

https://play.google.com/store/apps/details?id=com.kaytat.simpleprotocolplayer&hl=en

Server source

https://github.com/kaytat/SimpleProtocolServer

More info

http://kaytat.com/blog/

Details

This media player plays uncompressed PCM data from a server over your local network. This is meant to be used for streaming audio from a PC to your Android phone or tablet. The focus has been latency and so all the options are intended for the user to be able to find a compromise between latency and quality.

As a rule of thumb, a low sample rate + mono + 50 ms or less of buffer time are the settings that are generally used.

This project is based on an old version of this Android example: https://github.com/googlesamples/android-MediaBrowserService

Changes for 0.5.7.0 (version 13)

  • Allow PERFORMANCE_MODE_LOW_LATENCY for Android O and above
  • Allow use of minimal buffer size as reported by AudioTrack.
    • The idea here is to allow Android to dictate the buffer size and so the user don't have to tweak the ms delay setting.

Streaming from Ubuntu (or anything running PulseAudio)

The following web page describes how to configure PulseAudio for use with this player. http://kaytat.com/blog/?page_id=301

Streaming from Windows

Download the server from the github link above and run it locally. The server has some options also to help tune the performance.

Test your latency:

https://www.youtube.com/watch?v=KWh9YLtbbws

About

Audio player for uncompressed PCM data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages