Capture scene/engine audio output via VideoRecorder?

Does anyone know how to capture audio output from the scene, or engine, with the video recorder? I’ve tried:

https://www.babylonjs-playground.com/#14GKUQ#1

But when I use that streams audio tracks, when the recording stops the file downloads as zero bytes. Anyone know the proper way to do this?

Pinging @sebavan who owns the videoRecorder :slight_smile:

It is because your audio node needs to be connected:
https://www.babylonjs-playground.com/#14GKUQ#4

Hope that helps.

Ahh, figured I was likely doing something stupid. Thank you @sebavan !