Reverted ‘audio follows captured video frame’.
Stopped using a dispatch timer for the frame timer, instead using a loop and a target time to sleep until.
Don’t use libswscale to scale/pixel format convert, use VTPixelTransferSession. Seems to be faster? Maybe this should be pushed into OpenGL?
All the above combined seem to have fixed audio sync issues on twitch.