#if UNITY_STANDALONE_OSX
// Ensure that this codec format is supported, because on macOS we depend on AVFoundation in the OS
System.Text.StringBuilder sb = new System.Text.StringBuilder(128);
bool supported = ProResWrapperHelpers.SupportsCodecFormat(nCodecFormat, sb, sb.Capacity);
string sSupported = sb.ToString();
if (!supported)
{
Debug.LogError(string.Format(“Could not create file {0}: {1}”, _rawVideoFilename, sb.ToString()));
_encoderPtr = IntPtr.Zero;
return;
}
#endif[/code]
Above is the code!!!
It keeps saying that the file does not contain a definition for SupportsCodecFormat