Added the ability to set a callback function to automatically receive frames as they come in.