Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复 prepared 后马上 play 无效的问题 #204

Merged
merged 3 commits into from
Mar 7, 2020

Conversation

dotcink
Copy link
Contributor

@dotcink dotcink commented Mar 5, 2020

Fix: #203

原因:prepareAsync 是异步的,callback 在尚未准备完成时就被调用了,这时 play 会失败。

同时,

  1. 修复了 handleSetUriResult 中异常处理问题(flutter 不支持传递 Throwable
  2. 处理了 setDatasourceFail 状态

@CaiJingLong CaiJingLong merged commit d7dc07e into CaiJingLong:master Mar 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Android 进入 prepared 状态马上播放可能失败
2 participants