Make analytic events overlay appear in playback.

I am sending analytic events to the smart client with polygons and text.

It appear in the live stream.

how can i record it so it will appear in the playback mode to?

If the answer is metadata, i didnot find an xml sample of how to send it,

i am using python rtsp request to send the xml.

should i do it in another way?

Analytics events will not show as overlay for normal installs. But some samples in the MIPSDK has implemented that. I suggest you remove the MIPSDK samples (or rename their .DEF files) - and see how it then works. Then consider to review the samples and implement the overlay function, if you like.