mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
rtsptransport: add more profiles
Add support for Feedback profiles
This commit is contained in:
parent
f8e3a25415
commit
01c7fb11ba
2 changed files with 9 additions and 3 deletions
|
@ -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}
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue