How to restore the live streaming after taking a photo

after i sent drone(take_photo(cam_id=0)).wait() the live streaming is stock.
The error message is Reinit context to 1024x768, pix_fmt: yuvj420p
It seems that there is a problem with “yuv_frame = self.frame_queue.get(timeout=0.01)”
the self.frame_queue is empty

Can someone tell me how to restore the live streaming after taking a photo。