Improvements to TraverseRecordingThread.
Define frame available conditional variable in CameraPreviewCallback