Transfer Frame from Maix to PC via USB

My goal is to transfer real-time video from the Maix-Dock camera to my Linux/Windows Machine via USB. The Maixpy-Ide has a frame-buffer-preview so it should be possible but i wasn’t able to find any documentation and the data-tansfer speed via USB seems to be to slow.

Are there any examples? How would i do this?

We first compress raw RGB data to jpg, it cost about 30~40ms, and the size will about 5~10KB,
then we use 1.5Mbps baud rate transmit to usb, it cost about 50ms, so we will get about 10~15 fps at the last.
you can do it yourself too, please note do verify every packet