Error CS1615 compiler error bug

So new to Unity and I every time I try to import render streaming into my project it says

Library\PackageCache\com.unity.renderstreaming@3.1.0-exp.6\Runtime\Scripts\AudioStreamSender.cs(475,43): error CS1615: Argument 1 may not be passed with the ‘ref’ keyword.

I have looked at this. I have not even imported into objects into the scene or written any scripts yet. Can someone please help? Is this a bug Editor version is Unity 2021.3.21f1

I have the spatial SDK imported and trying out render streaming pipeline and this error comes after installing the render streaming package.