fix camera preview rotation & add timer http send function