On Fr, 2016-05-06 at 10:39 -0700, Jek_point wrote:
> buf = gst_rtcp_buffer_new_copy_data(pipeline, 500);
> gst_rtcp_buffer_map(buf, GstMapFlags::GST_MAP_FLAG_LAST, rtcp)
That's not how this works and you should've gotten various compiler
warnings or even errors when trying to compile this.
You need to get the data of an actual RTCP packet and pass it in there,
and also use the correct mapping flags for mapping the buffer later
then to read its content.
You can find example usage of the GstRTCPBuffer API in the rtpmanager
element here:
https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtpmanagerWhat are you trying to do exactly, why do you want to get an RTCP
packet and in which pipeline?
--
Sebastian Dröge, Centricular Ltd ·
http://www.centricular.com_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel