in client when get stream it shows text stream media type “application” i want to show it as meta data. when i get stream from ip camera that use live555 for stream , metadata stream media type is “metadata”.
You’ll have to implement a payloader for your specific metadata format and its corresponding RTP mapping.
Right now you’re using rtpgstpay, which uses a custom GStreamer-specific RTP mapping that can contain every kind of format but is not supported outside of GStreamer client applications.
Excuse me but I’m new in gstreamer. I found a plugin in gst-plugins-bad named gstrtponvifmetapay but can not find that with gst-inspect. I’m using gstreamer in windows.
That plugin is not actually part of the GStreamer repository and what you found there is some other branch.
For ONVIF there’s rtponvifmetadatapay (from gst-plugins-rs), but that uses the ONVIF metadata RTP mapping. That uses VND.ONVIF.METADATA as encoding-name. Yours is just using METADATA, so no idea what that actually is.
What we’ve been doing on our side is to use GstAnalyticMeta (1.24+) to store the results of our analytic onto GstBuffers. Then we had to implement a converter from/to ONVIF Metadata (WIP https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1464). From there, we’ve been able to convert and payload easily, and been able to reused the generic elements form the ONNX plugin. There is more new up-coming GStreamer feature used, but you can find this demo here if that is of anyone interest (careful, demo code).