From: Wim Taymans Date: Thu, 26 Dec 2013 16:41:00 +0000 (+0100) Subject: rtsptransport: add more profiles X-Git-Tag: 1.3.1~293 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01c7fb11ba17bd70bd00ab5c2db6639ea9da3458;p=platform%2Fupstream%2Fgst-plugins-base.git rtsptransport: add more profiles Add support for Feedback profiles --- diff --git a/gst-libs/gst/rtsp/gstrtsptransport.c b/gst-libs/gst/rtsp/gstrtsptransport.c index e5d8f26..2dd3331 100644 --- a/gst-libs/gst/rtsp/gstrtsptransport.c +++ b/gst-libs/gst/rtsp/gstrtsptransport.c @@ -97,6 +97,8 @@ typedef struct static const RTSPProfileMap profiles[] = { {"avp", GST_RTSP_PROFILE_AVP}, {"savp", GST_RTSP_PROFILE_SAVP}, + {"avpf", GST_RTSP_PROFILE_AVPF}, + {"savpf", GST_RTSP_PROFILE_SAVPF}, {NULL, GST_RTSP_PROFILE_UNKNOWN} }; diff --git a/gst-libs/gst/rtsp/gstrtsptransport.h b/gst-libs/gst/rtsp/gstrtsptransport.h index 014b9b9..6855d7d 100644 --- a/gst-libs/gst/rtsp/gstrtsptransport.h +++ b/gst-libs/gst/rtsp/gstrtsptransport.h @@ -65,15 +65,19 @@ typedef enum { /** * GstRTSPProfile: * @GST_RTSP_PROFILE_UNKNOWN: invalid profile - * @GST_RTSP_PROFILE_AVP: the Audio/Visual profile - * @GST_RTSP_PROFILE_SAVP: the secure Audio/Visual profile + * @GST_RTSP_PROFILE_AVP: the Audio/Visual profile (RFC 3551) + * @GST_RTSP_PROFILE_SAVP: the secure Audio/Visual profile (RFC 3711) + * @GST_RTSP_PROFILE_AVPF: the Audio/Visual profile with feedback (RFC 4585) + * @GST_RTSP_PROFILE_SAVPF: the secure Audio/Visual profile with feedback (RFC 5124) * * The transfer profile to use. */ typedef enum { GST_RTSP_PROFILE_UNKNOWN = 0, GST_RTSP_PROFILE_AVP = (1 << 0), - GST_RTSP_PROFILE_SAVP = (1 << 1) + GST_RTSP_PROFILE_SAVP = (1 << 1), + GST_RTSP_PROFILE_AVPF = (1 << 2), + GST_RTSP_PROFILE_SAVPF = (1 << 3), } GstRTSPProfile; /**