<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<span class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Hi!</span><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""></span>
<div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class="">
</div>
<div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">I have been trying to stream an XML file using testOnDemandRTSPServer, I have edited the testOnDemandRTSPServer.cpp and added a custom xml entry file, but I don’t know how to configure the
 SubMediaSession for this type of file (I need to stream metadata from a video analytics platform), Im not even sure if this is the correct approach.</div>
<div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class="">
</div>
<div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">I have seen an user already did this ten years ago but I can’t find any guidance on this: <a href="https://stackoverflow.com/questions/6634650/rtsp-streaming-xml-or-text-file" class="">https://stackoverflow.com/questions/6634650/rtsp-streaming-xml-or-text-file</a></div>
<div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class="">
</div>
<div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Basically we need to do the same as specified there, I will update a xml file every 1 second and then that data should be streamed. (I already have the RTSP from the camera but need to generate
 another RTSP for the metadata)</div>
<div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class="">
</div>
<div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Hopefully can help me and provide some guidance, thanks!</div>
<div class="">
<div><br class="">
</div>
</div>
<br class="">
</body>
</html>