We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
希望大佬实现播放音频,暂停其它正在播放中的应用。
The text was updated successfully, but these errors were encountered:
考虑实现如下: 增加一个 FijkPlayer 的设置选项, 如果选项打开后, 当播放器进入 started 状态的时候,会去申请 audioFocus。 退出 started 状态时, 释放 audioFocus。 出现 audioFocus 错误不进行处理,不判断 audioFocus 返回值。
上面实现也仅适用于 单个播放器实例,如果同时打开多个播放器,上面规则不使用。
audioFocus 怎么处理又好多情况,都涉及到产品如何决策,没办法做一个通用的,只能搞一个最简单的实现。
Sorry, something went wrong.
feat: add Android audiofocus. hostOptions for iOS and Android (#114)
9bb344a
* fix(example): add enable-accurate-seek option, fix #113 * feat: android and iOS hostOption, android request and release audio focus * docs: add license for source code * fix: clear request status when AUDIOFOCUS_LOSS_TRANSIENT finish #89
No branches or pull requests
希望大佬实现播放音频,暂停其它正在播放中的应用。
The text was updated successfully, but these errors were encountered: