On Android device I am playing one video URL which is HLS video stream. I am providing path for M3U8 file to android VideoView.
This M3U8 File has different versions of Video divided by bandwidth/bit rate (Variable bitrate video streams).
It is task of VideoView to detect the current bandwidth of the device to server connectivity and request the appropriate video stream, so that video plays smoothly.
But VideoView is not doing that, for example:
If my device has bandwidth of around 30 KBPS then VideoView is sending request for 90 KBPS video stream and because of that my video is not playing properly and also if my bandwidth is more and 1 MBPS then also it is requesting some random stream.
Can we improve VideoView's bandwidth detection and provide him with correct bandwidth values so that he can request for the proper video stream according to current bandwidth, does VideoView provides this type of API's or can we some how hack it.
VideoView
has this capability. – Woolly