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/
49 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

Closed makakaorg closed 2 months ago

makakaorg commented 6 months 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 6 months 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.

MorrisRH commented 3 months ago

Unable to reproduce this in a fresh project using the following:

Simple scene with a button that stops the current capture and starts a new one immediately.

Chris-RH commented 2 months ago

Could you provide any more info on how to reproduce this @makakaorg?

Chris-RH commented 2 months ago

Could you provide any more info on how to reproduce this @makakaorg?

Chris-RH commented 2 months ago

closing due to lack of reply