part 5: update camera to use new media_frame api