App Crash Message:
Object reference not set to an instance of an object System.NullReferenceException StreamMediaDataSource.android.cs void StreamMediaDataSource.Dispose(bool disposing) StreamMediaDataSource.android.cs in void StreamMediaDataSource.Dispose(bool disposing)
Thanks for this but the more interesting question to answer will why this class is created with a null stream to start with. How are you using the plugin?
App Crash Message: Object reference not set to an instance of an object System.NullReferenceException StreamMediaDataSource.android.cs void StreamMediaDataSource.Dispose(bool disposing) StreamMediaDataSource.android.cs in void StreamMediaDataSource.Dispose(bool disposing)
Your source : https://github.com/jfversluis/Plugin.Maui.Audio/blob/94ad09fabf50140b47851ebfa7a416bcb851801a/src/Plugin.Maui.Audio/StreamMediaDataSource.android.cs#L36
As-IS public override void Close() { data.Dispose(); // This App Crash data = Stream.Null; }
To Be ->