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

音频播放没有反应 #28

Open
HenryWu01 opened this issue Sep 9, 2022 · 1 comment
Open

音频播放没有反应 #28

HenryWu01 opened this issue Sep 9, 2022 · 1 comment

Comments

@HenryWu01
Copy link

大佬好,您的iPlayer十分好用,我想使用此库作为音频播放器。在实际使用过程中,我是用addPlayMusicToTop配合play调用,却发现没有任何声音被播放,且日志无输出。麻烦大佬看一下是否设置正确。

MusicPlayerManager.getInstance().addPlayMusicToTop(BaseAudioInfo().also {
                        it.audioId = 1847746003
                        it.audioDurtion = 216837
                        it.audioName = "长街烟火"
                        it.audioCover = "https://p2.music.126.net/q39xkl_Kn4_Pv--l712jNg==/109951166028225197.jpg"
                        it.audioPath = "http://172.27.208.1:12345/Zyboy%E5%BF%A0%E5%AE%87%20-%20%E5%A0%95%20%28%E5%8F%98%E9%80%9F%E7%89%88%29.mp3"
                        it.nickname = "等什么君(邓寓君)"
                    })
                    MusicPlayerManager.getInstance().play()

audioPath是可以被访问的,已经开启cleartextTrafficPermitted, 封面也可以正常访问

@hty527
Copy link
Owner

hty527 commented Sep 12, 2022

你好,此音频播放器不再更新维护了,谢谢!

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

2 participants