internal static extern RecorderErrorCode SetErrorCallback(RecorderHandle handle, RecorderErrorCallback callback, IntPtr userData);
internal static extern StreamRecorderErrorCode SetErrorCallback(StreamRecorderHandle handle, RecorderErrorCallback callback, IntPtr userData = default(IntPtr));