How can overlays be displayed in third-party applications using Analytics Event XML protocol?

I’ve seen documentation explaining how to use the Analytics Event XML protocol to display overlays, such as bounding boxes, on camera feeds in the Smart Client. However, I haven’t found any information on how to display such overlays in third-party applications. How can this be achieved?

You can retrieve the Analytics Events using SOAP protocol, the Alarm List sample shows how to retrieve and subscribe to Alarms but can with a small modification handle events.

https://doc.developer.milestonesys.com/html/index.html?base=samples/protocolsamples/alarmlist/readme.html&tree=tree_3.html

When you have the Analytics Event you will have to render graphics, bounding boxes and put them as overlay on top of the video you are rendering. There are no tools or samples in the MIP SDK so I am hoping this little explanation is sufficient.