RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
224 stars 27 forks source link

Audio Capture Buffer always flushing #1931

Open Days99 opened 3 days ago

Days99 commented 3 days ago

Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE

Describe the issue Problems playing a video recorded in AV pro capture, with microphone audio

Your Setup (please complete the following information):

To Reproduce

  1. Record a realtime webcam texture capture with microphone audio using Av pro Capture during runtime
  2. Open that video in Av pro video during the same runtime
  3. When the application get unfocused and focuses again it fixes this issue

Logs [AudioCapture] failed to reserve 4096 bytes in the audio capture buffer, flushing

Days99 commented 3 days ago

Forgot to mention that im using the Unity Audio mode

MorrisRH commented 4 hours ago

What's Unity's sample rate set to? What is the sample rate of the video you're trying to play? Can you reproduce this using any video or is it specifically one with captured microphone audio?