Skip to content
Discussion options

You must be logged in to vote

This issue occurs in both HaishinKit 1.9.x and 2.0.x. It has been confirmed on iOS 18.0 and iOS 18.1.
A simple way to reproduce the issue, independent of HaishinKit, is as follows:

  1. Use AVCaptureMultiCamSession.
  2. Call session.startRunning().
  3. Call session.addOutput().
  4. Perform these steps right after the session starts running.

At step 4, a 10-second freeze occurs. Since the freeze duration is consistently around 10 seconds, it seems to be related to some process on the OS side.

To avoid this issue safely, I believe it’s better to manage session.startRunning() consciously on the user side instead of triggering it automatically.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@shogo4405
Comment options

Answer selected by levs42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1620 on December 06, 2024 12:10.