Making ONVIF conformant surveillance camera with STM32H743.

I am using STM32H743 MCU . I have interfaced a video camera at 25Hz. I am not using any video compression and sending the video data over ethernet.  I have developed a software to see raw video which is also working. Now I want to convert this camera to ONVIF conformant  camera. How can I run two web servers for discovery and streaming on STM32H7? Is there a way to compress video in STM32H743?