<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 29 oct. 2019 09 h 55, surprised <<a href="mailto:1028554060@qq.com">1028554060@qq.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Hi,gstreamers.<br>
I encode the YUV data via omxh265enc,and send the H265 bitstreams to a<br>
host in the LAN via rtph265pay and udpsink. In the receiver, I can receive<br>
data via udpsrc and rtph265depay. For some purpose, I need to konw the rtp<br>
packages ID,which identifying which frames the rtp package belongs to. (By<br>
the way, does each rtp package contains exactly just one frame of picture?)<br>
In another word,how can I obtain the rtp package ID from the pipeline(If the<br>
rtp packages have no their own ID numbers, is there some way to append ID to<br>
the rtp packages)? <br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">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).</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div></div></div>