Implemented live video preview using AVFoundation