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

怎么设置循环播放 #16

Closed
h-zhouwenjun opened this issue Jun 25, 2018 · 9 comments
Closed

怎么设置循环播放 #16

h-zhouwenjun opened this issue Jun 25, 2018 · 9 comments

Comments

@h-zhouwenjun
Copy link

No description provided.

@jiajunhui
Copy link
Owner

可以在自己接入的解码器中自行实现,也可在播放完成的回调中调用rePlay(0)实现。目前框架定义的API暂无Loop设置项。

@netdolphin
Copy link

我也遇到这个问题,用了rePlay(0)无效。控制台反复出现
04-08 12:34:27.252 28477-28477/BaseActivity: onPlayerEvent: PAUSE
04-08 12:34:27.319 28477-28477/BaseActivity: onPlayerEvent:
RESUME
04-08 12:34:27.381 28477-28477/BaseActivity: onPlayerEvent: PAUSE
04-08 12:34:27.319 28477-28477/BaseActivity: onPlayerEvent:
RESUME

@netdolphin
Copy link

在调用replay之前加入
getReceiverGroup().getGroupValue().putBoolean(DataInter.Key.KEY_COMPLETE_SHOW, false);
也无效

@jiajunhui
Copy link
Owner

replay之前设置过数据了吗?

@netdolphin
Copy link

没有

@netdolphin
Copy link

是在onPlayerEvent的监听回调中直接调用replay(0)的

@jiajunhui
Copy link
Owner

进群详聊,发下你的操作代码。

@netdolphin
Copy link

我怀疑一个有Ireceriver在一直发送播放停止的event事件,所以反复出现pause和resume。加了getReceiverGroup().getGroupValue().putBoolean(DataInter.Key.KEY_COMPLETE_SHOW, false);也一样

@netdolphin
Copy link

群里没人响应啊

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

No branches or pull requests

3 participants