rtcpbuffer: Add feedback message types from RFC 5104
authorOlivier CrĂȘte <olivier.crete@collabora.com>
Tue, 30 Aug 2011 22:27:09 +0000 (18:27 -0400)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 14 Nov 2011 11:24:16 +0000 (12:24 +0100)
These are Codec Control messages (CCM)

https://bugzilla.gnome.org/show_bug.cgi?id=658419

gst-libs/gst/rtp/gstrtcpbuffer.h

index 6f57fad..aec9232 100644 (file)
@@ -63,10 +63,17 @@ typedef enum
  * GstRTCPFBType:
  * @GST_RTCP_FB_TYPE_INVALID: Invalid type
  * @GST_RTCP_RTPFB_TYPE_NACK: Generic NACK
+ * @GST_RTCP_RTPFB_TYPE_TMMBR: Temporary Maximum Media Stream Bit Rate Request
+ * @GST_RTCP_RTPFB_TYPE_TMMBN: Temporary Maximum Media Stream Bit Rate
+ *    Notification
  * @GST_RTCP_PSFB_TYPE_PLI: Picture Loss Indication
  * @GST_RTCP_PSFB_TYPE_SLI: Slice Loss Indication
  * @GST_RTCP_PSFB_TYPE_RPSI: Reference Picture Selection Indication
  * @GST_RTCP_PSFB_TYPE_AFB: Application layer Feedback
+ * @GST_RTCP_PSFB_TYPE_FIR: Full Intra Request Command
+ * @GST_RTCP_PSFB_TYPE_TSTR: Temporal-Spatial Trade-off Request
+ * @GST_RTCP_PSFB_TYPE_TSTN: Temporal-Spatial Trade-off Notification
+ * @GST_RTCP_PSFB_TYPE_VBCN: Video Back Channel Message
  *
  * Different types of feedback messages.
  *
@@ -78,11 +85,19 @@ typedef enum
   GST_RTCP_FB_TYPE_INVALID    = 0,
   /* RTPFB types */
   GST_RTCP_RTPFB_TYPE_NACK    = 1,
+  /* RTPFB types assigned in RFC 5104 */
+  GST_RTCP_RTPFB_TYPE_TMMBR   = 3,
+  GST_RTCP_RTPFB_TYPE_TMMBN   = 4,
   /* PSFB types */
   GST_RTCP_PSFB_TYPE_PLI      = 1,
   GST_RTCP_PSFB_TYPE_SLI      = 2,
   GST_RTCP_PSFB_TYPE_RPSI     = 3,
-  GST_RTCP_PSFB_TYPE_AFB      = 15
+  GST_RTCP_PSFB_TYPE_AFB      = 15,
+  /* PSFB types assigned in RFC 5104 */
+  GST_RTCP_PSFB_TYPE_FIR      = 4,
+  GST_RTCP_PSFB_TYPE_TSTR     = 5,
+  GST_RTCP_PSFB_TYPE_TSTN     = 6,
+  GST_RTCP_PSFB_TYPE_VBCN     = 7,
 } GstRTCPFBType;
 
 /**