Yes that too, you will have to make sure the sun dosent hit the camera, and for any chance of recording all the time you will need a fan blowing air over the camera the whole time, and i think it have to be a good strong fan, which are also noisy.
One of the guys in here used his SJ7 Star as a dashcam, it nearly melted and never worked again as far as i remember, and this was a British guy so not one of the warmer / sunny countries.
Most action cameras have this issue to some degree, they are meant for recording a little action now and then, not for recording a long time or god forbid constantly.