Add live camera functions

There was a bug to be fixed.