How to obatin the rtp package ID in the pipeline?

Nicolas Dufresne nicolas at ndufresne.ca
Fri Nov 1 15:46:07 UTC 2019


Le mar. 29 oct. 2019 09 h 55, surprised <1028554060 at qq.com> a écrit :

>    Hi,gstreamers.
>    I encode the YUV data via omxh265enc,and send the H265 bitstreams to a
> host in the LAN via rtph265pay and udpsink. In the receiver, I can receive
> data via udpsrc and rtph265depay. For some purpose, I need to konw the rtp
> packages ID,which identifying which frames the rtp package belongs to. (By
> the way, does each rtp package contains exactly just one frame of picture?)
> In another word,how can I obtain the rtp package ID from the pipeline(If
> the
> rtp packages have no their own ID numbers, is there some way to append ID
> to
> the rtp packages)?
>

Did you mean RTP packet ? Each packet in RTP have a 16bit RTP seqnum and
32bit rtptime. You may expect all packets from the same frame to share the
same timestamp. Read the associated RFC for more details. GStreamer do
provide APIs to ease the read and write of RTP packets (GstRtpBuffer iirc).


>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191101/37211c76/attachment.html>


More information about the gstreamer-devel mailing list