Default [Q] front camera not working

Hai all,

A week back, I purchased Xperia Z1 compact and when I observed, front camera is not at all working. I checked with other applications. But no use. Whenever I selects the front camera, the camera application hangs for some time. Kindly give your valuable inputs on this. Thank you