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

CPU goes high and device gets hot after 2-3 minutes #65

Open
dinhthiet2702 opened this issue Sep 16, 2022 · 8 comments
Open

CPU goes high and device gets hot after 2-3 minutes #65

dinhthiet2702 opened this issue Sep 16, 2022 · 8 comments

Comments

@dinhthiet2702
Copy link

dinhthiet2702 commented Sep 16, 2022

Hi, cpu status is high and device gets hotter after 2-3 minutes, is there any way to reduce CPU when listening,

I found there is a library that uses only 1-2% cpu, can you combine to include your perfect library?
https://github.com/tanhakabir/SwiftAudioPlayer

Thanks for the reply
Screen Shot 2022-09-17 at 12 49 04 am

@rastaman111
Copy link

Hi. how do you use this library? I've been using it for 3 years and have no such problems. maybe you're picking something up?

@dinhthiet2702
Copy link
Author

Hi. how do you use this library? I've been using it for 3 years and have no such problems. maybe you're picking something up?

hi, is your device hot? I use it as instructed in the example. on a real device when I exit to the background and listen for about 2-3 minutes. app will be terminal and my device shows signs of temperature rise

@rastaman111
Copy link

very strange, maybe it is related to ios 16?
@yoheimuta Help

@dinhthiet2702
Copy link
Author

very strange, maybe it is related to ios 16?
@yoheimuta Help

yes, i just upgraded ios 16 yesterday 😬😬😬. have you been up yet?

@yoheimuta
Copy link
Owner

Thank you for letting me know.
I don't know if it's related to this library in general.

I haven't upgraded ios 16.
I'll take a look, but it takes time to set up ios 16.

@rastaman111
Copy link

very strange, maybe it is related to ios 16?

@yoheimuta Help

yes, i just upgraded ios 16 yesterday 😬😬😬. have you been up yet?

Are you testing on a simulator or on a device? if on the simulator run multiple variants of iOS

@dinhthiet2702
Copy link
Author

very strange, maybe it is related to ios 16?

@yoheimuta Help

yes, i just upgraded ios 16 yesterday 😬😬😬. have you been up yet?

Are you testing on a simulator or on a device? if on the simulator run multiple variants of iOS

the above image is me running on emulator, but on real device i tested on ios 16. Previously my colleague also talked about this problem on ios 15

@yoheimuta
Copy link
Owner

I haven't upgraded ios 16.

I've just upgraded ios 16 and run tracks repeatedly for several minutes.
I couldn't reproduce your issue. The debug navigator shows no sign of any resource spike.

My setting:

@dinhthiet2702 Can you reproduce this issue on the example project this repository has maintained?
See also https://github.com/yoheimuta/RxMusicPlayer#bug-report.

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