rtsp-server: Add support for buffer lists
authorSebastian Dröge <sebastian@centricular.com>
Wed, 27 Jun 2018 10:17:07 +0000 (12:17 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 30 Jan 2019 12:39:50 +0000 (14:39 +0200)
commitd708f9736b550d69f30277592d99b287c152001a
tree21f44fc2417d5130938ee293c60df80c4c5d17c1
parent621e140a8efd081a243c732940d886cb363a1399
rtsp-server: Add support for buffer lists

This adds new functions for passing buffer lists through the different
layers without breaking API/ABI, and enables the appsink to actually
provide buffer lists.

This should already reduce CPU usage and potentially context switches a
bit by passing a whole buffer list from the appsink instead of
individual buffers. As a next step it would be necessary to
  a) Add support for a vector of data for the GstRTSPMessage body
  b) Add support for sending multiple messages at once to the
    GstRTSPWatch and let it be handled internally
  c) Adding API to GOutputStream that works like writev()

Fixes https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/29
docs/libs/gst-rtsp-server-sections.txt
gst/rtsp-server/rtsp-client.c
gst/rtsp-server/rtsp-media.c
gst/rtsp-server/rtsp-stream-transport.c
gst/rtsp-server/rtsp-stream-transport.h
gst/rtsp-server/rtsp-stream.c
gst/rtsp-sink/gstrtspclientsink.c