Adding custom camera & rec func