Export or save streams with Astra Pro

Hi there,
I have an Astra Pro and have managed to save a relatively poor quality stream as an .oni file by using Openni. However the stream from the Astra SDK is much better quality and also has the camera adjacent to the depth map.
How can I save this? And what file format? It seems that .oni files are pretty redundant.

Many thanks.

Any help is appreciated here, thanks.