[Feature]Make id configurable.
[Other]Optimize some code about camera preview and auto fucus