rework camera api