mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
rtcpbuffer: Add XR type
RTCP XR provides supplements information of the report blocks from SR and RR. This patch is for downgrading warnings when XR is detected before implementing entire block types of RFC3611. https://bugzilla.gnome.org/show_bug.cgi?id=789743
This commit is contained in:
parent
d100180ce3
commit
33709106e9
2 changed files with 6 additions and 1 deletions
|
@ -546,6 +546,9 @@ gst_rtcp_buffer_add_packet (GstRTCPBuffer * rtcp, GstRTCPType type,
|
|||
case GST_RTCP_TYPE_PSFB:
|
||||
len = 12;
|
||||
break;
|
||||
case GST_RTCP_TYPE_XR:
|
||||
len = 4;
|
||||
break;
|
||||
default:
|
||||
goto unknown_type;
|
||||
}
|
||||
|
|
|
@ -44,6 +44,7 @@ G_BEGIN_DECLS
|
|||
* @GST_RTCP_TYPE_APP: Application defined
|
||||
* @GST_RTCP_TYPE_RTPFB: Transport layer feedback.
|
||||
* @GST_RTCP_TYPE_PSFB: Payload-specific feedback.
|
||||
* @GST_RTCP_TYPE_XR: Extended report.
|
||||
*
|
||||
* Different RTCP packet types.
|
||||
*/
|
||||
|
@ -56,7 +57,8 @@ typedef enum
|
|||
GST_RTCP_TYPE_BYE = 203,
|
||||
GST_RTCP_TYPE_APP = 204,
|
||||
GST_RTCP_TYPE_RTPFB = 205,
|
||||
GST_RTCP_TYPE_PSFB = 206
|
||||
GST_RTCP_TYPE_PSFB = 206,
|
||||
GST_RTCP_TYPE_XR = 207
|
||||
} GstRTCPType;
|
||||
|
||||
/* FIXME 2.0: backwards compatibility define for enum typo */
|
||||
|
|
Loading…
Reference in a new issue