Skip to content

Commit

Permalink
StreamingService: windDown after error.
Browse files Browse the repository at this point in the history
Right now trying to stream again after an error is causing more problems
than it's fixing. Disable and perfect later.
  • Loading branch information
avuton committed Apr 8, 2014
1 parent a28a2a2 commit 2c7d3b9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions MPDroid/src/com/namelessdev/mpdroid/StreamingService.java
Original file line number Diff line number Diff line change
Expand Up @@ -442,10 +442,6 @@ final public boolean onError(MediaPlayer mp, int what, int extra) {
/** Either way we need to stop streaming. */
windDownResources(ACTION_STREAMING_STOP);

/** onError will often happen if we stop in the middle of preparing. */
if (isPlaying) {
tryToStream();
}
errorIterator += 1;
return true;
}
Expand Down

0 comments on commit 2c7d3b9

Please sign in to comment.