summaryrefslogtreecommitdiff
path: root/gst-libs/gst/rtp/gstrtcpbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/rtp/gstrtcpbuffer.h')
-rw-r--r--gst-libs/gst/rtp/gstrtcpbuffer.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gst-libs/gst/rtp/gstrtcpbuffer.h b/gst-libs/gst/rtp/gstrtcpbuffer.h
index 47378cfe3..328ecddd8 100644
--- a/gst-libs/gst/rtp/gstrtcpbuffer.h
+++ b/gst-libs/gst/rtp/gstrtcpbuffer.h
@@ -168,6 +168,15 @@ typedef enum
* Mask for version, padding bit and packet type pair
*/
#define GST_RTCP_VALID_MASK (0xc000 | 0x2000 | 0xfe)
+
+/**
+ * GST_RTCP_REDUCED_SIZE_VALID_MASK:
+ *
+ * Mask for version, padding bit and packet type pair allowing reduced size
+ * packets, basically it accepts other types than RR and SR
+ */
+#define GST_RTCP_REDUCED_SIZE_VALID_MASK (0xc000 | 0x2000 | 0xf8)
+
/**
* GST_RTCP_VALID_VALUE:
*
@@ -218,6 +227,10 @@ GstBuffer* gst_rtcp_buffer_new_copy_data (gpointer data, guint len);
gboolean gst_rtcp_buffer_validate_data (guint8 *data, guint len);
gboolean gst_rtcp_buffer_validate (GstBuffer *buffer);
+gboolean gst_rtcp_buffer_validate_data_reduced (guint8 *data, guint len);
+gboolean gst_rtcp_buffer_validate_reduced (GstBuffer *buffer);
+
+
GstBuffer* gst_rtcp_buffer_new (guint mtu);
gboolean gst_rtcp_buffer_map (GstBuffer *buffer, GstMapFlags flags, GstRTCPBuffer *rtcp);