From 01c7fb11ba17bd70bd00ab5c2db6639ea9da3458 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 26 Dec 2013 17:41:00 +0100 Subject: [PATCH] rtsptransport: add more profiles Add support for Feedback profiles --- gst-libs/gst/rtsp/gstrtsptransport.c | 2 ++ gst-libs/gst/rtsp/gstrtsptransport.h | 10 +++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) 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; /** -- 2.7.4