Problem with format for rtph264depay [SOLVED]

Nicolas Dufresne nicolas at ndufresne.ca
Sun Mar 19 00:28:05 UTC 2017


Le samedi 18 mars 2017 à 14:12 -0700, stfl a écrit :
> ok it seems really like it has something to do with the rtp header:
> 
> having a look at gstrtpbuffer.c
> 
> 
> I got it to work now.. on the render function in the sctpsink I took
> the
> GstBuffer and just sent it out to the socket..
> I managed to make it work with using the proper mapping..
> 
> gst_buffer_map (buffer, &map, GST_MAP_READ);
> and map.data
> 
> not really well documented to be honest... or did I miss that
> somewhere in
> the doc?.....

High level concept of GstBuffer containing GstMemory (for application
writers)
https://gstreamer.freedesktop.org/documentation/application-development/basics/data.html#buffers

The Plugin Writer explanation (with examples):
https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/allocation.html#memory-allocation

A tutorial that map GstBuffer:
https://gstreamer.freedesktop.org/documentation/tutorials/basic/short-cutting-the-pipeline.html

The reference documentation for GstBuffer:
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBuffer.html

The reference documentation for GstMemory:
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstMemory.html

And that without listing the countless existing example code through
all the similar plugins, notably udpsink, tcpsink etc.

regards,
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170318/6c75a50b/attachment.sig>


More information about the gstreamer-devel mailing list