mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
f766b85b96
Add a source-info property that will read/write meta to the buffers about RTP source information. The GstRTPSourceMeta can be used to transport information about the origin of a buffer, e.g. the sources that is included in a mixed audio buffer. A new function gst_rtp_base_payload_allocate_output_buffer() is added for payloaders to use to allocate the output RTP buffer with the correct number of CSRCs according to the meta and fill it. RTPSourceMeta does not make sense on RTP buffers since the information is in the RTP header. So the payloader will strip the meta from the output buffer. https://bugzilla.gnome.org/show_bug.cgi?id=761947
36 lines
1.3 KiB
C
36 lines
1.3 KiB
C
/* GStreamer
|
|
* Copyright (C) 2012 GStreamer developers
|
|
*
|
|
* gstrtp.h: single include header for gst-rtp library
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Library General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Library General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
* Boston, MA 02110-1301, USA.
|
|
*/
|
|
|
|
#ifndef __GST_RTP_H__
|
|
#define __GST_RTP_H__
|
|
|
|
#include <gst/rtp/gstrtpdefs.h>
|
|
#include <gst/rtp/gstrtpbuffer.h>
|
|
#include <gst/rtp/gstrtcpbuffer.h>
|
|
#include <gst/rtp/gstrtppayloads.h>
|
|
#include <gst/rtp/gstrtphdrext.h>
|
|
#include <gst/rtp/gstrtpbaseaudiopayload.h>
|
|
#include <gst/rtp/gstrtpbasepayload.h>
|
|
#include <gst/rtp/gstrtpbasedepayload.h>
|
|
#include <gst/rtp/gstrtpmeta.h>
|
|
#include <gst/rtp/gstrtp-enumtypes.h>
|
|
|
|
#endif /* __GST_RTP_H__ */
|