rtsptransport: add more profiles

Add support for Feedback profiles
This commit is contained in:
Wim Taymans 2013-12-26 17:41:00 +01:00
parent f8e3a25415
commit 01c7fb11ba
2 changed files with 9 additions and 3 deletions

View file

@ -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}
};

View file

@ -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;
/**