Merge "Make audio tag cope with live streams"
This commit is contained in:
@@ -179,7 +179,7 @@ class HTML5Audio extends Handler
|
||||
}
|
||||
|
||||
private void play() {
|
||||
if ((mState == ERROR || mState == IDLE) && mUrl != null) {
|
||||
if ((mState >= ERROR && mState < PREPARED) && mUrl != null) {
|
||||
resetMediaPlayer();
|
||||
setDataSource(mUrl);
|
||||
mAskToPlay = true;
|
||||
|
||||
Reference in New Issue
Block a user