You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
There is a noticeable pause the first time StartCapture is called due to the system having to load the necessary frameworks. For subsequent calls to StartCapture this work is no longer required. We are looking into ways we can improve this.
When capturing from microphone there is extra overhead if we need to change the audio session to support recording. This can be alleviated by making sure Prepare iOS for Recording is checked in the Unity player settings inspector panel, or by calling NativePlugin.SetMicrophoneRecordingHint(true, NativePlugin.MicrophoneRecordingOptions.None); prior to starting a capture at a point where a pause in frame rate is acceptable.
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:
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:
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
The text was updated successfully, but these errors were encountered: