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 usage increases after SRT Playback ends #1426

Closed
shogo4405 opened this issue Apr 18, 2024 Discussed in #1421 · 1 comment
Closed

CPU usage increases after SRT Playback ends #1426

shogo4405 opened this issue Apr 18, 2024 Discussed in #1421 · 1 comment
Milestone

Comments

@shogo4405
Copy link
Owner

Discussed in #1421

Originally posted by Seok231 April 14, 2024
Hello, first of all, I'm using a translator, so the sentence might be a little awkward.

I was using SRT Publish, PlayBack on Example iOS and found something weird.

First of all, there is no problem during SRT transmission or Playback. However, after the SRT Playback was terminated, it was confirmed that CPU usage increased.

SRT Publish( CPU 45~50%)

SRT PlayBack(CPU 25~35%)

stream.close()
connection.close()
CPU usage has increased to 100-110% since PlayBack ended.

The code used was the project's Example iOS.

The SRT server I used is "https://github.com/Edward-Wu/srt-live-server".

Has anyone experienced the same symptoms?

netStreamSwitcher.open(.playback)
image

netStreamSwitcher.close()
image

@shogo4405
Copy link
Owner Author

Fixed close()
スクリーンショット 2024-04-19 0 20 45

@shogo4405 shogo4405 added this to the 1.8.0 milestone Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant