rtsptransport: add more profiles
Add support for Feedback profiles
This commit is contained in:
parent
f8e3a25415
commit
01c7fb11ba
@ -97,6 +97,8 @@ typedef struct
|
|||||||
static const RTSPProfileMap profiles[] = {
|
static const RTSPProfileMap profiles[] = {
|
||||||
{"avp", GST_RTSP_PROFILE_AVP},
|
{"avp", GST_RTSP_PROFILE_AVP},
|
||||||
{"savp", GST_RTSP_PROFILE_SAVP},
|
{"savp", GST_RTSP_PROFILE_SAVP},
|
||||||
|
{"avpf", GST_RTSP_PROFILE_AVPF},
|
||||||
|
{"savpf", GST_RTSP_PROFILE_SAVPF},
|
||||||
{NULL, GST_RTSP_PROFILE_UNKNOWN}
|
{NULL, GST_RTSP_PROFILE_UNKNOWN}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -65,15 +65,19 @@ typedef enum {
|
|||||||
/**
|
/**
|
||||||
* GstRTSPProfile:
|
* GstRTSPProfile:
|
||||||
* @GST_RTSP_PROFILE_UNKNOWN: invalid profile
|
* @GST_RTSP_PROFILE_UNKNOWN: invalid profile
|
||||||
* @GST_RTSP_PROFILE_AVP: the Audio/Visual profile
|
* @GST_RTSP_PROFILE_AVP: the Audio/Visual profile (RFC 3551)
|
||||||
* @GST_RTSP_PROFILE_SAVP: the secure Audio/Visual profile
|
* @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.
|
* The transfer profile to use.
|
||||||
*/
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
GST_RTSP_PROFILE_UNKNOWN = 0,
|
GST_RTSP_PROFILE_UNKNOWN = 0,
|
||||||
GST_RTSP_PROFILE_AVP = (1 << 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;
|
} GstRTSPProfile;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user