private void OnVideoRecordingError(ZView sender, IntPtr connection) { ZView.PluginError error = sender.GetVideoRecordingError(connection); Debug.LogError(string.Format("<color=red>Video Recording Error: {0}</color>", error)); sender.ClearVideoRecordingError(connection); }
private void OnConnectionError(ZView sender, IntPtr connection) { ZView.PluginError error = sender.GetConnectionError(connection); Debug.LogError(string.Format("<color=green>Connection Error: {0}</color>", error)); }