videokit-ai / videokit

Low-code, cross-platform media SDK for Unity Engine. Register at https://videokit.ai
https://videokit.ai
Apache License 2.0
103 stars 14 forks source link

Audio Listener as source for audio in video recording produces no sound in the output #113

Closed HiRoS-neko closed 7 months ago

HiRoS-neko commented 7 months ago

Seems to be a similar case to this closed issue, https://github.com/natmlx/videokit/issues/79#issue-2005442035

I have been setting up VideoKit in our project and recording just camera is working great, however, using an audiolistener as a source of audio does not seem to work, I have attempted to use the method in VideoKitRecorder but I get no audio, and I have attempted to commit the audio manually using the old method from NatCorder (https://blog.natml.ai/natcorder-tutorial-audio-workflows-1cfce15fb86a) but it still results in no audio I can confirm it is not a key issue as I can successfully use the Microphone source when using the VideoKitRecorder

HiRoS-neko commented 7 months ago

The solution for me was ensuring that the audio from in game was using audiosources for playback (audio sources aren't required for playback of audio in timelines)

olokobayusuf commented 7 months ago

Sounds good.