RenderHeads/UnityPlugin-AVProMovieCapture

[Bug] Freeze on Starting Screen Capture

Opened this issue · 0 comments

Unity Version

2022.3.29

AVPro Movie Capture Version

5.2.4-Mobile Edition build 1387

Which platform(s) are you using?

iOS

Which OS version(s) are you using?

iOS 17.5

Which rendering API(s) are you using?

Metal

Hardware

iPhone XS Max

Which capture component are you using?

Capture From Screen

Capture mode

Realtime

Which output mode are you using?

Video file

Video codecs

H264

Audio source

Microphone

Audio codecs

AAC

Any other component configuration

No response

The issue

Environment:

  • BiRP
  • 60 FPS Fullsize Recording
  • Camera spin.

On default Screen Capture Demo after installing the app on iPhone,
there is a noticeable freeze in the first few starts of recording (about a 1 second).

Then the freeze is not noticeable, but it is there.


I tested the code in Another Environment:

  • URP
  • AR Foundation + Face Tracking
  • 60 FPS Fullsize Recording.

I have noticeable freeze (> 1 sec) every screen recording.

How can this be fixed?

P.S. I compared with Camera app by Apple, and there is no such freezing behavior.

Log output

No response