开发者

Is there a better way to save streamed files with MediaPlayer? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. 开发者_StackOverflow Closed 10 years ago.

I'm trying to build a mediaplayer app, that allows the user to stream mp3 files from online, and save the file when it's finished downloading.

It looks like MediaPlayer doesn't provide any means of doing this, so existing solutions are a little hacky, and do things like downloading to a separate buffer, and repeatedly stopping/starting the MediaPlayer on buffer updates. As far as I can see, this means small pauses in the audio every time the buffer's swapped, which isn't very good.

Can anyone suggest a better way to do it?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜