vijaydev
vijaydev

Reputation: 395

Streaming HLS/m3u8 in Android native player starting with lowest bitrate

the Android native player will always start with the highest bitrate available and then decide to either downshift to lower bitrate (if the network is bad) or stay at that bitrate itself. Because of this the video starts late in low internet connections. Can we change the default structure and start streaming with lowest bitrate stream like iOS ?

Upvotes: 1

Views: 1430

Answers (1)

vijaydev
vijaydev

Reputation: 395

The native VideoView doesnt have support for adaptive streaming.

Option is to build a custom player using ExoPlayer http://developer.android.com/guide/topics/media/exoplayer.html

I used a library which is a wrapper around ExoPlayer. https://github.com/brianwernick/ExoMedia

Works great!

Upvotes: 1

Related Questions