<div dir="ltr"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">Hello,</p>

<p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"> </p>

<p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">I’m trying to create RTSP Server using Gstreamer in such a
way that it would be compatible with ONVIF. My goal is to provide two endpoints:
</p>

<ul style="margin-top:0cm;margin-bottom:0cm" type="disc">
 <li class="gmail-MsoListParagraph" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">/video
     - streaming simply video over RTSP</li>
 <li class="gmail-MsoListParagraph" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">/metadata
     – streaming ONVIF metadata (XML containing bounding boxes of objects in
     video stream)</li>
</ul>

<p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">                                                                                                                                        </p>

<p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">I’ve found Gstreamer plugins which I guess will be necessary,
as I wasn’t able to stream metadata in any form over RTSP. In gst-plugins-rs I
found gst-plugins-onvif which seems to provide necessary elements of pipeline
such as rtponvifmetadatapay and onvifmetadatacombiner. However I still cannot
create proper pipeline.<br>
I’m trying to use pipeline "appsrc name=metadata! rtponvifmetadatapay pt=96
" inside RTSPMediaFactory to stream at least only metadata, but I cannot
recieve anything on the other end. I’m using Python bindigs and I’m overloading
‘need-data’ in appsrc to send XML data to the buffer.  Could you please provide me example of
pipeline that could help me accomplish streaming ONVIF metadata using RTSP
server?</p><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">Best Regards,</p><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">Przemysław Janikula</p></div></div></div>