adding metadata per packet in gstreamer pipeline

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

adding metadata per packet in gstreamer pipeline

msemsar
Hi there,
I want to send some metadata with each rtp packet (e.g. putting them in rtp extension or elsewhere) and then stream the packets using live555.
As I noticed live555 does not support sending rtp extension, so is there any other way to send such metadata in GStreamer else than using rtp header extension?
thanks,

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: adding metadata per packet in gstreamer pipeline

Sebastian Dröge-3
On Thu, 2016-12-08 at 16:59 -0500, mehdi semsarzadeh wrote:
> Hi there,
> I want to send some metadata with each rtp packet (e.g. putting them
> in rtp extension or elsewhere) and then stream the packets using
> live555.
> As I noticed live555 does not support sending rtp extension, so is
> there any other way to send such metadata in GStreamer else than
> using rtp header extension?

The only way to have additional metadata in RTP packets is via header
extensions. If that's not supported by live555, you either have to
switch away from it, add support for that, or create a non-standard
codec mapping (and implement that in live555 and GStreamer) that
contains your metadata inside the packet's payload.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (981 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: adding metadata per packet in gstreamer pipeline

Tim Müller
In reply to this post by msemsar
On Thu, 2016-12-08 at 16:59 -0500, mehdi semsarzadeh wrote:

Hi,

> I want to send some metadata with each rtp packet (e.g. putting them
> in rtp extension or elsewhere) and then stream the packets using
> live555.
> As I noticed live555 does not support sending rtp extension, so is
> there any other way to send such metadata in GStreamer else than
> using rtp header extension?

Not exactly what you're looking for, but there's the possibility to
send a separate metadata stream in KLV format. You could just send a
metadata packet for each packet on the klv stream and then match things
up again later. All depends a bit what you want to do exactly of
course.

Cheers
 -Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel