Avan Jogia and Miranda Cosgrove share the stage for a duet.