Using gst_rtp_buffer_map

johnwesting john.blank.westing at gmail.com
Wed Aug 26 15:08:33 PDT 2015


The problem was that I was using GST_MAP_READ when I should have been using
GST_MAP_WRITE. I'll leave this post up, maybe the example I provided will
help someone else.

The corrected code is:

  GstRTPBuffer rtp_buffer = GST_RTP_BUFFER_INIT;

  buffer = gst_rtp_buffer_new_allocate(500, 0, 0);

  gst_rtp_buffer_map(buffer, GST_MAP_WRITE, &rtp_buffer); 

Thanks,
John



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Using-gst-rtp-buffer-map-tp4673356p4673358.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list