Add #defines to allow older versions of macOS to use the new constant names.
Renders buffers using the CALayer subclass AVSampleBufferDisplayLayer which can be placed inside a Core Animation render tree.