Search code examples
androidmedia-playerandroid-mediaplayer

Stream bit rate in Android


I am developing Android application which use media player to view Live stream url. Application showing video correct. I need to know that, can we set stream bit rates programmatically? Please check screen shot which showing 1500 kbps at top left side of video and I need to set it 350 kbps.

Image showing kbps value at top left corner


Solution

  • I have done it using parsing m3u8 file and get bandwidth of that video.