Camera Live View when motion detected

Anyone knows how to trigger LIVE camera view when IR motion sensor has been triggered?