RenderHeads / UnityPlugin-AVProMovieCapture

AVPro Movie Capture is a Unity Plugin for advanced video capture to AVI/MP4/MOV files
https://renderheads.com/products/avpro-movie-capture/
43 stars 8 forks source link

[Bug] Microphone doesn't provide Audio when the next click on "Start Video Recording" button happens too fast after stopping recording. #388

Open makakaorg opened 1 month ago

makakaorg commented 1 month ago

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

The microphone doesn't provide Audio when the next click on "Start Video Recording" button happens too fast after stopping recording.

It's related to short and long videos. It can happen even if I block "Start Video Recording" until the captureBase.CompletedFileWritingAction dispatched.

Log output

No response

makakaorg commented 1 month ago

I have the sound from Mic in the video without "fast" clicking mentioned in the title.

But with "fast" clicking, there can be no sound.

I develop Photo/Video App (AR Masker), so "fast" clicking is the usual user experience to make multiple videos in a row.