For Xiaofang camera owner, I modified the camera so that a JPEG stream is available. You can find a small explanation in the last comment in this issue:
https://github.com/samtap/fang-hacks/issues/87
Then, simply configure a generic camera in hass:
camera:
- platform: generic
still_image_url: http://192.168.0.111/snapshot.jpg
name: XiaoCam