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

AudioManager 内存泄漏 问题 #2267

Closed
752375734 opened this issue Sep 19, 2019 · 10 comments
Closed

AudioManager 内存泄漏 问题 #2267

752375734 opened this issue Sep 19, 2019 · 10 comments

Comments

@752375734
Copy link

752375734 commented Sep 19, 2019

No description provided.

@752375734
Copy link
Author

为什么忽略呀? 看leakcanary里面的引用链条,还真是,最下面是GSYVideoView引用activity context泄漏

@CarGuo
Copy link
Owner

CarGuo commented Sep 20, 2019

@CarGuo CarGuo changed the title 内存泄漏 AudioManager 内存泄漏 Sep 24, 2019
@CarGuo CarGuo changed the title AudioManager 内存泄漏 AudioManager 内存泄漏 问题 Sep 24, 2019
Repository owner deleted a comment from 752375734 Sep 24, 2019
@CarGuo CarGuo pinned this issue Sep 24, 2019
@CarGuo CarGuo closed this as completed Sep 24, 2019
@AttackPangHu
Copy link

我按照简书的解决方案 还是会有泄漏问题

@ghost
Copy link

ghost commented Mar 14, 2022

同理,这个内存泄漏

@linrb685
Copy link

linrb685 commented Jun 2, 2022

我按照简书的解决方案或出现问题

你解决了吗?我也是按照简书操作,结果还是有问题

@CarGuo
Copy link
Owner

CarGuo commented Jun 3, 2022

我按照简书的解决方案或出现问题

你解决了吗?我也是按照简书操作,结果还是有问题

因为这个是正常现象,可以忽略,后来 AudioManager 出新的api了

@linrb685
Copy link

linrb685 commented Jun 5, 2022

我按照简书的解决方案或出现问题

你解决了吗?我也是按照简书操作,结果还是有问题

因为这是正常现象,可以触发,随后 AudioManager 出新的 api 了

那新版的还会出现这个问题吗,是跟GSY的版本有关系吗

@linrb685
Copy link

linrb685 commented Jun 6, 2022

我按照简书的解决方案或出现问题

你解决了吗?我也是按照简书操作,结果还是有问题

因为这个是正常现象,可以忽略,后来 AudioManager 出新的api了

同一个播放器在更换播放源(播放地址)的时候是否需要先停止或者销毁正在播放的,然后在设置新的播放地址同时开启播放?

@CarGuo
Copy link
Owner

CarGuo commented Jun 6, 2022

@linrb685 需要

@linrb685
Copy link

linrb685 commented Jun 6, 2022

@linrb685 需要

好的 谢谢,这样如果频繁的更换播放源的话会不会增加系统的开销

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

4 participants