summaryrefslogtreecommitdiffstats
path: root/gst/rtsp/rtspdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtsp/rtspdefs.h')
-rw-r--r--gst/rtsp/rtspdefs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gst/rtsp/rtspdefs.h b/gst/rtsp/rtspdefs.h
index 43436188..f72a9a65 100644
--- a/gst/rtsp/rtspdefs.h
+++ b/gst/rtsp/rtspdefs.h
@@ -99,6 +99,16 @@ typedef enum {
RTSP_TEARDOWN = (1 << 10),
} RTSPMethod;
+/* Authentication methods, ordered by strength */
+typedef enum {
+ RTSP_AUTH_NONE = 0x00,
+ RTSP_AUTH_BASIC = 0x01,
+ RTSP_AUTH_DIGEST = 0x02
+} RTSPAuthMethod;
+
+/* Strongest available authentication method */
+#define RTSP_AUTH_MAX RTSP_AUTH_DIGEST
+
typedef enum {
RTSP_HDR_INVALID,